beim restart kommt jetzt folgende fehlermeldung:
Code:
debian:/etc/init.d# ./apache2 restart
Forcing reload of web server: Apache2WARNING: MaxClients of 150 would require 30 servers,
and would exceed the ServerLimit value of 16.
Automatically lowering MaxClients to 80. To increase,
please see the ServerLimit directive.
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
WARNING: MaxClients of 150 would require 30 servers,
and would exceed the ServerLimit value of 16.
Automatically lowering MaxClients to 80. To increase,
please see the ServerLimit directive.
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
.
debian:/etc/init.d#
dann mache ich ps- aux
Code:
debian:/etc/apache2# ps -aux
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1492 508 ? S Mar30 0:06 init [2]
root 2 0.0 0.0 0 0 ? S Mar30 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SN Mar30 0:00 [ksoftirqd_CPU0]
root 4 0.0 0.0 0 0 ? S Mar30 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? S Mar30 0:00 [bdflush]
root 6 0.0 0.0 0 0 ? S Mar30 0:00 [kupdated]
root 8 0.0 0.0 0 0 ? S< Mar30 0:00 [mdrecoveryd]
root 9 0.0 0.0 0 0 ? S Mar30 0:00 [kcopyd]
root 10 0.0 0.0 0 0 ? S Mar30 0:00 [kmirrord]
root 11 0.0 0.0 0 0 ? S Mar30 0:00 [kjournald]
root 282 0.0 0.0 1540 632 ? Ss Mar30 0:00 /sbin/syslogd
root 285 0.0 0.1 2268 1388 ? Ss Mar30 0:00 /sbin/klogd
root 299 0.0 0.0 1520 576 ? Ss Mar30 0:00 /usr/sbin/inetd
root 322 0.0 0.1 3720 1540 ? Ss Mar30 0:00 /usr/sbin/sshd
root 327 0.0 0.0 3044 808 ? Ss Mar30 0:00 /usr/sbin/vsftpd
daemon 330 0.0 0.0 1672 628 ? Ss Mar30 0:00 /usr/sbin/atd
root 334 0.0 0.0 1756 808 ? Ss Mar30 0:00 /usr/sbin/cron
root 406 0.0 0.0 1484 476 tty1 Ss+ Mar30 0:00 /sbin/getty 38400 tty1
root 407 0.0 0.0 1484 476 tty2 Ss+ Mar30 0:00 /sbin/getty 38400 tty2
root 408 0.0 0.0 1484 476 tty3 Ss+ Mar30 0:00 /sbin/getty 38400 tty3
root 409 0.0 0.0 1484 476 tty4 Ss+ Mar30 0:00 /sbin/getty 38400 tty4
root 410 0.0 0.0 1484 476 tty5 Ss+ Mar30 0:00 /sbin/getty 38400 tty5
root 411 0.0 0.0 1484 476 tty6 Ss+ Mar30 0:00 /sbin/getty 38400 tty6
fgpadmin 14496 0.0 0.2 20088 2140 ? SN 07:49 0:01 ./server_linux -PID=tsserver2.pid
fgpadmin 14497 0.0 0.2 20088 2140 ? S 07:49 0:00 ./server_linux -PID=tsserver2.pid
fgpadmin 14498 0.0 0.2 20088 2140 ? S 07:49 0:00 ./server_linux -PID=tsserver2.pid
fgpadmin 14499 0.0 0.2 20088 2140 ? S 07:49 0:00 ./server_linux -PID=tsserver2.pid
fgpadmin 14500 0.0 0.2 20088 2140 ? S 07:49 0:00 ./server_linux -PID=tsserver2.pid
fgpadmin 14501 0.0 0.2 20088 2140 ? S 07:49 0:00 ./server_linux -PID=tsserver2.pid
fgpadmin 14502 0.0 0.2 20088 2140 ? S 07:49 0:01 ./server_linux -PID=tsserver2.pid
fgpadmin 14503 0.0 0.2 20088 2140 ? S 07:49 0:01 ./server_linux -PID=tsserver2.pid
fgpadmin 14504 0.0 0.2 20088 2140 ? S 07:49 0:00 ./server_linux -PID=tsserver2.pid
fgpadmin 14772 0.0 0.2 3580 2248 ? S 07:57 0:00 ./eggdrop
root 14774 0.0 0.2 6612 2072 ? Ss 07:58 0:00 sshd: root@pts/0
root 14776 0.0 0.2 6612 2072 ? S 07:58 0:00 sshd: root@pts/0
root 14778 0.0 0.1 2600 1488 pts/0 Ss 07:58 0:00 -bash
root 14787 0.0 0.1 2656 1192 ? Ss 07:59 0:00 SCREEN -dmS cstrike ./srcds_run -game cstrike -ip 213.239.220.4
root 14788 0.0 0.1 2396 1192 pts/2 Ss+ 07:59 0:00 /bin/sh ./srcds_run -game cstrike -ip 213.239.220.46 -port 2701
root 14803 0.0 5.5 126240 55952 pts/2 S+ 07:59 0:06 ./srcds_amd -game cstrike -ip 213.239.220.46 -port 27015 +rcon_
root 16860 0.0 0.2 7240 2820 ? Ss 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16861 0.0 0.2 7032 2600 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16862 0.0 0.3 22736 3228 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16863 0.0 0.2 21576 2856 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16864 0.0 0.3 22736 3228 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16865 0.0 0.2 21576 2856 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16868 0.0 0.3 22736 3228 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16869 0.0 0.3 22736 3228 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16870 0.0 0.2 21576 2856 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16871 0.0 0.2 21576 2856 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16872 0.0 0.3 22736 3228 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16873 0.0 0.3 22736 3228 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16874 0.0 0.2 21576 2856 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16875 0.0 0.3 22736 3228 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16876 0.0 0.2 21576 2856 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16877 0.0 0.2 21576 2856 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16878 0.0 0.3 22736 3228 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 16879 0.0 0.2 21576 2856 ? S 09:44 0:00 /usr/sbin/apache2 -k start -DSSL
root 16881 0.0 0.0 2480 856 pts/0 R+ 09:46 0:00 ps -aux
debian:/etc/apache2#
das steht in der conf:
Code:
##
## Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
# StartServers ......... number of server processes to start
# MinSpareServers ...... minimum number of server processes which are kept spare
# MaxSpareServers ...... maximum number of server processes which are kept spare
# MaxClients ........... maximum number of server processes allowed to start
# MaxRequestsPerChild .. maximum number of requests a server process serves
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 20
MaxRequestsPerChild 0
</IfModule>
# pthread MPM
# StartServers ......... initial number of server processes to start
# MaxClients ........... maximum number of server processes allowed to start
# MinSpareThreads ...... minimum number of worker threads which are kept spare
# MaxSpareThreads ...... maximum number of worker threads which are kept spare
# ThreadsPerChild ...... constant number of worker threads in each server process
# MaxRequestsPerChild .. maximum number of requests a server process serves
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 5
MaxSpareThreads 15
ThreadsPerChild 5
MaxRequestsPerChild 0
</IfModule>
Lesezeichen