Page 1 of 1

All ladder servers stop at same time

Posted: 17 May 2011 07:30
by Knutselmaaster
Hello all,

I got this weird thing this morning.
All my (7) servers that are not 0-50k have stopped at the same time (04.29)
The only thing in the logs is "exiting" (consolelog) and "========== Server stopped. ==========" (gamelog)
My (4) 0-50k servers are still running.
How can this be possible?

Re: All ladder servers stop at same time

Posted: 18 May 2011 09:25
by lille79
are all running on the same '.exe'? There are some strange behavior once in a while. Rounds server suddenly stops, same with relays, servers without timelimit(or in rounds) skipping after some time. sorry I can't be of more help

Re: All ladder servers stop at same time

Posted: 18 May 2011 10:47
by Knutselmaaster
They are all running on the same linux machine, but are in different folders, in different processes etc.
They are not linked in any way.
There are TA, Rounds and Cup servers.
My relay stops for no reason sometimes, once every few weeks, but not this time.
It cannot be a coincidence that all my ladder servers stopped exactly at the same time, on the same second even, while all my 0-50k servers kept running.
I never had such a thing, and can't remember reading something similar on this forum neither.
If the connection with the "ladder master server" fails, you get an ingame message "server not registered for the ladder" but the servers do not crash, so that can't be it.
It really is very strange.
All servers are up and running again, without any problem.
Well, it has been about 4 years that i run ladder servers, so if it only happens once per few years it is not really something to worry about, but i'm really very curious to know the cause anyway. :)

Re: All ladder servers stop at same time

Posted: 18 May 2011 11:33
by jamie_macdonald
I have had the same happen to mine a few times, often the ladder ones just timeout after 50 days or so and need reloading (on their own, not in a bunch), but on occasion all of the ladder ones go down together also,

Just incase it affects matters, this only seems to happen on Xaseco servers my end.

It doesn'y happen often enough to worry me (heck they can be rebooted) but i thought i best clarify that the problem appears to not just be with Knutselmaaster

One thing though, and that is i am running old Xaseco versions (1.09-1.10) because of a php issue on my server (not clever enough to update seamlessly) ...So that may eliminate the servers as a "related incident"

:thumbsup:

Re: All ladder servers stop at same time

Posted: 18 May 2011 11:37
by Knutselmaaster
Some are running ManiaLive, some are on Xaseco 1.12

Re: All ladder servers stop at same time

Posted: 18 May 2011 11:38
by jamie_macdonald
Knutselmaaster wrote:Some are running ManiaLive, some are on Xaseco 1.12
I guess the controller is not related then, i do at least keep the server exe/binary updated,

Thanks for clarifying :)

Re: All ladder servers stop at same time

Posted: 18 May 2011 11:41
by Knutselmaaster
Thank you for your information ;)
My servers all run the latest version too.

Re: All ladder servers stop at same time

Posted: 18 May 2011 18:42
by Xymph
There's an internal timer in the dedicated that runs out after 2^32-1 ms, or 49.7 days indeed. So yes, you need to restart them every 45-48 days or so.

Re: All ladder servers stop at same time

Posted: 18 May 2011 19:48
by Knutselmaaster
That i did not know, i usually restart them every few weeks.
But it cannot be related to the shutdown of my ladder servers, as they all stopped on the same second, and i started them one by one (thus not on the same moment).
Plus that my 0-50 servers kept running.

Re: All ladder servers stop at same time

Posted: 18 May 2011 22:01
by w1lla
Assembler Maniac wrote:Unzip http://www.pchotshots.com/amaniac/tmfsvcmgr.zip into your trackmaniaserver.exe directory. You *MUST* use the same directory, otherwise it will NOT work.

nssm.exe is used to actually run the server. (it handles the service calls)

Once you run TMFSvcMgr, you'll see a blank grid. Right click anywhere for the menu.

It should be pretty easy to figure out. After editing an existing server, you'll need to stop/restart to get the changes to take effect.

I'm kinda wiped right now, can some brave person download it and try it out?

Interaction with desktop is turned on at the moment, so you should see the server actually running. I might make this a config option.

Closing the server window (ctrl-break or X) will NOT stop the service - TrackmaniaServer WILL be restarted automatically!

I'll add a readme.txt when I have some time.

[edit] - changed srvany.exe to nssm.exe, made note that killing trackmaniaserver.exe will result in it being restarted.
Original url:

edit:
viewtopic.php?p=157519#p157519

Re: All ladder servers stop at same time

Posted: 18 May 2011 22:33
by Knutselmaaster
What do you mean W1lla?
How does a program to run servers as a windows service help me find why my ladder servers stopped working on my linux machine?

Re: All ladder servers stop at same time

Posted: 18 May 2011 22:40
by w1lla
you may or can run the server with the following command line option

Code: Select all

/verbose_rpc_full (Debug option) Display the whole contents of the xml-rpc requests the dedicated server receives.

Re: All ladder servers stop at same time

Posted: 18 May 2011 22:46
by Knutselmaaster
Well, i doubt that it will happen again, but i will add it to one of my ladderservers.
Thanx for the tip ;)