Server kommt nicht mehr nach...

Lesenswerte Artikel, Anleitungen und Diskussionen
newbie
Posts: 63
Joined: 2003-04-03 18:34

Server kommt nicht mehr nach...

Post by newbie » 2005-04-11 15:33

Hallo,

ich hab auf meinem Server die Browsergames "Legend of the Green Dragon" und "CompWebChess" laufen und nun das Problem dass bei Spielerzahlen von insgesamt mehr als 50 gleichzeitig der Server spürbar Probleme bekommt.

Vielleicht kann mir von euch jemand raten, was ich umstellen sollte. Währe für ein paar Tipps echt dankbar!

Der Server ist von Strato mit P4 2.8GHz, 1024 MB RAM, SuSE 9.0, Kernel 2.4.27, Apache 2, mySQL 4.1.11 und PHP 4.3.11

Hier noch ein paar Dinge, die für euch wichtig sein könnten:

my.cnf:

Code: Select all

port		= 3306
socket		= /var/lib/mysql/mysql.sock
skip-locking
key_buffer = 128M
max_allowed_packet = 2M
table_cache = 512
thread_cache = 128
sort_buffer_size = 12M
record_buffer = 12M
net_buffer_length = 8K
myisam_sort_buffer_size = 12M
query_cache_size = 24M
query_cache_limit = 512K
query_cache_type = 1
max_connections = 600
interactive_timeout = 60
php.ini:

Code: Select all

max_execution_time = 120
max_input_time = 60
memory_limit = 16M
mysql.allow_persistent = Off
apache:

Code: Select all

StartServers           50
MinSpareServers        50
MaxSpareServers        65
MaxClients            180
MaxRequestsPerChild  9500

MaxKeepAliveRequests 150
KeepAliveTimeout 5
top:

Code: Select all

top - 14:53:26 up 186 days,  9:14,  1 user,  load average: 7.53, 6.23, 5.85
Tasks: 243 total,   3 running, 229 sleeping,   0 stopped,   1 zombie
Cpu(s):  70.3% user,  29.7% system,   0.0% nice,   0.0% idle
Mem:   1023952k total,   563944k used,   460008k free,    34004k buffers
Swap:   514072k total,    83600k used,   430472k free,    77816k cached
pstree:

Code: Select all

init-+-agetty
     |-antivir
     |-avgated
     |-avgatefwd---2*[avgatefwd]
     |-bdflush
     |-chat.pl
     |-cron---cron
     |-dhcpcd
     |-httpd2-prefork-+-92*[httpd2-prefork]
     |                `-pipelog.pl
     |-keventd
     |-2*[kjournald]
     |-klogd
     |-ksoftirqd_CPU0
     |-kswapd
     |-kupdated
     |-master-+-flush
     |        |-pickup
     |        |-proxymap
     |        |-qmgr
     |        |-smtp
     |        `-trivial-rewrite
     |-6*[mingetty]
     |-mysqld_safe---mysqld---mysqld---61*[mysqld]
     |-nscd---nscd---5*[nscd]
     |-6*[pipelog.pl]
     |-resmgrd
     |-saslauthd---4*[saslauthd]
     |-spamd
     |-sshd-+-sshd-+-bash---pstree
     |      |      `-sshd
     |      `-sshd-+-bash
     |             `-sshd
     |-startpar
     |-syslogd
     `-xinetd
ps -aux:

