PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [openSuse11 64bit] Hoher Load



netwalker
13.10.08, 12:56
Hallo,
ich habe viel Beiträge hier im Forum bezüglich hohem load gelesen, auch bei google habe ich einige Themen darüber gefunden, nur leider konnten die mir auch nicht so recht helfen.

Ich habe hier ein rießen Server steht, nur leider verursacht die Kiste mir Tag für Tag Kopfschmerzen. Der Server soll an sich nicht viel machen, nur Kleinigkeiten. Darauf sind folgende sachen installiert:

Apache2 Prefork
Tomcat
SVN
Jboss
vsftpd
jdk
MySQL


Auf dem Apache sind einige Module installiert:
actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir status dav dav_fs dav_svn authz_svn ldap authnz_ldap jk proxy php5

Der Tomcat hat einige Applikationen wie Hudson installiert und JBoss ist nur ein Deployment Server.

Als Kernel läuft

Ich habe bereits paar Server genauso Konfiguriert die sehr selten ein load über 1,5 hatten, nur der Server bringt mich um. Der hier hat ein Load von 20,30 oder 50. Bei solchen hohen loads kann man zwar die Seiten ansurfen, die aber sehr langsam aufgebaut werden aber einige Dienste wie FTP funktionieren dann überhaupt nicht mehr.

Top -n1


top - 13:28:39 up 17 days, 22:20, 1 user, load average: 11.61, 11.80, 12.16
Tasks: 141 total, 1 running, 140 sleeping, 0 stopped, 0 zombie
Cpu(s): 15.0%us, 55.4%sy, 0.2%ni, 27.5%id, 1.9%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 8193304k total, 6634328k used, 1558976k free, 462060k buffers
Swap: 16779884k total, 112k used, 16779772k free, 5048840k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2961 root 20 0 822m 714m 713m D 6 8.9 788:25.83 nmbd
1 root 20 0 864 328 272 S 0 0.0 0:06.40 init
2 root 15 -5 0 0 0 S 0 0.0 0:00.94 kthreadd
3 root RT -5 0 0 0 S 0 0.0 0:02.54 migration/0
4 root 15 -5 0 0 0 S 0 0.0 0:29.96 ksoftirqd/0
5 root RT -5 0 0 0 S 0 0.0 0:02.30 migration/1
6 root 15 -5 0 0 0 S 0 0.0 0:03.30 ksoftirqd/1
7 root RT -5 0 0 0 S 0 0.0 0:01.58 migration/2
8 root 15 -5 0 0 0 S 0 0.0 0:00.22 ksoftirqd/2
9 root RT -5 0 0 0 S 0 0.0 0:01.12 migration/3
10 root 15 -5 0 0 0 S 0 0.0 0:02.80 ksoftirqd/3
11 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/4
12 root 15 -5 0 0 0 S 0 0.0 0:00.06 ksoftirqd/4
13 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/5
14 root 15 -5 0 0 0 S 0 0.0 0:13.40 ksoftirqd/5
15 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/6
16 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksoftirqd/6
17 root RT -5 0 0 0 S 0 0.0 0:00.02 migration/7
18 root 15 -5 0 0 0 S 0 0.0 0:02.64 ksoftirqd/7
19 root 15 -5 0 0 0 S 0 0.0 0:19.04 events/0
20 root 15 -5 0 0 0 S 0 0.0 0:21.08 events/1
21 root 15 -5 0 0 0 S 0 0.0 0:14.00 events/2
22 root 15 -5 0 0 0 S 0 0.0 0:21.58 events/3
23 root 15 -5 0 0 0 S 0 0.0 0:12.46 events/4
24 root 15 -5 0 0 0 S 0 0.0 1:19.82 events/5
25 root 15 -5 0 0 0 S 0 0.0 0:16.72 events/6
26 root 15 -5 0 0 0 S 0 0.0 0:26.50 events/7
27 root 15 -5 0 0 0 S 0 0.0 0:00.00 khelper
28 root 15 -5 0 0 0 S 0 0.0 0:00.04 kblockd/0
29 root 15 -5 0 0 0 S 0 0.0 0:00.06 kblockd/1
30 root 15 -5 0 0 0 S 0 0.0 0:00.02 kblockd/2
31 root 15 -5 0 0 0 S 0 0.0 0:23.12 kblockd/3
32 root 15 -5 0 0 0 S 0 0.0 0:00.02 kblockd/4
33 root 15 -5 0 0 0 S 0 0.0 0:00.04 kblockd/5
34 root 15 -5 0 0 0 S 0 0.0 0:00.06 kblockd/6
35 root 15 -5 0 0 0 S 0 0.0 0:23.12 kblockd/7
36 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid
37 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpi_notify
38 root 15 -5 0 0 0 S 0 0.0 0:00.00 cqueue
39 root 15 -5 0 0 0 S 0 0.0 0:00.00 kseriod
40 root 15 -5 0 0 0 S 0 0.0 0:00.00 kondemand/0
41 root 15 -5 0 0 0 S 0 0.0 0:00.00 kondemand/1
42 root 15 -5 0 0 0 S 0 0.0 0:00.00 kondemand/2
43 root 15 -5 0 0 0 S 0 0.0 0:00.00 kondemand/3
44 root 15 -5 0 0 0 S 0 0.0 0:00.00 kondemand/4
45 root 15 -5 0 0 0 S 0 0.0 0:00.00 kondemand/5
46 root 15 -5 0 0 0 S 0 0.0 0:00.00 kondemand/6
47 root 15 -5 0 0 0 S 0 0.0 0:00.00 kondemand/7
50 root 15 -5 0 0 0 S 0 0.0 0:05.22 kswapd0


