SRCDS Steam group


Gentoo linux issues,
#1
Hello,

Im guessing that im having a bit of a problem with my os. the hardware is pretty much high-end. Dual xeons @ 3.0GHZ, 2gb RAM. My guess is that this box can hold up to 3 32 man CSS servers running at 100 tickrate with no problems. I might be exagerating but correct me if im wrong. Last night i installed srcds and run a 32 man public server. As soon as I get 20+ players I get TR loss, from 100 it goes down to 10!. I check the cpu usage during this time and I see the cpu is up to more than 90% usage. Any help would be much appreciated since im stuck and dont know what to do.


iha81@gamez ~/srcds $ uname -a
Linux gamez 2.6.16.16 #1 SMP 686 Intel® Xeon™ CPU 3.00GHz GNU/Linux

uname -o --version
uname (GNU coreutils) 5.94

Any other info about hardware plz let me know.

Reply
#2
i guess the next question is what are your rates set at and what is your upload speed?
Reply
#3
sv_maxrate 0
sv_minrate 0
sv_maxupdaterate 100
sv_minupdaterate 66

i have eventscripts "ace_rates" setup to force users to have a maxrate of 25000

The server is using gento i686
Reply
#4
your upload speed?
Reply
#5
100mb
Reply
#6
lower the tickrate to 66 and see if that helps the processor usage. i take it that this is a dedicated server rental/colo? i would also try to set the rates in the server.cfg (yes i know you have eventscripts that do this but you want to take all other factors out of the picture)

there is a BIG diff between 33 and 66 tick but not so much between 66 and 100, also valve has said that the engine may act funny on servers that run 100tic and have more than 16-18 slots. i have it bookmarked somewhere but can't find the link right now.
Reply
#7
I have set the following settings.

sv_maxrate 25000
sv_minrate 10000
sv_maxupdaterate 66
sv_minupdaterate 66

And I have setup the server to 66 TR. It has become a bit more stable and can hold a few more slots. The thing is now the users sometimes just "appear" infront of you. If you were shooting someone in the back he suddenly turns and you are dead, Its like the matrix. This happens at random times. I have read on the steamforums that there is a common problem after the last steam update 9/6 or some other date im not sure of. Some ppl are saying the rolled back the updates or running on backed up server files. Is it possible to this anymore ? If so, how ?
Reply
#8
i would try setting the minupdate rate to 30, reasoning for this is not all clients can hold the 66 updaterate and that may be the cause for some of your lag. 30min and 66max won't affect you as a player that much.

also i know you said you have 100Mb port on your server, is this a rented dedicated box and not at home? just making sure.

also what is your startup line and output of stats at the console.
Reply
#9
its co-located and dedicated just for my box.
Reply
#10
copy the output of the commands:

top
ps aux

need to see what else you got running on this.