Code: Select all

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   620   72 ?        S     2004   0:07 init [3]
root         2  0.0  0.0     0    0 ?        SW    2004   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SWN   2004   0:02 [ksoftirqd_CPU0]
root         4  0.0  0.0     0    0 ?        SW    2004   0:53 [kswapd]
root         5  0.0  0.0     0    0 ?        SW    2004   0:00 [bdflush]
root         6  0.0  0.0     0    0 ?        SW    2004   0:00 [kupdated]
root        10  0.0  0.0     0    0 ?        DW    2004   9:15 [kjournald]
root        53  0.0  0.0     0    0 ?        SW    2004   0:00 [kjournald]
root       475  0.0  0.0  1520  440 ?        S     2004   0:03 /sbin/dhcpcd -H -D -N -t 999999 -h linux eth0
root       542  0.0  0.0  1560  568 ?        S     2004   1:05 /sbin/syslogd -a /var/lib/named/dev/log
root       545  0.0  0.0  1628  440 ?        S     2004   0:00 /sbin/klogd -c 1 -2
root       608  0.0  0.0  1524  392 ?        S     2004   0:00 /sbin/resmgrd
root       627  0.0  0.0  4456  748 ?        S     2004   0:00 /usr/sbin/saslauthd -a pam
root       628  0.0  0.0  4456  748 ?        S     2004   0:00 /usr/sbin/saslauthd -a pam
root       629  0.0  0.0  4456  748 ?        S     2004   0:00 /usr/sbin/saslauthd -a pam
root       630  0.0  0.0  4456  748 ?        S     2004   0:00 /usr/sbin/saslauthd -a pam
root       631  0.0  0.0  4456  748 ?        S     2004   0:00 /usr/sbin/saslauthd -a pam
root       689  0.0  0.0  2172  724 ?        S     2004   0:53 /usr/sbin/xinetd
root       729  0.0  0.0  4912  684 ?        S     2004   0:03 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root      1404  0.0  0.0  1352  220 ?        S     2004   0:00 /sbin/startpar -f -- /etc/init.d/rc3.d/S15avgate
uucp      1465  0.0  0.0  1980  560 ?        S     2004   0:04 /usr/sbin/avgated
uucp      1466  0.0  0.0  2012  620 ?        S     2004   0:00 /usr/sbin/avgatefwd
uucp      1467  0.0  0.0  2004  688 ?        S     2004   0:07 [outgoing]
uucp      1468  0.0  0.0  2004  688 ?        S     2004   0:06 [incoming]
root      1572  0.0  0.0 12272  732 ?        S     2004   0:41 /usr/sbin/nscd
root      1573  0.0  0.0 12272  732 ?        S     2004   0:02 /usr/sbin/nscd
root      1574  0.0  0.0 12272  732 ?        S     2004   0:44 /usr/sbin/nscd
root      1575  0.0  0.0 12272  732 ?        S     2004   0:01 /usr/sbin/nscd
root      1576  0.0  0.0 12272  732 ?        S     2004   0:01 /usr/sbin/nscd
root      1577  0.0  0.0 12272  732 ?        S     2004   0:01 /usr/sbin/nscd
root      1578  0.0  0.0 12272  732 ?        S     2004   0:01 /usr/sbin/nscd
root      1584  0.0  0.0  1500  408 tty1     S     2004   0:00 /sbin/mingetty --noclear tty1
root      1585  0.0  0.0  1500  408 tty2     S     2004   0:00 /sbin/mingetty tty2
root      1586  0.0  0.0  1500  408 tty3     S     2004   0:00 /sbin/mingetty tty3
root      1587  0.0  0.0  1500  408 tty4     S     2004   0:00 /sbin/mingetty tty4
root      1588  0.0  0.0  1500  408 tty5     S     2004   0:00 /sbin/mingetty tty5
root      1589  0.0  0.0  1500  408 tty6     S     2004   0:00 /sbin/mingetty tty6
root      1590  0.0  0.0  1492  408 ttyS0    S     2004   0:00 /sbin/agetty -L 57600 ttyS0 vt102
root      9223  0.0  0.0  3312  364 ?        S     2004   0:00 /usr/bin/perl /root/confixx/pipelog.pl
root     22614  0.0  0.0  3312  364 ?        S     2004   0:00 /usr/bin/perl /root/confixx/pipelog.pl
root     23404  0.0  0.0  3312  364 ?        S     2004   0:00 /usr/bin/perl /root/confixx/pipelog.pl
root     15322  0.0  0.0  3312  588 ?        S    Mar01   0:00 /usr/bin/perl /root/confixx/pipelog.pl
root      6466  0.0  0.2 28116 2996 ?        S    Mar21   0:02 /usr/sbin/spamd -d -x -q -L
root     15823  0.0  0.0  3312  588 ?        S    Mar30   0:00 /usr/bin/perl /root/confixx/pipelog.pl
root     15923  0.0  0.0  3312  588 ?        S    Mar30   0:00 /usr/bin/perl /root/confixx/pipelog.pl
web3     32094  0.0  0.1  4772 1208 ?        S    Apr06   0:00 /usr/bin/perl chat.pl
root     28999  0.0  0.0  2704  996 ?        S    Apr10   0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var
mysql    29036  0.0  5.7 225812 59204 ?      S    Apr10   0:15 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29037  0.0  5.7 225812 59204 ?      S    Apr10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29038  0.0  5.7 225812 59204 ?      S    Apr10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29039  0.0  5.7 225812 59204 ?      S    Apr10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29040  0.0  5.7 225812 59204 ?      S    Apr10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29041  0.0  5.7 225812 59204 ?      S    Apr10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29042  0.0  4.5 213524 46916 ?      S    Apr10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29043  0.0  4.5 213524 46916 ?      S    Apr10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29044  0.0  4.5 213524 46916 ?      S    Apr10   0:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29045  0.0  4.5 213524 46916 ?      S    Apr10   0:29 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29046  0.9  4.5 213524 46916 ?      S    Apr10  13:03 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29047  0.9  4.5 213524 46916 ?      S    Apr10  12:48 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    29246  0.9  4.5 213524 46916 ?      S    Apr10  12:58 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    30004  0.9  4.5 213524 46916 ?      S    Apr10  12:46 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    30246  0.9  4.5 213524 46916 ?      S    Apr10  13:24 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    30250  0.9  4.5 213524 46916 ?      S    Apr10  12:47 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    32337  0.9  4.5 213524 46916 ?      S    Apr10  12:26 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    32338  0.9  4.5 213524 46916 ?      S    Apr10  13:15 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    32339  0.9  4.5 213524 46916 ?      S    Apr10  12:43 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    32340  0.9  4.5 213524 46916 ?      S    Apr10  12:24 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql     9275  0.9  4.5 213524 46916 ?      R    Apr10  12:38 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql     9279  0.9  4.5 213524 46916 ?      S    Apr10  13:01 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql     9357  0.8  4.5 213524 46916 ?      S    Apr10  11:54 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql     9360  0.9  4.5 213524 46916 ?      S    Apr10  12:34 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    10327  0.8  4.5 213524 46916 ?      S    Apr10  10:08 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    10328  0.8  4.5 213524 46916 ?      S    Apr10   9:50 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    10329  0.9  4.5 213524 46916 ?      R    Apr10  11:02 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    10331  0.8  4.5 213524 46916 ?      S    Apr10  10:17 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    10332  0.8  4.5 213524 46916 ?      S    Apr10  10:34 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    10740  0.7  4.5 213524 46916 ?      S    Apr10   9:08 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
root     11620  0.0  0.0  1520  552 ?        S    Apr10   0:00 /usr/sbin/cron
root     11901  0.0  0.1  4100 1156 ?        S    Apr10   0:00 /usr/lib/postfix/master
postfix  11905  0.0  0.1  4224 1268 ?        S    Apr10   0:00 qmgr -l -t fifo -u
mysql    12543  0.6  4.5 213524 46916 ?      S    Apr10   6:44 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    12544  0.7  4.5 213524 46916 ?      S    Apr10   7:31 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    12545  0.6  4.5 213524 46916 ?      S    Apr10   7:13 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    12549  0.7  4.5 213524 46916 ?      S    Apr10   7:45 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
root     23134  0.0  0.1  5760 1568 ?        S    14:31   0:00 sshd: root@pts/0
root     23135  0.0  0.1  5760 1568 ?        S    14:31   0:00 sshd: root@pts/0
root     23137  0.0  0.1  2836 1244 pts/0    S    14:31   0:00 -bash
mysql    23347  0.9  4.5 213524 46916 ?      S    14:50   0:10 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23348  0.7  4.5 213524 46916 ?      S    14:50   0:08 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23350  1.1  4.5 213524 46916 ?      S    14:50   0:13 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23357  0.6  4.5 213524 46916 ?      S    14:50   0:08 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23358  0.8  4.5 213524 46916 ?      S    14:50   0:09 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23363  0.8  4.5 213524 46916 ?      S    14:50   0:10 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23365  0.9  4.5 213524 46916 ?      S    14:50   0:11 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23366  1.0  4.5 213524 46916 ?      S    14:50   0:11 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23375  0.5  4.5 213524 46916 ?      S    14:50   0:06 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23378  0.3  4.5 213524 46916 ?      S    14:50   0:04 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23379  1.0  4.5 213524 46916 ?      S    14:50   0:11 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23380  0.8  4.5 213524 46916 ?      S    14:50   0:10 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23386  1.2  4.5 213524 46916 ?      S    14:50   0:14 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23387  0.7  4.5 213524 46916 ?      S    14:50   0:09 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23388  1.2  4.5 213524 46916 ?      S    14:50   0:14 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23390  0.8  4.5 213524 46916 ?      S    14:50   0:10 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23391  1.0  4.5 213524 46916 ?      S    14:50   0:11 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23395  0.9  4.5 213524 46916 ?      S    14:50   0:11 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23396  0.5  4.5 213524 46916 ?      S    14:50   0:06 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23397  0.5  4.5 213524 46916 ?      S    14:50   0:06 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23398  0.4  4.5 213524 46916 ?      S    14:50   0:05 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23401  0.8  4.5 213524 46916 ?      S    14:50   0:09 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23407  1.1  4.5 213524 46916 ?      S    14:50   0:12 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23409  0.7  4.5 213524 46916 ?      S    14:51   0:08 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23421  0.6  4.5 213524 46916 ?      S    14:51   0:06 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23422  1.0  4.5 213524 46916 ?      S    14:51   0:12 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23424  0.8  4.5 213524 46916 ?      S    14:51   0:09 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23425  0.8  4.5 213524 46916 ?      S    14:51   0:09 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
mysql    23426  0.9  4.5 213524 46916 ?      S    14:51   0:11 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --
postfix  23677  0.0  0.1  4204 1344 ?        S    14:55   0:00 pickup -l -t fifo -u
uucp     24008  0.0  0.7  9396 7568 ?        SN   15:03   0:00 /usr/lib/AntiVir/antivir --mailgate --temp=/var/tmp
root     24119  0.0  0.9 21080 9524 ?        S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
root     24120  0.1  0.1  3312 1408 ?        S    15:06   0:00 /usr/bin/perl /root/confixx/pipelog.pl
wwwrun   24122  0.2  1.1 22356 11304 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24123  0.2  1.1 22356 11332 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24124  0.5  1.1 22484 11376 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24125  0.4  1.1 22516 11456 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24126  0.3  1.1 22588 11564 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24127  0.3  1.1 22904 11852 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24128  0.3  1.1 22680 11516 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24129  0.3  1.1 22368 11324 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24130  0.2  1.1 22396 11276 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24131  0.3  1.1 22392 11276 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24132  0.2  1.1 23216 12100 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24133  0.5  1.1 22448 11328 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24134  0.7  1.1 22588 11552 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24135  0.3  1.1 22544 11432 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24136  0.3  1.1 22880 11720 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24137  0.4  1.1 22424 11300 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24138  0.3  1.0 22352 11244 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24139  0.5  1.0 22344 11248 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24140  0.2  1.1 22508 11392 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24141  0.2  1.1 22340 11372 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24142  0.5  1.1 22552 11444 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24143  0.5  1.1 22496 11368 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24145  0.3  1.1 22732 11636 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24146  0.1  1.1 22528 11372 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24147  2.0  1.0 22316 11192 ?       S    15:06   0:04 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24148  0.2  1.1 22360 11300 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24149  0.3  1.1 22504 11536 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24150  0.3  1.0 22260 11148 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24151  0.2  1.1 22520 11644 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24152  0.2  1.1 22420 11360 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24153  0.2  1.1 22976 11904 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24154  0.2  1.1 22436 11324 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24155  0.4  1.1 22460 11516 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24156  0.5  1.1 22408 11288 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24157  0.4  1.1 22388 11276 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24159  0.2  1.1 23024 11920 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24160  0.3  1.1 22408 11448 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24161  0.1  1.0 22320 11200 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24162  0.7  1.1 22480 11356 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24163  0.3  1.0 22336 11216 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24164  0.1  1.1 22412 11292 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24167  0.2  1.1 22496 11436 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24168  0.2  1.1 22348 11312 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24169  0.4  1.1 22408 11300 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24170  0.3  1.1 22456 11336 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24171  0.2  1.0 22352 11232 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24172  0.5  1.1 22840 11792 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24173  0.3  1.1 22504 11384 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24174  0.5  1.1 22568 11380 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24175  0.2  1.0 22332 11212 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24176  0.3  1.1 22512 11412 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24178  0.2  1.1 22432 11472 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24179  0.2  1.1 22596 11476 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24180  0.2  1.0 22276 11156 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24181  0.3  1.1 22572 11456 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24182  0.2  1.0 22300 11252 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24183  0.2  1.1 22504 11460 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24184  0.2  1.1 22896 11772 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24185  0.2  1.1 22428 11384 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24187  0.8  1.1 23252 12136 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24188  0.7  1.1 22776 11608 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24189  0.2  1.0 22356 11244 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24190  0.1  1.1 22400 11284 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24191  0.2  1.1 22576 11456 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24192  0.2  1.1 22328 11308 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24193  0.3  1.1 22504 11384 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24194  0.4  1.1 22572 11448 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24195  0.2  1.1 22476 11452 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24196  0.3  1.0 22344 11256 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24197  0.5  1.1 22496 11520 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24198  0.2  1.1 23208 12108 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24199  0.2  1.1 22372 11472 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24200  0.3  1.1 22508 11388 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24201  0.4  1.1 22716 11576 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24202  0.1  1.1 22492 11424 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24203  0.3  1.1 22476 11492 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24204  0.2  1.1 22548 11396 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24205  0.1  1.0 22336 11216 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24206  0.2  1.0 22244 11120 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24207  0.1  1.1 22440 11320 ?       S    15:06   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24208  0.5  1.1 22632 11680 ?       S    15:06   0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
root     24211  0.0  0.2  5608 2112 ?        S    15:07   0:00 sshd: root@notty
root     24212  0.0  0.2  5608 2112 ?        S    15:07   0:00 sshd: root@notty
root     24214  0.0  0.1  2700 1292 ?        S    15:07   0:00 -bash
wwwrun   24244  0.1  1.1 22580 11408 ?       S    15:07   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24245  0.1  1.1 22584 11440 ?       S    15:07   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24246  0.1  1.1 22552 11416 ?       S    15:07   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
postfix  24250  0.0  0.1  5068 1724 ?        S    15:07   0:00 trivial-rewrite -n rewrite -t unix -u
postfix  24251  0.0  0.1  4276 1492 ?        S    15:07   0:00 smtp -t unix -u
postfix  24258  0.0  0.1  4192 1284 ?        S    15:07   0:00 proxymap -t unix -u
wwwrun   24264  0.2  1.1 22456 11308 ?       S    15:08   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
postfix  24267  0.0  0.1  4204 1312 ?        S    15:09   0:00 flush -z -t unix -u
wwwrun   24268  0.1  1.0 22248 11088 ?       S    15:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24270  0.0  0.9 21148 9672 ?        S    15:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24271  0.2  1.0 22160 11028 ?       S    15:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24272  0.7  1.1 22600 11384 ?       S    15:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
wwwrun   24273  0.1  1.0 22236 11016 ?       S    15:09   0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
root     24275  0.0  0.0     0    0 ?        Z    15:10   0:00 [cron] <defunct>
root     24277  0.0  0.0  2668  720 pts/0    R    15:10   0:00 ps -aux

