Hallo liebe User,
ich habe noch nicht so viel Erfahrung mit Linux, aber ich lese viel und "gerne" ;).
Ich habe einen Root wo ich nur Gameserver drauf laufen lasse.
Hardware :
CPU: Athlon64 Dual Core 3800+
RAM: 2048MB
HDD: 80GB
Es sind CS 1.6 Server (6 Stück, hatte leider noch keine Gelegenheit unter voll Last zu testen max. aktive Spieleranzahl war bisher 52 , 5 x 16 + 1 und 1 x 10 + 1 Slot).
Ich möchte gerne wissen welche Dienste ich beenden darf.
ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2636 564 ? S 06:58 0:00 init [2]
root 2 0.0 0.0 0 0 ? S 06:58 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 06:58 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 06:58 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S 06:58 0:00 [migration/1]
root 6 0.0 0.0 0 0 ? SN 06:58 0:00 [ksoftirqd/1]
root 7 0.0 0.0 0 0 ? S 06:58 0:00 [watchdog/1]
root 8 0.0 0.0 0 0 ? S< 06:58 0:00 [events/0]
root 9 0.0 0.0 0 0 ? S< 06:58 0:00 [events/1]
root 10 0.0 0.0 0 0 ? S< 06:58 0:00 [khelper]
root 11 0.0 0.0 0 0 ? S< 06:58 0:00 [kthread]
root 15 0.0 0.0 0 0 ? S< 06:58 0:00 [kblockd/0]
root 16 0.0 0.0 0 0 ? S< 06:58 0:00 [kblockd/1]
root 17 0.0 0.0 0 0 ? S< 06:58 0:00 [kacpid]
root 167 0.0 0.0 0 0 ? S 06:58 0:00 [pdflush]
root 168 0.0 0.0 0 0 ? S 06:58 0:00 [pdflush]
root 170 0.0 0.0 0 0 ? S< 06:58 0:00 [aio/0]
root 171 0.0 0.0 0 0 ? S< 06:58 0:00 [aio/1]
root 169 0.0 0.0 0 0 ? S 06:58 0:00 [kswapd0]
root 763 0.0 0.0 0 0 ? S< 06:58 0:00 [kseriod]
root 1700 0.0 0.0 0 0 ? S< 06:58 0:00 [ata/0]
root 1701 0.0 0.0 0 0 ? S< 06:58 0:00 [ata/1]
root 1702 0.0 0.0 0 0 ? S< 06:58 0:00 [ata_hotplug/0]
root 1704 0.0 0.0 0 0 ? S< 06:58 0:00 [ata_hotplug/1]
root 1709 0.0 0.0 0 0 ? S< 06:58 0:00 [scsi_eh_0]
root 1710 0.0 0.0 0 0 ? S< 06:58 0:00 [scsi_eh_1]
root 1791 0.0 0.0 0 0 ? S< 06:59 0:00 [khubd]
root 1860 0.0 0.0 0 0 ? S 06:59 0:00 [kjournald]
root 2061 0.0 0.0 10532 624 ? S<s 06:59 0:00 /sbin/udevd --d
root 2853 0.0 0.0 0 0 ? S 06:59 0:00 [shpchpd_event]
root 3098 0.0 0.0 0 0 ? S 06:59 0:00 [kjournald]
syslog 3407 0.0 0.0 6952 676 ? Ss 06:59 0:00 /sbin/syslogd -
root 3424 0.0 0.0 4816 524 ? Ss 06:59 0:00 /bin/dd bs 1 if
klog 3426 0.0 0.0 3748 1628 ? Ss 06:59 0:00 /sbin/klogd -P
root 3433 0.0 0.0 2628 384 ? Ss 06:59 0:00 /usr/sbin/irqba
root 3448 0.0 0.0 25756 1192 ? Ss 06:59 0:00 /usr/sbin/sshd
daemon 3472 0.0 0.0 9016 392 ? Ss 06:59 0:00 /usr/sbin/atd
root 3482 0.0 0.0 11428 772 ? Ss 06:59 0:00 /usr/sbin/cron
root 3505 0.0 0.0 2636 528 tty1 Ss+ 06:59 0:00 /sbin/getty 384
root 3507 0.0 0.0 2636 528 tty2 Ss+ 06:59 0:00 /sbin/getty 384
nobody 3509 0.0 0.0 18944 1064 ? Ss 06:59 0:00 /bin/su -c env
nobody 3512 0.0 0.1 15184 3808 ? S 06:59 0:00 /usr/bin/perl /
1002 3527 0.0 0.0 14444 1252 ? Ss 06:59 0:00 SCREEN -d -m -S
1002 3528 0.0 0.0 7204 1772 pts/1 Ss+ 06:59 0:00 /bin/sh /home/G
1002 3530 1.3 3.2 91236 66264 pts/1 Sl+ 07:00 7:18 ./hlds_amd -bin
1002 3535 0.0 0.0 14444 1252 ? Ss 07:00 0:00 SCREEN -d -m -S
1002 3536 0.0 0.0 7200 1768 pts/2 Ss+ 07:00 0:00 /bin/sh /home/G
1002 3539 4.4 4.1 111636 85780 pts/2 Rl+ 07:00 24:24 ./hlds_amd -bin
1002 3544 0.0 0.0 14440 1256 ? Ss 07:00 0:00 SCREEN -d -m -S
1002 3545 0.0 0.0 7204 1772 pts/3 Ss+ 07:00 0:00 /bin/sh /home/G
1002 3548 2.7 4.3 115880 89872 pts/3 Sl+ 07:00 14:59 ./hlds_amd -bin
1002 3554 0.0 0.0 14444 1256 ? Ss 07:00 0:00 SCREEN -d -m -S
1002 3555 0.0 0.0 7204 1772 pts/4 Ss+ 07:00 0:00 /bin/sh /home/G
1002 3557 8.7 4.3 106900 89744 pts/4 Sl+ 07:00 48:14 ./hlds_amd -bin
1002 3562 0.0 0.0 14440 1248 ? Ss 07:01 0:00 SCREEN -d -m -S
1002 3563 0.0 0.0 7200 1768 pts/5 Ss+ 07:01 0:00 /bin/sh /home/G
1002 3565 1.4 3.4 94776 69740 pts/5 Sl+ 07:01 8:02 ./hlds_amd -bin
1002 3570 0.0 0.0 14440 1252 ? Ss 07:01 0:00 SCREEN -d -m -S
1002 3571 0.0 0.0 7204 1772 pts/6 Ss+ 07:01 0:00 /bin/sh /home/G
1002 3574 7.9 6.7 163832 137596 pts/6 Sl+ 07:01 43:40 ./hlds_amd -bin
root 3642 0.0 0.1 36704 2772 ? Ss 15:51 0:00 sshd: Gameserve
1002 3644 0.0 0.0 36704 1724 ? S 15:52 0:00 sshd: Gameserve
1002 3645 0.0 0.1 12120 2448 pts/0 Ss 15:52 0:00 -sh
root 3649 0.0 0.0 20180 1328 pts/0 S 15:52 0:00 su
root 3650 0.0 0.1 11568 2164 pts/0 S 15:52 0:00 bash
root 3687 0.0 0.0 8752 1124 pts/0 R+ 16:10 0:00 ps aux
Alles anzeigen
Die Server werden jeden Morgen um 6 Uhr beendet und dann in 3 Min Takt wieder gestartet.
Aber was mich ein bisschen beunruhigt ist, das die Load Average ziemlich hoch ist ? Habe irgendwo mal gelesen das wenn diese Zahl über 1 ist, die Cpu und der Ram nicht mehr hinterher kommen.
top
top - 16:14:43 up 9:15, 1 user, load average: 1.75, 1.54, 1.41
Tasks: 66 total, 2 running, 64 sleeping, 0 stopped, 0 zombie
Cpu0 : 9.7% us, 3.0% sy, 0.0% ni, 86.5% id, 0.1% wa, 0.0% hi, 0.8% si
Cpu1 : 10.5% us, 3.2% sy, 0.0% ni, 86.1% id, 0.1% wa, 0.0% hi, 0.1% si
Mem: 2044800k total, 1262156k used, 782644k free, 75160k buffers
Swap: 1911724k total, 0k used, 1911724k free, 626260k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3539 Gameserv 15 0 110m 85m 8420 S 23 4.3 25:30.12 hlds_amd
3557 Gameserv 15 0 104m 87m 8344 S 19 4.4 48:50.31 hlds_amd
3548 Gameserv 15 0 113m 87m 8412 S 10 4.4 15:24.19 hlds_amd
3565 Gameserv 15 0 94776 68m 8420 S 2 3.4 8:07.98 hlds_amd
3530 Gameserv 15 0 91236 64m 8396 S 1 3.2 7:23.15 hlds_amd
3574 Gameserv 15 0 159m 134m 8456 S 1 6.7 43:46.41 hlds_amd
1 root 16 0 2636 564 476 S 0 0.0 0:00.74 init
2 root RT 0 0 0 0 S 0 0.0 0:00.00 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.03 events/0
9 root 10 -5 0 0 0 S 0 0.0 0:00.03 events/1
10 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper
Alles anzeigen
Aber es gibt eigentlich keine Laggs...hmm...
Die Server starte ich mit :
screen -A -m -d -S cstrike ./hlds_run -binary ./hlds_amd -game cstrike +map xxxxxxx -maxplayers 17 +sv_unlag 1 +sys_ticrate 250 +ip xxx.xxx.xxx.xxx +port 27xxx -autoupdate -sport
hoffe das ich den jetzt wieder richtig zusammengeflickt habe ausm Script ^^.
Hoffe das ihr mir ein paar Tips gebt...und ja ich kenne diese Seite Vorsicht- Server etc. -.-.
Mfg Knut