also stats from within the game console, need to figure out what kind of fps your server is running.
Reply
#11
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1464 516 ? S Jul05 0:00 init [3]
root 2 0.0 0.0 0 0 ? S Jul05 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN Jul05 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S Jul05 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S Jul05 0:00 [migration/1]
root 6 0.0 0.0 0 0 ? SN Jul05 0:00 [ksoftirqd/1]
root 7 0.0 0.0 0 0 ? S Jul05 0:00 [watchdog/1]
root 8 0.0 0.0 0 0 ? S< Jul05 0:00 [events/0]
root 9 0.0 0.0 0 0 ? S< Jul05 0:00 [events/1]
root 10 0.0 0.0 0 0 ? S< Jul05 0:00 [khelper]
root 11 0.0 0.0 0 0 ? S< Jul05 0:00 [kthread]
root 14 0.0 0.0 0 0 ? S< Jul05 0:00 [kblockd/0]
root 15 0.0 0.0 0 0 ? S< Jul05 0:00 [kblockd/1]
root 94 0.0 0.0 0 0 ? S Jul05 0:00 [pdflush]
root 95 0.0 0.0 0 0 ? S Jul05 0:00 [pdflush]
root 97 0.0 0.0 0 0 ? S< Jul05 0:00 [aio/0]
root 96 0.0 0.0 0 0 ? S Jul05 0:00 [kswapd0]
root 98 0.0 0.0 0 0 ? S< Jul05 0:00 [aio/1]
root 169 0.0 0.0 0 0 ? S< Jul05 0:00 [kseriod]
root 194 0.0 0.0 0 0 ? S< Jul05 0:00 [scsi_eh_0]
root 200 0.0 0.0 0 0 ? S< Jul05 0:00 [ata/0]
root 201 0.0 0.0 0 0 ? S< Jul05 0:00 [ata/1]
root 212 0.0 0.0 0 0 ? S< Jul05 0:00 [kpsmoused]
root 219 0.0 0.0 0 0 ? S Jul05 0:00 [kirqd]
root 220 0.0 0.0 0 0 ? S Jul05 0:01 [kjournald]
root 338 0.0 0.0 1684 516 ? S<s Jul05 0:00 /sbin/udevd --daemon
root 3627 0.0 0.0 0 0 ? S Jul05 0:00 [kjournald]
root 4463 0.0 0.0 1496 588 ? Ss Jul05 0:00 /usr/sbin/syslogd -m 0
root 4466 0.0 0.0 2316 1348 ? Ss Jul05 0:00 /usr/sbin/klogd -c 3 -2
root 4981 0.0 0.0 1476 340 ? Ss Jul05 0:00 /usr/bin/svscan /service
root 4991 0.0 0.0 1316 296 ? S Jul05 0:00 supervise qmail-send
root 4992 0.0 0.0 1316 296 ? S Jul05 0:00 supervise log
root 4993 0.0 0.0 1316 292 ? S Jul05 0:00 supervise qmail-smtpd
root 4994 0.0 0.0 1312 296 ? S Jul05 0:00 supervise log
qmails 5005 0.0 0.0 1496 388 ? S Jul05 0:00 qmail-send
qmaill 5006 0.0 0.0 1324 296 ? S Jul05 0:00 /usr/bin/multilog t s2500000 n10 /var/log/qmail/qmail-send
qmaill 5007 0.0 0.0 1324 300 ? S Jul05 0:00 /usr/bin/multilog t s2500000 n10 /var/log/qmail/qmail-smtpd
qmaild 5008 0.0 0.0 1520 504 ? S Jul05 0:00 /usr/bin/tcpserver -p -v -R -x /etc/tcprules.d/tcp.qmail-smtp.cdb -
root 5047 0.0 0.0 1460 332 ? S Jul05 0:00 qmail-lspawn ./.maildir/
qmailr 5048 0.0 0.0 1460 324 ? S Jul05 0:00 qmail-rspawn
qmailq 5049 0.0 0.0 1444 332 ? S Jul05 0:00 qmail-clean
root 5075 0.0 0.0 3396 932 ? Ss Jul05 0:00 /usr/sbin/sshd
root 5115 0.0 0.0 1456 380 ? Ss Jul05 0:00 /usr/sbin/uptimed
root 5151 0.0 0.0 1712 664 ? Ss Jul05 0:00 /usr/sbin/cron
root 5168 0.0 0.0 1500 612 tty2 Ss+ Jul05 0:00 /sbin/agetty 38400 tty2 linux
root 5169 0.0 0.0 1500 612 tty3 Ss+ Jul05 0:00 /sbin/agetty 38400 tty3 linux
root 5170 0.0 0.0 1496 608 tty4 Ss+ Jul05 0:00 /sbin/agetty 38400 tty4 linux
root 5175 0.0 0.0 1496 608 tty5 Ss+ Jul05 0:00 /sbin/agetty 38400 tty5 linux
root 5176 0.0 0.0 1500 616 tty6 Ss+ Jul05 0:00 /sbin/agetty 38400 tty6 linux
root 5199 0.0 0.0 1496 608 tty1 Ss+ Jul05 0:00 /sbin/agetty 38400 tty1 linux
root 6203 0.0 0.0 2708 1184 ? Ss Jul05 0:00 SCREEN ./hlds_run -console +ip 168.187.3.12 -port 27045 -game cstri
root 6204 0.0 0.0 2488 1268 pts/3 Ss+ Jul05 0:00 /bin/sh ./hlds_run -console +ip 168.187.3.12 -port 27045 -game cstr
root 6212 6.9 5.0 121368 105316 pts/3 Sl+ Jul05 108:22 ./hlds_i686 -console +ip 168.187.3.12 -port 27045 -game cstrike -in
iha81 9379 0.0 0.0 2708 1200 ? Ss 20:50 0:00 SCREEN ./srcds_run -console -verify_all -game cstrike +ip 168.187.3
iha81 9380 0.0 0.0 2492 1276 pts/0 Ss+ 20:50 0:00 /bin/sh ./srcds_run -console -verify_all -game cstrike +ip 168.187.
iha81 9391 10.5 9.9 291124 206980 pts/0 Sl+ 20:50 17:08 ./srcds_i686 -console -verify_all -game cstrike +ip 168.187.3.12 -p
root 15815 0.0 0.0 6220 1916 ? Ss 22:51 0:00 sshd: iha81 [priv]
iha81 15836 0.0 0.0 6220 1360 ? S 22:51 0:00 sshd: iha81@notty
iha81 15837 0.0 0.0 3064 1044 ? Ss 22:51 0:00 /usr/lib/misc/sftp-server
root 15965 0.0 0.0 6224 1920 ? Ss 22:53 0:00 sshd: iha81 [priv]
iha81 15971 0.0 0.0 6388 1388 ? S 22:53 0:00 sshd: iha81@notty
iha81 15972 0.0 0.0 3068 1088 ? Ss 22:53 0:00 /usr/lib/misc/sftp-server
root 16023 0.0 0.0 6220 1916 ? Ss 22:53 0:00 sshd: iha81 [priv]
root 16033 0.0 0.0 6224 1920 ? Ss 22:53 0:00 sshd: iha81 [priv]
iha81 16044 0.0 0.0 6384 1424 ? S 22:53 0:00 sshd: iha81@notty
iha81 16046 0.0 0.0 6388 1428 ? S 22:53 0:01 sshd: iha81@notty
iha81 16047 0.0 0.0 3056 1084 ? Ss 22:53 0:00 /usr/lib/misc/sftp-server
iha81 16048 0.0 0.0 3056 1084 ? Ss 22:53 0:00 /usr/lib/misc/sftp-server
root 17921 0.0 0.0 6220 1944 ? Ss 23:28 0:00 sshd: jmishal [priv]
jmishal 17927 0.0 0.0 6220 1392 ? S 23:28 0:00 sshd: jmishal@pts/1
jmishal 17928 0.0 0.0 2952 1600 pts/1 Ss 23:28 0:00 -bash
root 17934 0.0 0.0 2164 1008 pts/1 S 23:29 0:00 su
root 17935 0.0 0.0 2688 1620 pts/1 S+ 23:29 0:00 bash
root 17958 0.1 0.0 6224 1936 ? Ss 23:32 0:00 sshd: iha81 [priv]
iha81 17964 0.0 0.0 6224 1408 ? S 23:32 0:00 sshd: iha81@pts/2
iha81 17965 0.0 0.0 2948 1600 pts/2 Ss 23:32 0:00 -bash
iha81 17970 0.0 0.0 2076 872 pts/2 R+ 23:32 0:00 ps aux
Reply
#12
top - 23:34:25 up 1 day, 8:59, 2 users, load average: 0.16, 0.20, 0.16
Tasks: 74 total, 2 running, 72 sleeping, 0 stopped, 0 zombie
Cpu(s): 5.1% us, 1.0% sy, 0.0% ni, 93.9% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2075336k total, 1701084k used, 374252k free, 243244k buffers
Swap: 3911816k total, 0k used, 3911816k free, 964028k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6212 root 15 0 118m 102m 8556 S 10 5.1 108:28.80 hlds_i686
9391 iha81 15 0 284m 202m 12m S 2 10.0 17:11.18 srcds_i686
1 root 16 0 1464 516 452 S 0 0.0 0:00.53 init
2 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1
7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/0
9 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1
10 root 10 -5 0 0 0 S 0 0.0 0:00.02 khelper
11 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread
14 root 10 -5 0 0 0 S 0 0.0 0:00.01 kblockd/0
15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1
94 root 20 0 0 0 0 S 0 0.0 0:00.00 pdflush
95 root 15 0 0 0 0 S 0 0.0 0:00.40 pdflush
97 root 13 -5 0 0 0 S 0 0.0 0:00.00 aio/0
96 root 16 0 0 0 0 S 0 0.0 0:00.00 kswapd0
98 root 13 -5 0 0 0 S 0 0.0 0:00.00 aio/1
169 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod
194 root 11 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
200 root 10 -5 0 0 0 S 0 0.0 0:00.00 ata/0
201 root 11 -5 0 0 0 S 0 0.0 0:00.00 ata/1
212 root 11 -5 0 0 0 S 0 0.0 0:00.00 kpsmoused
219 root 15 0 0 0 0 S 0 0.0 0:00.27 kirqd
220 root 15 0 0 0 0 S 0 0.0 0:01.34 kjournald
338 root 16 -4 1684 516 336 S 0 0.0 0:00.03 udevd
3627 root 21 0 0 0 0 S 0 0.0 0:00.00 kjournald
4463 root 16 0 1496 588 476 S 0 0.0 0:00.23 syslogd
4466 root 15 0 2316 1348 388 S 0 0.1 0:00.04 klogd
4981 root 16 0 1476 340 272 S 0 0.0 0:00.06 svscan
4991 root 16 0 1316 296 244 S 0 0.0 0:00.00 supervise
4992 root 16 0 1316 296 244 S 0 0.0 0:00.00 supervise
4993 root 16 0 1316 292 244 S 0 0.0 0:00.00 supervise
4994 root 16 0 1312 296 244 S 0 0.0 0:00.00 supervise
5005 qmails 16 0 1496 388 304 S 0 0.0 0:00.00 qmail-send
5006 qmaill 18 0 1324 296 244 S 0 0.0 0:00.00 multilog
5007 qmaill 18 0 1324 300 244 S 0 0.0 0:00.01 multilog
5008 qmaild 16 0 1520 504 432 S 0 0.0 0:00.00 tcpserver
5047 root 18 0 1460 332 260 S 0 0.0 0:00.00 qmail-lspawn
5048 qmailr 19 0 1460 324 256 S 0 0.0 0:00.00 qmail-rspawn
5049 qmailq 18 0 1444 332 268 S 0 0.0 0:00.00 qmail-clean
5075 root 16 0 3396 932 652 S 0 0.0 0:00.41 sshd
5115 root 16 0 1456 380 312 S 0 0.0 0:00.00 uptimed
5151 root 16 0 1712 664 544 S 0 0.0 0:00.00 cron
5168 root 17 0 1500 612 528 S 0 0.0 0:00.00 agetty
5169 root 17 0 1500 612 528 S 0 0.0 0:00.00 agetty
5170 root 16 0 1496 608 528 S 0 0.0 0:00.00 agetty
5175 root 16 0 1496 608 528 S 0 0.0 0:00.00 agetty
5176 root 16 0 1500 616 528 S 0 0.0 0:00.00 agetty
5199 root 16 0 1496 608 528 S 0 0.0 0:00.00 agetty
6203 root 16 0 2708 1184 728 S 0 0.1 0:00.30 screen
6204 root 24 0 2488 1268 996 S 0 0.1 0:00.00 hlds_run
9379 iha81 16 0 2708 1200 732 S 0 0.1 0:00.20 screen
9380 iha81 18 0 2492 1276 996 S 0 0.1 0:00.00 srcds_run
15815 root 15 0 6220 1916 1532 S 0 0.1 0:00.03 sshd
15836 iha81 16 0 6220 1360 960 S 0 0.1 0:00.00 sshd
15837 iha81 15 0 3064 1044 800 S 0 0.1 0:00.00 sftp-server
15965 root 15 0 6224 1920 1532 S 0 0.1 0:00.03 sshd
Reply
#13
CPU In Out Uptime Users FPS Players
3.20 5202.27 14152.01 164 3 246.73 2
Reply
#14
I have the srcds running on 15 users now and im running a 32 man 1.6 server which takes about 10% of the load if its on 32 players
Reply
#15
weird i don't see anythign out of the ordinary except for the mail server, do you have any chron jobs running?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)