Current time: 05-16-2024, 10:07 PM Hello There, Guest! (LoginRegister)


Post Reply 
Zu hoher Load und zu hohe CPU Auslastung
Author Message
JPS Offline


Posts: 1
Joined: Dec 2009
Reputation: 0
Post: #1
Zu hoher Load und zu hohe CPU Auslastung
Hi, ich habe ein Problem mit meinem Load und der CPU-Auslastung...

Meine Kiste: Intel® Core™2 Quad vServer Debian Lenny 32bit, 1.5 Ghz, 1 GB RAM und im Einsatz ist ispCP 1.0.2.

top sagt:
Code:
top - 22:39:37 up 3 days,  2:55,  1 user,  load average: 1.06, 1.20, 1.04
Tasks: 116 total,   3 running, 113 sleeping,   0 stopped,   0 zombie
Cpu(s): 52.7%us, 27.7%sy,  0.0%ni, 19.3%id,  0.0%wa,  0.0%hi,  0.3%si,  0.0%st
Mem:   1036092k total,  1006712k used,    29380k free,    36740k buffers
Swap:  1510068k total,    24088k used,  1485980k free,   333556k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
5190 vu2003    20   0 51652  26m 3960 S 20.6  2.6   0:28.58 php5-cgi
5191 vu2003    20   0 49080  23m 3896 R 17.3  2.3   0:28.22 php5-cgi
5331 vu2003    20   0 49316  23m 3500 S 14.6  2.3   0:16.42 php5-cgi
5145 vu2003    20   0 49656  24m 4404 S 14.0  2.4   0:45.10 php5-cgi
5144 vu2003    20   0 49100  23m 4312 S  8.0  2.4   0:46.42 php5-cgi
5321 vu2003    20   0 48296  22m 3904 S  3.3  2.3   0:10.68 php5-cgi
2260 mysql     20   0  135m  42m 3516 S  1.7  4.2  70:44.97 mysqld
3819 root      20   0  8176 2692 2216 R  0.7  0.3   0:00.82 sshd
5537 www-data  20   0  234m 8664 1728 S  0.7  0.8   0:00.64 apache2
5598 www-data  20   0  233m 8532 1752 S  0.7  0.8   0:00.35 apache2
5728 root      20   0  2260 1140  880 R  0.7  0.1   0:00.02 top
5643 www-data  20   0  233m 8424 1732 S  0.3  0.8   0:00.13 apache2
    1 root      20   0  1984  596  572 S  0.0  0.1   0:04.58 init
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0
    4 root      15  -5     0    0    0 S  0.0  0.0   0:08.50 ksoftirqd/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.22 watchdog/0
    6 root      15  -5     0    0    0 S  0.0  0.0   0:12.16 events/0
    7 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
   39 root      15  -5     0    0    0 S  0.0  0.0   0:06.56 kblockd/0
   41 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
   42 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpi_notify
  170 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod
  209 root      15  -5     0    0    0 S  0.0  0.0   0:01.74 kswapd0
  210 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  755 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ata/0
  756 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ata_aux
  936 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0
1017 root      15  -5     0    0    0 S  0.0  0.0   1:19.27 kjournald
1090 root      16  -4  2156  456  452 S  0.0  0.0   0:00.14 udevd
1549 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused
1833 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kjournald
1839 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 vmhgfs
1939 daemon    20   0  1768  372  368 S  0.0  0.0   0:00.00 portmap
1950 statd     20   0  1828  556  552 S  0.0  0.1   0:00.00 rpc.statd
2136 root      20   0 27388 1300  980 S  0.0  0.1   0:02.08 rsyslogd
2147 root      20   0  1648  436  432 S  0.0  0.0   0:00.00 acpid
2178 root      20   0  5276  760  660 S  0.0  0.1   0:00.40 sshd
2221 root      20   0  2700 1084 1080 S  0.0  0.1   0:00.00 mysqld_safe
2262 root      20   0  1632  460  456 S  0.0  0.0   0:00.00 logger
2335 polw      20   0  7852 2580 1256 S  0.0  0.2   0:01.12 policyd-weight
2338 polw      20   0  7852 1900  928 S  0.0  0.2   0:01.00 policyd-weight
2371 postgrey  20   0 11156 4684 2448 S  0.0  0.5   0:00.46 postgrey
2517 root      15  -5     0    0    0 S  0.0  0.0   0:05.76 vmmemctl
2607 root      20   0  3140 1088  928 S  0.0  0.1   3:39.25 vmware-guestd
2743 root      20   0  3140  308  304 S  0.0  0.0   0:00.00 famd

Der Load geht auch manchmal bis 2.3 rauf!

Und meine CPU schwankt sehr stark, von 20% geht sie auf 100% und schnell wieder zurück und das im Sekundentakt.

Meine Seiten haben insgesamt ca. 6000 Besucher am Tag.

Kann ich das irgendwie runterschrauben? bin noch ein Noob und kenne mich nicht so gut aus Sad
(This post was last modified: 12-29-2009 08:07 AM by JPS.)
12-29-2009 07:44 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Zu hoher Load und zu hohe CPU Auslastung
Naja, deine Server ist nicht grad der stärkste bei den Zahlen.
Zudem fängt er ja schon an zu Swappen.

Nachdem Du sagst das es ein vServer ist, bist du wahrscheinlich nicht alleine auf der CPU oder ? Ok 1.5GHz sollen Dir gehören, aber ist das wirklich so ?
Quote:Kann ich das irgendwie runterschrauben?
Dienste die nicht benötigt werden am besten ausschalten.
Apache kannst Du etwas optimieren -> Prefork vs. Worker und deren Config.

Greez BeNe
12-29-2009 04:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)