Spring crashes but the host keeps the battle running

Spring crashes but the host keeps the battle running

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Spring crashes but the host keeps the battle running

Post by Forboding Angel »

Is there anything that can be done about this? Basically, for whatever reason I'll see servers that are stuck running for like 12 hours. I switched the process as was recommended, so the plus side is now !exit finally works to make them stop, but why don't they stop on their own? Spads seems to be quite aware that spring crashed, but it still doesn't end the spring process.
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: Spring crashes but the host keeps the battle running

Post by bibim »

There are several types of Spring server crashes, can you provide the relevant parts of following logs to help investigate:
- stdout
- spads.log
- spring-dedicated.log
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Spring crashes but the host keeps the battle running

Post by Forboding Angel »

Relevant portion of spads.log

Code: Select all

20160917004617 - ERROR    - [SPADS] Spring crashed (running time: 12 hours, 7 minutes and 41 seconds, exit code: 137)
20160917004617 - INFO     - [SPADS] Game data report cancelled, game too short
20160917010219 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/preferences.dat" dumped
20160917010219 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/mapHashes.dat" dumped
20160917010219 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/userData.dat" dumped
20160917020220 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/preferences.dat" dumped
20160917020220 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/mapHashes.dat" dumped
20160917020220 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/userData.dat" dumped
20160917023358 - WARNING  - [SPADS] TrueSkill service unavailable!
20160917024722 - NOTICE   - [SPADS] TrueSkill service available
20160917030221 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/preferences.dat" dumped
20160917030221 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/mapHashes.dat" dumped
20160917030221 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/userData.dat" dumped
20160917040222 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/preferences.dat" dumped
20160917040222 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/mapHashes.dat" dumped
20160917040222 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/userData.dat" dumped
20160917050223 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/preferences.dat" dumped
20160917050223 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/mapHashes.dat" dumped
20160917050223 - INFO     - [SPADS] File "C:/Users/Public/Documents/spads/var/userData.dat" dumped
20160917052009 - NOTICE   - [SPADS] <CountDown> preGameCheck: CountDown=HASH(0x4cb4244), 1,1,0
20160917052009 - NOTICE   - [SPADS] <CountDown> preGameCheck: CountDown=HASH(0x4cb4244), 1,0,0
20160917052024 - NOTICE   - [SPADS] <CountDown> preGameCheck: CountDown=HASH(0x4cb4244), 1,0,0
20160917052024 - INFO     - [SPADS] Spring server started
20160917052054 - INFO     - [SPADS] Spring server shutting down (running time: 30 seconds)...
20160917052056 - WARNING  - [SPADS] Demo file name and game ID missing in STARTPLAYING message, using fallback method (log parsing)
20160917052056 - INFO     - [SPADS] Executing end game command (pid -7984)
20160917052056 - INFO     - [SPADS] Game data report cancelled, game too short
20160917052056 - INFO     - [SPADS] End game command finished (pid: -7984, execution time: 0 second, return code: 5)
20160917052056 - WARNING  - [SPADS] End game commmand exited with non-null return code (5)

Spring-dedicated.log
http://paste.springfiles.com/view/30de115e
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: Spring crashes but the host keeps the battle running

Post by bibim »

Forboding Angel wrote:Is there anything that can be done about this? Basically, for whatever reason I'll see servers that are stuck running for like 12 hours. I switched the process as was recommended, so the plus side is now !exit finally works to make them stop, but why don't they stop on their own? Spads seems to be quite aware that spring crashed, but it still doesn't end the spring process.
What makes you think that SPADS is aware that Spring server has crashed before you stop it manually?
Post Reply

Return to “SPADS AutoHost”