jan10001
Anbieter
Posts: 727
Joined: 2004-01-02 12:17

Re: Server kommt nicht mehr nach...

Post by jan10001 » 2005-04-14 07:43

Mehr Speicher einbauen. ;)

newbie
Posts: 63
Joined: 2003-04-03 18:34

Re: Server kommt nicht mehr nach...

Post by newbie » 2005-04-14 19:40

Danke, genau das ist die Antwort die ich nicht gebraucht habe, zumal ich extra dazu geschrieben habe dass es sich um einen Server bei Strato handelt, in den ich halt nicht la gerade eben so neuen Speicher einbauen kann ;)

User avatar
Joe User
Project Manager
Project Manager
Posts: 11583
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Server kommt nicht mehr nach...

Post by Joe User » 2005-04-14 20:13

Alle nicht benötigten Module/Features (SSL,info,status,speling,usertrack,uniqueid,pipelog,etc...) aus der Apache/PHP-Konfiguration entfernen und die Werte für StartServers, etc wieder nach unten korrigieren. Desweiteren solltest Du auch Ressourcenfresser wie etwa Amavis, Spamassassin und Antivir deaktivieren.

BTW: Ein Kernel-Update ist ebenfalls mehr als überfällig...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

jan10001
Anbieter
Posts: 727
Joined: 2004-01-02 12:17

