Running more than one server


([rD]Skippy) #1

We have been running two servers on the same Linux box without any problems, but I have always thought it was a fluke that it was working. There has to be some setting to tell ET to put all it’s files in another directory, sure those files would be messed up or locked somehow.

In any case, I installed the ET patch on Friday and since then the second server dies after about 1 min. Just does not stay running. We also get the “CL_ParseServerMessage - Read end of server message” error, which then kicks the player. So I installed the old version again, but second server still does not start up.

Any ideas? What’s the correct way to run two servers? And is there a complete list of all the command line and other settings for ET?

Thanks.


(Lekdevil.NL) #2

It’s in the PunkBuster FAQ. If you don’t set up the server as described below, you will most likely experience problems with the PB auto-update process. Here are the relevant bits:

I’m a server admin, is there anything special that needs to be done in order to run multiple game servers with PB from the same server computer?

Yes. Each instance of the game server must have its fs_homepath server cvar set to a distinct location. Fs_homepath can be set on the command line that launches the server and admins should set up a separate directory for each running server instance and make sure the various running servers point to those separate directories. For example, say you have servers A, B and C. You can create the following directories:
/users/whatever/et-a
/users/whatever/et-b
/users/whatever/et-c
Then in your command line for launching server A, add “+set fs_homepath /users/whatever/et-a” to the other parameters you have. Add similar corresponding items to the command lines for servers B and C. By doing the above, the multiple PB servers don’t conflict with each other during updates.


([rD]Skippy) #3

Whoot! Thanks, will try.


(Spookstah) #4

Maybe its even better to use 2 seperated accounts for it, we use 2 accounts and limit the max cpu both of them can use.

When a server crashes (didnt happen yet after patch) it uses most of the time 100% cpu, due to the cpu limit we did set on it, it will automaticly close itselfs so the other server doesnt start 2 lag.


([rD]Skippy) #5

Thanks again. Seems to be working fine.