Ein Auszug von vmstat 60


procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 12 112 1744016 462024 5048856 0 0 4 3366 2 1 15 56 27 2
0 12 112 1743860 462024 5048860 0 0 0 51275 348 811 0 0 62 37
0 11 112 1743868 462024 5048860 0 0 0 54296 361 1020 0 1 46 53
0 11 112 1743876 462024 5048860 0 0 0 55301 372 509 0 0 40 59
0 10 112 1743520 462024 5048860 0 0 0 52840 349 1072 0 0 19 80
0 10 112 1744036 462024 5048860 0 0 0 60340 370 647 0 1 25 75
0 9 112 1743412 462024 5048860 0 0 0 56282 365 787 0 1 52 47
0 10 112 1743892 462024 5048860 0 0 0 55517 346 773 0 0 65 34
1 9 112 1743520 462024 5048864 0 0 0 48774 357 569 0 0 35 64
0 10 112 1743644 462024 5048864 0 0 0 56832 336 581 0 0 39 60
0 11 112 1747984 462024 5048868 0 0 0 51211 418 846 0 0 28 71
0 9 112 1742916 462024 5048872 0 0 0 50621 411 781 0 0 44 55


Was mir aufgefallen ist, wenn ich mir dmesg ausgeben lasse, ist



hub 5-0:1.0: unable to enumerate USB device on port 3 (das hier kommt tausende mal)
hub 5-0:1.0: Cannot enable port 3. Maybe the USB cable is bad? (5-10 mal)
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ub 5-0:1.0: unable to enumerate USB device on port 3
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: port is slow to respond, please be patient (Status 0xd0)
hub 5-0:1.0: unable to enumerate USB device on port 3
hub 5-0:1.0: unable to enumerate USB device on port 3
hub 5-0:1.0: unable to enumerate USB device on port 3
hub 5-0:1.0: unable to enumerate USB device on port 3
hub 5-0:1.0: unable to enumerate USB device on port 3
ata1: device not ready (errno=-16), forcing hardreset
ata1: soft resetting link
hub 5-0:1.0: unable to enumerate USB device on port 3
ata1.00: configured for UDMA/33
ata1: EH complete


Könnt Ihr mir ggf. paar tipps geben, wo ich genauer nach schauen könnte.
Danke!

marce
13.10.08, 12:59
hast Du irgendwelche USB-Geräte an der Kiste dran?

foolish
13.10.08, 13:31
hi,

zusätzlich noch wegen der ata1.00 Meldungen ; evtl.

http://www.fedoraforum.de/viewtopic.php?f=11&t=15161

http://www.linux-club.de/viewtopic.php?f=27&t=97361

netwalker
13.10.08, 13:37
hast Du irgendwelche USB-Geräte an der Kiste dran?
Müsste ich nachfrage, was ich aber nicht denke!


hi,
zusätzlich noch wegen der ata1.00 Meldungen ; evtl.
http://www.fedoraforum.de/viewtopic.php?f=11&t=15161
http://www.linux-club.de/viewtopic.php?f=27&t=97361
Danke, werde ich mir sofort mal durchlesen

E1: Dann werde ich mal weiter geben, das die ein Kernel Update durchführen sollen!