Re: Server kommt nicht mehr nach...

Post by jan10001 » 2005-04-14 21:09

Hm, wäre es nicht eventuell sinnvoll bei Apache worker einzusetzen statt prefork?

oxygen
RSAC
Posts: 2179
Joined: 2002-12-15 00:10
Location: Bergheim

Re: Server kommt nicht mehr nach...

Post by oxygen » 2005-04-14 21:44

jan10001 wrote:Hm, wäre es nicht eventuell sinnvoll bei Apache worker einzusetzen statt prefork?
Wenn HT aktiviert ist und du dann einen 2.6'er Kernel verwenden würdest, könnte das was bringen.

newbie
Posts: 63
Joined: 2003-04-03 18:34

Re: Server kommt nicht mehr nach...

Post by newbie » 2005-04-14 22:35

Okay...

Den Kernel muss ich berichtigen auf 2.4.29 (auch nicht viel aktueller, ich weis). Spamassassin und Antivir hab ich testweise mal ne Weile abgestellt, aber leider ohne nennenswerten Erfolg.

Die Werte StartServers 50, MinSpareServers 50 und MaxSpareServers 65
Hab ich mal reduziert auf StartServers 25, MinSpareServers 25 und MaxSpareServers 50, was recht gute Verbesserungen gebracht hat.

