Dedicated server always at 100%
psyborg at pkg.fr
Fri Mar 17 01:02:36 PST 2006
stupid question, but I'm using a shared dedicated server to play Western
Quake3 (ioq3ded.i386 +set vm_game 0 +set fs_game westernq3 +set
dedicated 0 +set net_port 27960 +exec server.cfg +set ttycon 0 +set
cg_debug 1 +set developer 1) from my hosting provider. I'm not sure all
the parameters are good, but any way the ioq3ded (as q3ded) is always
taking 100% CPU. Even when there's no player on the server. I think its
ok when players are connected but I would like to keep this service
taking few CPU when nobody is connected (the server would do other
clever things the other time).
Is there a simple way to get ioq3ded cpu aware ;-) when nobody is
connected ? I tried with some scripts to send SIGSTOP to the process but
it don't mind, and it's surely a bad thing.
For the moment, I work around my problem by using Xen virtualization...
I pause the virtualized server running q3ded when nobody is connected
and I unpause it when somebody is connecting on 27960 port. This is
working but I would prefer a cleaner way...
Any suggestion ? Is this only a ioq3ded server configuration problem ?
Thank a lot,
More information about the ioquake3