Crash after several hours

UASECO is a fork of the XAseco2/1.03 controller for Trackmania and has been overhauled to support the Modescript Gamemodes of Trackmania².

Moderators: undef.de, NADEO

Post Reply
User avatar
Krill
Posts: 32
Joined: 21 Dec 2015, 19:41

Crash after several hours

Post by Krill »

Hi,
First of all, I'm sorry if my english is bad, I'm French. :?
When I launch my test server, Uaseco works well, but after about 3 hours, it crashes :

Code: Select all

Fatal error: Maximum execution time of 120 seconds exceeded in C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\includes\core\helper.class.php on line 1773

Call Stack:
    0.0025     939272   1. {main}() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:0
    0.3063    3724568   2. UASECO->run() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:2396
16223.2298   22509416   3. UASECO->executeCallbacks() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:352
16223.2303   22513408   4. UASECO->releaseEvent() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:1701
16223.2303   22513504   5. call_user_func:{C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:993}() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:993
16223.2303   22513536   6. PluginModescriptHandler->onModeScriptCallbackArray() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:993
16223.2303   22513952   7. UASECO->endMap() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\plugins\plugin.modescript_handler.php:547
16223.2460   22514032   8. UASECO->releaseEvent() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:2021
16223.3025   22521024   9. call_user_func:{C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:993}() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:993
16223.3025   22521056  10. PluginMusicServer->onEndMap() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\uaseco.php:993
16223.3025   22521192  11. PluginMusicServer->httpHead() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\plugins\plugin.music_server.php:223
16223.4583   22526440  12. get_headers() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\plugins\plugin.music_server.php:1024
16343.5078   22525840  13. Helper->customErrorHandler() C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\plugins\plugin.music_server.php:1024

[PHP Fatal Error] Maximum execution time of 120 seconds exceeded on line 1773 in file C:\Users\Emile\Desktop\Serveur MP test UASECO\UASECO-development\includes\core\helper.class.php
Appuyez sur une touche pour continuer...
I use Uaseco with the script TimeAttack. I don't understand why it crashes... Nobody play on my server at the moment, I use it only for testing Uaseco. If you want to join it : maniaplanet://#join=krilluaseco@TMStadium
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Crash after several hours

Post by undef.de »

It seems that the plugin MusicServer can not access a music file. And the remote server does not answer within the 120 seconds (config/UASECO.xml -> <script_timeout>). Can you try to run your server without that plugin to be sure?

Please PM me your config/music_server.xml for test too (if it isn't the unchanged one).
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
hackie
Posts: 1168
Joined: 19 Jul 2012, 22:43

Re: Crash after several hours

Post by hackie »

My server does not crash but still have some issue's with music server :

Code: Select all

[2016-03-26 16:36:43] [Chat] Player [me] used command "/music 28"
[2016-03-26 16:36:58] [Chat] Player [me] used command "/admin nextmap"
[2016-03-26 16:36:58] [Admin] MasterAdmin [me] skips map!
[2016-03-26 16:36:58] [RaspJukebox] Setting next map to [Dodeshort #71] as requested by [»ρнαήтσм« ツ]
[PHP Warning] get_headers(): This function may only be used against URLs on line 1089 in file F:\MP3-servers\MP3-Veryshort\UASECO-development\plugins\plugin.music_server.php
[2016-03-26 16:36:58] [MusicServer] Could not access remote song [http://maniacdn.net/undef.de/shared/music/Trackmania2-MenuMusic.ogg]!!!
[2016-03-26 16:36:59] [MusicServer] Setting next song to [Trackmania2-Canyon2b.ogg]
[2016-03-26 16:37:18] [Rasp] Calculating ranks for each Player
[2016-03-26 16:37:31] [Map] Changing from Map [Dodeshort #72] to [Dodeshort #71] [Env: 'Stadium', Uid: 'nX62IIWDwUS9bEt_6SGRju_hII1', Id: 1319]
[2016-03-26 16:37:31] [LocalRecords] Currently no record on [Dodeshort #71]
[2016-03-26 16:37:32] [NicknameSync] No update of Nicknames required from Dedimania
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Crash after several hours

Post by undef.de »

Krill wrote:When I launch my test server, Uaseco works well, but after about 3 hours, it crashes :

Code: Select all

Fatal error: Maximum execution time of 120 seconds exceeded [...][/quote]

[quote="hackie"]My server does not crash but still have some issue's with music server :
[PHP Warning] get_headers(): This function may only be used against URLs on line 1089 in file F:\MP3-servers\MP3-Veryshort\UASECO-development\plugins\plugin.music_server.php
[2016-03-26 16:36:58] [MusicServer] Could not access remote song [http://maniacdn.net/undef.de/shared/music/Trackmania2-MenuMusic.ogg]!!!
[/quote]

This problems should be gone with an new async http class i'm currently writing (a replacement of the old "webaccess.class.php").
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Crash after several hours

Post by oliverde8 »

Hi,

for information I have written one for eXpansion that is quite easy to use : https://github.com/oliverde8/PHP-AsynchronousJobs

it doesen't just curl but it can also curl :) So if you are interested.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 1 guest