Bei den Modulen bleibt wohl nicht sehr viel Rahmen für Optimierung. Momentan sieht es so aus:

Code: Select all

LoadModule access_module                  /usr/lib/apache2-prefork/mod_access.so
LoadModule actions_module                 /usr/lib/apache2-prefork/mod_actions.so
LoadModule alias_module                   /usr/lib/apache2-prefork/mod_alias.so
LoadModule auth_module                    /usr/lib/apache2-prefork/mod_auth.so
LoadModule auth_dbm_module                /usr/lib/apache2-prefork/mod_auth_dbm.so
LoadModule autoindex_module               /usr/lib/apache2-prefork/mod_autoindex.so
LoadModule cgi_module                     /usr/lib/apache2-prefork/mod_cgi.so
LoadModule dir_module                     /usr/lib/apache2-prefork/mod_dir.so
LoadModule env_module                     /usr/lib/apache2-prefork/mod_env.so
LoadModule expires_module                 /usr/lib/apache2-prefork/mod_expires.so
LoadModule include_module                 /usr/lib/apache2-prefork/mod_include.so
LoadModule log_config_module              /usr/lib/apache2-prefork/mod_log_config.so
LoadModule mime_module                    /usr/lib/apache2-prefork/mod_mime.so
LoadModule negotiation_module             /usr/lib/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module                /usr/lib/apache2-prefork/mod_setenvif.so
LoadModule ssl_module                     /usr/lib/apache2-prefork/mod_ssl.so
LoadModule suexec_module                  /usr/lib/apache2-prefork/mod_suexec.so
LoadModule userdir_module                 /usr/lib/apache2-prefork/mod_userdir.so
LoadModule php4_module                    /usr/lib/apache2-prefork/libphp4.so
LoadModule rewrite_module                 /usr/lib/apache2-prefork/mod_rewrite.so
Danke übrigens für eure Hilfe!

