Posted: Tue Dec 26, 2006 4:41 am Post subject: GC Losing processid?
Hi!
I've got a linux box thats running several css servers. every once in a while I will get a second (duplicate ) server starting up, and GC will no longer be able to stop / restart the service.
How is GC keeping track of the processes?
This problem may also be related to why GC is having problems with BF 1942 / veitnam.
We have no known issues with GC on Windows (at least) with process monitoring in any game.
Linux we don't have that much experience with. BFV does not even run under Linux, so should be working fine in Windows as we know it works.
GameCreate tracks process IDs by starting the server and recording the pid returned.
However, some games use a pidfile (portXXXX.pid) which GameCreate reads to keep track of the process ID, such as BFV, as these games may change PIDs after starting.
What games specifically and OS are having problems?
Remember that you cannot try and start a process such as a CSS auto update (eg, -noupdate needs to be on for Steam servers I believe in linux) otherwise the process Id may change.
I have occasional problems with css.... not very often, but it does duplicate the processes.
As for BFV, it does work ( manual upload and install to the proper directory ) but GC doesn't know the process id, and continually kills and restarts the process. It is killing the right one, but doesn't seem to monitor it... ( killing the process by name? ) It does use a .pid file, and you could monitor that, OR... perhaps for overall compatability of manually installed games, could you allow us to manually input the command line in its entirety. We could use a screen process to start up the server. ( stats wouldn't work, but the rest would... )
What information can I help provide you with that will assist in monitoring the pid files?
I will set up a second server for future tests. When I turn off queries, I expect that you want to know if I can start / stop the server.
I'll set it up, and let you know.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum