SRCDS Steam group


High cpu usage
#1
Hi,

My dedicated server on working srcds.But, some srcds engines cpu usage too high this servers players not although.

Hardware or Connection;

Intel Q45 MainBoard
Intel Q6600 Cpu
Kingston 800 Mhz Hyperx Ddr2 Memory 2xkit 8GB
550 Watt OCZ PSU
ASUS NX1101 Ethernet
2x 320 GB Seagate sata2 Hdd
100 mbps up/down metro ethernet.

Operating System or Kernel Version;

CentOS Linux 5.1 i386
2.6.18-53.el5PAE

Server startup command: "screen -A -m -d -S srcds_x ./srcds_run -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 14 -tickrate 100
sleep "1"
echo "Server Starting"

Installed Mods: Mani Admin Plugin 1.2 BetaS,MetaMod 1.4.4,SourceMod 1.2.0,WarMod,zBlock

Top -c Printout:

top - 23:03:16 up 20:26, 2 users, load average: 15.30, 14.18, 11.22
Tasks: 151 total, 11 running, 140 sleeping, 0 stopped, 0 zombie
Cpu(s): 91.8%us, 3.8%sy, 0.0%ni, 2.3%id, 0.0%wa, 0.8%hi, 1.2%si, 0.0%st
Mem: 8206396k total, 7912224k used, 294172k free, 159452k buffers
Swap: 2031608k total, 80k used, 2031528k free, 3264776k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2402 user 15 0 1042m 864m 13m S 58 10.8 375:33.61 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 16 -t
9465 user 15 0 1043m 909m 14m S 53 11.4 125:18.80 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 14 -t
2313 root 16 0 159m 86m 13m R 44 1.1 74:24.62 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
11150 root 15 0 164m 90m 13m S 36 1.1 28:10.73 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 42 -t
2433 user 15 0 542m 386m 14m R 27 4.8 356:33.36 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 12 -t
11955 user 15 0 325m 192m 13m R 27 2.4 3:57.19 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
2488 user 15 0 487m 343m 14m R 26 4.3 357:56.59 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 16 -t
11895 user 15 0 280m 188m 12m R 26 2.4 4:10.24 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
2502 user 15 0 511m 338m 13m R 26 4.2 352:10.48 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 16 -t
11912 user 15 0 279m 187m 12m S 25 2.3 4:05.82 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
11936 user 15 0 390m 296m 13m R 23 3.7 3:52.81 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 14 -t
2217 root 15 0 133m 88m 4508 S 13 1.1 150:33.99 ./hlds_i686 -game cstrike -insecure -nomaster +ip 77.xx.xx.xx +port 27015 +sv_lan 1 +map de_dus
2258 root 15 0 158m 85m 13m R 2 1.1 37:43.00 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
2414 user 15 0 163m 70m 13m R 2 0.9 13:36.39 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
2242 root 15 0 148m 76m 13m R 1 1.0 15:19.32 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
12024 root 15 0 2300 1044 788 R 0 0.0 0:00.02 top -c
1 root 15 0 2044 584 504 S 0 0.0 0:01.14 init [3]
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.10 [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.05 [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 RT 0 0 0 0 S 0 0.0 0:00.01 [migration/2]
9 root 37 19 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/2]
10 root RT 0 0 0 0 S 0 0.0 0:00.00 [watchdog/2]
11 root RT 0 0 0 0 S 0 0.0 0:00.07 [migration/3]
12 root 34 19 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/3]
13 root RT 0 0 0 0 S 0 0.0 0:00.00 [watchdog/3]
14 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/0]
15 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/1]
16 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/2]
17 root 10 -5 0 0 0 S 0 0.0 0:00.01 [events/3]
18 root 10 -5 0 0 0 S 0 0.0 0:00.00 [khelper]
19 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kthread]
25 root 10 -5 0 0 0 S 0 0.0 0:00.01 [kblockd/0]
26 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/1]
27 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/2]
28 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/3]
29 root 16 -5 0 0 0 S 0 0.0 0:00.00 [kacpid]
115 root 16 -5 0 0 0 S 0 0.0 0:00.00 [cqueue/0]
116 root 16 -5 0 0 0 S 0 0.0 0:00.00 [cqueue/1]
117 root 16 -5 0 0 0 S 0 0.0 0:00.00 [cqueue/2]
118 root 16 -5 0 0 0 S 0 0.0 0:00.00 [cqueue/3]
121 root 10 -5 0 0 0 S 0 0.0 0:00.00 [khubd]
123 root 17 -5 0 0 0 S 0 0.0 0:00.00 [kseriod]
199 root 10 -5 0 0 0 S 0 0.0 0:14.80 [kswapd0]
200 root 20 -5 0 0 0 S 0 0.0 0:00.00 [aio/0]
201 root 10 -5 0 0 0 S 0 0.0 0:00.00 [aio/1]
202 root 20 -5 0 0 0 S 0 0.0 0:00.00 [aio/2]
203 root 20 -5 0 0 0 S 0 0.0 0:00.00 [aio/3]
352 root 11 -5 0 0 0 S 0 0.0 0:00.00 [kpsmoused]
403 root 16 -5 0 0 0 S 0 0.0 0:00.00 [ata/0]

Help please.

Best Regards.
Reply
#2
billythekid Wrote:Hi,

My dedicated server on working srcds.But, some srcds engines cpu usage too high this servers players not although.

Hardware or Connection;

Intel Q45 MainBoard
Intel Q6600 Cpu
Kingston 800 Mhz Hyperx Ddr2 Memory 2xkit 8GB
550 Watt OCZ PSU
ASUS NX1101 Ethernet
2x 320 GB Seagate sata2 Hdd
100 mbps up/down metro ethernet.

Operating System or Kernel Version;

CentOS Linux 5.1 i386
2.6.18-53.el5PAE

Server startup command: "screen -A -m -d -S srcds_x ./srcds_run -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 14 -tickrate 100
sleep "1"
echo "Server Starting"

Installed Mods: Mani Admin Plugin 1.2 BetaS,MetaMod 1.4.4,SourceMod 1.2.0,WarMod,zBlock

Top -c Printout:

top - 23:03:16 up 20:26, 2 users, load average: 15.30, 14.18, 11.22
Tasks: 151 total, 11 running, 140 sleeping, 0 stopped, 0 zombie
Cpu(s): 91.8%us, 3.8%sy, 0.0%ni, 2.3%id, 0.0%wa, 0.8%hi, 1.2%si, 0.0%st
Mem: 8206396k total, 7912224k used, 294172k free, 159452k buffers
Swap: 2031608k total, 80k used, 2031528k free, 3264776k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2402 user 15 0 1042m 864m 13m S 58 10.8 375:33.61 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 16 -t
9465 user 15 0 1043m 909m 14m S 53 11.4 125:18.80 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 14 -t
2313 root 16 0 159m 86m 13m R 44 1.1 74:24.62 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
11150 root 15 0 164m 90m 13m S 36 1.1 28:10.73 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 42 -t
2433 user 15 0 542m 386m 14m R 27 4.8 356:33.36 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 12 -t
11955 user 15 0 325m 192m 13m R 27 2.4 3:57.19 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
2488 user 15 0 487m 343m 14m R 26 4.3 357:56.59 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 16 -t
11895 user 15 0 280m 188m 12m R 26 2.4 4:10.24 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
2502 user 15 0 511m 338m 13m R 26 4.2 352:10.48 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 16 -t
11912 user 15 0 279m 187m 12m S 25 2.3 4:05.82 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
11936 user 15 0 390m 296m 13m R 23 3.7 3:52.81 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 14 -t
2217 root 15 0 133m 88m 4508 S 13 1.1 150:33.99 ./hlds_i686 -game cstrike -insecure -nomaster +ip 77.xx.xx.xx +port 27015 +sv_lan 1 +map de_dus
2258 root 15 0 158m 85m 13m R 2 1.1 37:43.00 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
2414 user 15 0 163m 70m 13m R 2 0.9 13:36.39 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
2242 root 15 0 148m 76m 13m R 1 1.0 15:19.32 ./srcds_i686 -console -port 27015 -ip 77.xx.xx.xx -game cstrike +map de_dust2 +maxplayers 22 -t
12024 root 15 0 2300 1044 788 R 0 0.0 0:00.02 top -c
1 root 15 0 2044 584 504 S 0 0.0 0:01.14 init [3]
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.10 [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.05 [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 RT 0 0 0 0 S 0 0.0 0:00.01 [migration/2]
9 root 37 19 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/2]
10 root RT 0 0 0 0 S 0 0.0 0:00.00 [watchdog/2]
11 root RT 0 0 0 0 S 0 0.0 0:00.07 [migration/3]
12 root 34 19 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/3]
13 root RT 0 0 0 0 S 0 0.0 0:00.00 [watchdog/3]
14 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/0]
15 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/1]
16 root 10 -5 0 0 0 S 0 0.0 0:00.00 [events/2]
17 root 10 -5 0 0 0 S 0 0.0 0:00.01 [events/3]
18 root 10 -5 0 0 0 S 0 0.0 0:00.00 [khelper]
19 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kthread]
25 root 10 -5 0 0 0 S 0 0.0 0:00.01 [kblockd/0]
26 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/1]
27 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/2]
28 root 10 -5 0 0 0 S 0 0.0 0:00.00 [kblockd/3]
29 root 16 -5 0 0 0 S 0 0.0 0:00.00 [kacpid]
115 root 16 -5 0 0 0 S 0 0.0 0:00.00 [cqueue/0]
116 root 16 -5 0 0 0 S 0 0.0 0:00.00 [cqueue/1]
117 root 16 -5 0 0 0 S 0 0.0 0:00.00 [cqueue/2]
118 root 16 -5 0 0 0 S 0 0.0 0:00.00 [cqueue/3]
121 root 10 -5 0 0 0 S 0 0.0 0:00.00 [khubd]
123 root 17 -5 0 0 0 S 0 0.0 0:00.00 [kseriod]
199 root 10 -5 0 0 0 S 0 0.0 0:14.80 [kswapd0]
200 root 20 -5 0 0 0 S 0 0.0 0:00.00 [aio/0]
201 root 10 -5 0 0 0 S 0 0.0 0:00.00 [aio/1]
202 root 20 -5 0 0 0 S 0 0.0 0:00.00 [aio/2]
203 root 20 -5 0 0 0 S 0 0.0 0:00.00 [aio/3]
352 root 11 -5 0 0 0 S 0 0.0 0:00.00 [kpsmoused]
403 root 16 -5 0 0 0 S 0 0.0 0:00.00 [ata/0]

Help please.

Best Regards.
Well in source listend server my load was 99% cpu then i downloaded some configs http://www.gaming.dk/download/38 and now my cpu is 0% on vista 2*2,4 Ghz dual centrio 10 players
Reply
#3
You overloaded the box the servers are on. You can't expect a quad core to run 15 servers at the same time. Even if you did proper affinity on the processes, that's still 4 servers on 3 cores and 3 on another.

There's no way to fix an overloaded box like that other than shutting down a bunch of the servers or getting another box to split the load, and even that's a stretch.
Reply
#4
don't run more than 2 servers per core. then try to optimize for stable fps (*not* low cpu usage).
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#5
Not to mention your mixing HDLS with SRCDS servers which can cause issues as well.
*Windows lack of output*
You: Hey, I want to run this program!
Windows: Ok.. It crashed... Now what? Give up?
You:...wtf...
*linux output helpful?*
You: ./My_program
Linux:...Failed!...oo kitties!
You:...wtf...
Reply
#6
afterhoursgaming Wrote:Not to mention your mixing HDLS with SRCDS servers which can cause issues as well.

oh right, I didn't see that. mixing creates huge problems, even with much fewer servers per core.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#7
1 per core would most likely be ideal
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)