jan10001
Anbieter
Posts: 727
Joined: 2004-01-02 12:17

Re: Server kommt nicht mehr nach...

Post by jan10001 » 2005-04-15 07:31

Wenn möglich würde ich auf den Einsatz von rewrite verzichten und das Modul rausnehmen.

User avatar
Joe User
Project Manager
Project Manager
Posts: 11583
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Server kommt nicht mehr nach...

Post by Joe User » 2005-04-15 10:09

mod_rewrite wird von Confixx benötigt, aber mod_autoindex, mod_include und mod_userdir dürften nicht zwingend benötigt werden. Ansonsten sollten die Standardwerte für MPM-prefork bei dem Setup noch völlig ausreichen:

Code: Select all

<IfModule prefork.c>
    StartServers         5
    MinSpareServers      5
    MaxSpareServers     10
    ServerLimit        150
    MaxClients         150
    MaxRequestsPerChild  0
</IfModule>
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

newbie
Posts: 63
Joined: 2003-04-03 18:34

Re: Server kommt nicht mehr nach...

Post by newbie » 2005-04-15 14:32

Okay, habs geändert und die Geschwindigkeit ist wieder in annehmbaren Regionen.

Nochmals vielen Dank!

Roger Wilco
Administrator
Administrator
Posts: 6001
Joined: 2004-05-23 12:53

Re: Server kommt nicht mehr nach...

Post by Roger Wilco » 2005-04-15 17:03

Du könntest desweiteren auch den Umstieg auf ein anderes MPM in Betracht ziehen. mpm_prefork ist etwas langsamer als z. B. mpm_worker. Ã?ber die Zusammenarbeit zwischen mpm_worker und mod_php gab es hier auch schon eine Diskussion zwischen andreas2k und Joe User, wenn ich mich recht entsinne.

User avatar
Joe User
Project Manager
Project Manager
Posts: 11583
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Server kommt nicht mehr nach...

Post by Joe User » 2005-04-15 17:21

Die Diskussion zwischen Andreas und mir findet sich im Archiv:
http://www.rootforum.org/forum/viewtopic.php?t=31628
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.