Hey Matt,

first off, please turn off the digests unless there is a better reason
to keep them than this reason to deactivate them: it makes it harder for
threaded communication to function. When you reply to a digest, the
"thread" -- all the references to preceding messages and replies
included in e-mails' headers -- becomes broken and people using threaded
views as well as those reading the archives gradually become more and
more hostile toward you. (I tried explaining this to Valve's Mailman
master, but he either didn't receive or ignored or disagreed with my
point, so I gotta do this on a user-by-user basis.)

As for your problem: unless SrcDS forks or crashes and restarts, PID
changes shouldn't happen. (There is no "setpid" system call to
complement "getpid".) Try this:

screen -dmLS CS_SOURCE_PUBLIC ./srcds_run -game cstrike -norestart +map 
de_dust2 +maxplayers 56 -port 27018 -tickrate 33 +fps_max 150

Eventually, your SrcDS will probably crash. When it does, it won't do so that 
silently, and you can always check screenlog.0 (or higher numbers) for what 
exactly happened.

To help Valve fix this, install gdb on the machine and execute srcds_run with the 
"-debug" switch. It should generate a debug.log with a backtrace, which you 
then mail to the address given.

~~ Ondra


On 07.11.07 4:19 Uhr, Matt Ogborne wrote:
--
[ Picked text/plain from multipart/alternative ]
Howdy,

Long time reader, first post, so pls be gentle :-)

Until recently the PID (process ID) for a CS:S server running used to stay
the same, thus using taskset in Linux, we were able to set the process to
run on a specific CPU core.

However recently (about ~3-4weeks ago) the PID randomly changes, as in when
the game server is started its say PID 4223, go back to it a day later and
its then 5823, go back a day later again and its a different PID.

This is kinda of annoying now, as with quad core CPU's coming down in price,
the ability to fix a process (a game server or servers) to specific cores is
very handy indeed.

Any ideas on how to stop it jumping PID's??

BTW: Linux Ver: Ubuntu 6.06 and its run in a screen session.

Kind regards,

Matt AKA Team MX | MoggieX


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to