habe mir vor 2 Tagen n Strato Rootserver geholt und dieses soweit eingerichtet.
Daten:
CPU: Celeron 2,4ghz, 512mb ram
Kernel: Linux 2.4.25 i686
Apache 1.3.26
PHP Version 4.2.2
MySQL: 3.25.52
Nun läuft nur 1 Website drauf (php), diese jedoch verurscht schon nur bei 5-10 besuchern ein CPU load von 30-70%!!!!!!!
Ich bin ratlos! Die Homepage lief davor problemlos und schnell auf einem virtuellen server!
schaut euch das mal an:
Code: Select all
1:20pm up 11:05, 1 user, load average: 2.52, 3.63, 4.61
94 processes: 86 sleeping, 8 running, 0 zombie, 0 stopped
CPU states: 51.5% user, 48.4% system, 0.0% nice, 0.0% idle
Mem: 514388K av, 158568K used, 355820K free, 0K shrd, 13308K buff
Swap: 514072K av, 23780K used, 490292K free 98480K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
19681 dompb 14 0 4996 4996 3328 R 5.2 0.9 0:00 php
19685 dompb 15 0 5088 5088 3336 R 5.2 0.9 0:00 php
19682 dompb 14 0 29136 28M 27616 R 4.4 5.6 0:00 php
19684 dompb 14 0 14540 14M 12868 R 4.2 2.8 0:00 php
19689 dompb 19 0 19080 18M 17560 R 3.8 3.7 0:00 php
19504 root 10 0 1048 1048 804 R 0.3 0.2 0:00 top
19546 wwwrun 9 0 5064 3724 3512 S 0.3 0.7 0:00 httpd
1291 wwwrun 9 0 4800 3200 3112 S 0.1 0.6 0:19 httpd
1295 wwwrun 9 0 4964 3608 3520 S 0.1 0.7 0:16 httpd
30559 root 9 0 2152 2092 1684 R 0.1 0.4 0:00 sshd
3220 wwwrun 10 0 5088 3748 3536 S 0.1 0.7 0:03 httpd
3598 wwwrun 9 0 5384 4104 3772 S 0.1 0.7 0:02 httpd
19545 wwwrun 8 0 5064 3724 3512 S 0.1 0.7 0:00 httpd
1 root 8 0 72 64 64 S 0.0 0.0 0:06 init
2 root 9 0 0 0 0 SW 0.0 0.0 0:01 keventd
3 root 18 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
4 root 9 0 0 0 0 SW 0.0 0.0 0:20 kswapd
5 root 9 0 0 0 0 SW 0.0 0.0 0:00 bdflush
6 root 9 0 0 0 0 SW 0.0 0.0 0:00 kupdated
10 root 9 0 0 0 0 SW 0.0 0.0 0:00 khubd
11 root 9 0 0 0 0 SW 0.0 0.0 0:02 kjournald
80 root 9 0 0 0 0 SW 0.0 0.0 0:00 kjournald
331 root 9 0 424 364 364 S 0.0 0.0 0:00 dhcpcd
was mich noch stutzig macht ist folgendes:
Code: Select all
wwwrun 1291 0.0 0.6 81864 3200 ? S 02:41 0:19 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 1292 0.0 0.7 81864 3612 ? S 02:41 0:20 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 1293 0.0 0.6 81988 3184 ? S 02:41 0:20 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 1294 0.0 0.6 81984 3584 ? S 02:41 0:18 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 1295 0.0 0.7 81864 3608 ? S 02:41 0:16 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 1303 0.0 0.7 81864 3604 ? S 02:41 0:17 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 1304 0.0 0.7 81864 3608 ? S 02:41 0:15 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 1331 0.0 0.6 81988 3240 ? S 02:42 0:17 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 1332 0.0 0.6 81864 3600 ? S 02:42 0:18 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 1333 0.0 0.7 81988 3960 ? S 02:42 0:17 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
vpopmail 1733 0.0 1.3 83180 6688 ? S 02:55 0:09 /usr/sbin/httpd -f /etc/httpd/httpd.visas -DSSL
wwwrun 18517 0.1 0.7 81864 3748 ? S 11:30 0:07 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
root 30559 0.0 0.4 7368 2100 ? S 12:12 0:00 /usr/sbin/sshd
root 30568 0.0 0.3 2800 1704 pts/0 S 12:12 0:00 -bash
wwwrun 3220 0.1 0.7 81864 3748 ? S 12:28 0:03 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 3598 0.0 0.7 81988 4104 ? S 12:29 0:02 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 17362 0.0 0.7 81864 3740 ? S 13:12 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 18529 0.1 0.7 81864 3744 ? S 13:16 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 19532 0.0 0.7 81864 3728 ? S 13:20 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 19537 0.2 0.7 81864 3724 ? S 13:20 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 19543 0.1 0.7 81864 3732 ? S 13:20 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
wwwrun 19546 0.0 0.7 81864 3728 ? S 13:20 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
root 20139 0.0 0.0 1740 504 ? S 13:22 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
root 20140 0.0 0.0 1740 504 ? S 13:22 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
root 20141 0.0 0.0 1740 504 ? S 13:22 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
root 20142 0.0 0.0 1740 504 ? S 13:22 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
root 20143 0.0 0.0 1740 504 ? S 13:22 0:00 /usr/lib/courier-imap/libexec/authlib/authdaemond.plain start
wwwrun 20231 0.0 0.6 81816 3496 ? S 13:22 0:00 /usr/sbin/httpd -f /etc/httpd/httpd.conf -DSSL
500 20232 7.5 1.0 46612 5524 ? S 13:22 0:00 php -c ºûÿ¿
mysql 20235 1.0 0.6 26792 3284 ? S 13:22 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
500 20236 14.0 7.3 46088 37716 ? R 13:22 0:00 php -c ¾úÿ¿
500 20237 15.0 7.1 46084 36660 ? R 13:22 0:00 php -c #ûÿ¿
500 20238 14.5 5.8 45980 29920 ? R 13:22 0:00 php -c ?úÿ¿
500 20239 18.0 1.0 46384 5260 ? R 13:22 0:00 php -c 0ûÿ¿
500 20242 15.0 0.9 46016 4808 ? R 13:22 0:00 php -c .úÿ¿
500 20244 15.0 0.9 46016 4808 ? R 13:22 0:00 php -c ?úÿ¿
mysql 20245 1.0 0.6 26792 3284 ? S 13:22 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
500 20246 0.0 0.3 12240 2012 ? R 13:22 0:00 php -c ?ûÿ¿
500 20247 0.0 0.6 12544 3456 ? R 13:22 0:00 php -c �úÿ¿
das httpd so oft gestartet wurde ist auch i.o?
Ich währe euch sehr sehr dankbar wenn ihr mir ein Paar tips geben könnt wie ich dem Problem auf die Spur kommen kann.
Wäre es ein Risiko hier den phpinfo.php link zu posten (evtl ist da n fehler drinne?!?)
mfg
chris
