RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
chumly



PostPosted: Tue Dec 26, 2006 4:41 am    Post subject: GC Losing processid? Reply with quote

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.

Thanks!
Chumly
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Tue Dec 26, 2006 1:04 pm    Post subject: Reply with quote

Hi,

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.
Back to top
View user's profile Send private message
chumly



PostPosted: Tue Dec 26, 2006 5:04 pm    Post subject: Reply with quote

Hi Andrew!

( and merry x-mas )

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?

Thanks!
Chumly.
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Tue Dec 26, 2006 5:07 pm    Post subject: Reply with quote

Hey,

Oh so does BFV servers run under Linux? Did not know.

If you start a server, and can click 'stop' in gamecreate and it shuts the server down, the pid tracking is working.

It may be a query failure. Try checking the servers Failure Reports for the reason (Process crash / query failure) the server was restarted.

Let me know which one it is Smile

Merry christmas too!
Back to top
View user's profile Send private message
chumly



PostPosted: Tue Dec 26, 2006 5:38 pm    Post subject: Reply with quote

Hi!

It appears to be a query failure.

Thanks
Chumly




Start GameCreate attempted to start Bears Den. 12/26/2006 00:34:11
Stop GameCreate stopped Bears Den. 12/26/2006 00:05:15
Start GameCreate attempted to start Bears Den. 12/26/2006 00:04:45
Stop GameCreate stopped Bears Den. 12/26/2006 00:04:41
Fail Query Failure 12/26/2006 00:04:37
Start GameCreate attempted to start Bears Den. 12/26/2006 00:02:13
Stop GameCreate stopped Bears Den. 12/26/2006 00:02:11
Fail Query Failure 12/26/2006 00:02:04
Start GameCreate attempted to start Bears Den. 12/25/2006 23:59:42
Stop GameCreate stopped Bears Den. 12/25/2006 23:59:41
Fail Query Failure 12/25/2006 23:59:28
Start GameCreate attempted to start Bears Den. 12/25/2006 23:57:14
Stop GameCreate stopped Bears Den. 12/25/2006 23:56:56
Start GameCreate attempted to start Bears Den. 12/25/2006 23:56:43
Stop GameCreate stopped Bears Den. 12/25/2006 23:56:39
Fail Query Failure 12/25/2006 23:56:27
Start GameCreate attempted to start Bears Den.
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Tue Dec 26, 2006 5:43 pm    Post subject: Reply with quote

Please update to the latest GameCreate Client (Downloads link on the left) and try running the game again.

See if the problem persists.
Back to top
View user's profile Send private message
chumly



PostPosted: Tue Dec 26, 2006 6:16 pm    Post subject: Reply with quote

Hi Andrew,

This appears to be the same version...
Dated Jul 7th / Jul 10th.

Is there a new one?
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Tue Dec 26, 2006 6:33 pm    Post subject: Reply with quote

Your copy should have a multiserv.so file in the gamecreate folder.

Does it exist?

Is your server queryable from say ASE? Turn off queries on the host's configuration tab to test.
Back to top
View user's profile Send private message
chumly



PostPosted: Tue Dec 26, 2006 8:30 pm    Post subject: Reply with quote

multiserv.so 402236bytes, July 10th 16:39

ASE?
I can query the server via HLSW.

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.

Thanks
Chumly
Back to top
View user's profile Send private message
chumly



PostPosted: Tue Dec 26, 2006 9:10 pm    Post subject: Reply with quote

OK,

I can start and stop the server, but it is not working properly... It is not responding to hlsw queries.

However, my first server is working fine. Here is the line I used to get it running...

Code:

SCREEN -mdS bfv ./bfv_linded.static +game bfvietnam +hostserver 1 +dedicated 1 +overlayPath 23000 --port-fix 23000=23125


Now bfv did change that line to add '+restart 1', so that may or may not be a problem for you, but the pid file does contain the correct pid.

Thanks
Chumly
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.