[+] apache - bardzo wolne dzia

Konfiguracja serwerów, usług, itp.
denis94
Posty: 11
Rejestracja: 07 lipca 2010, 00:57

[+] apache - bardzo wolne działanie

Post autor: denis94 »

Witam.

Odkąd zmieniłem dostawce vpsa pojawił się problem z apache. Działa bardzo wolno, czasami strona ładuje się nawet 5 minut. Inne aplikacje działają normalnie. Obciążenie procesora mam zawsze 0.00 - 0.15. Webmin w uruchomionych procesach pokazuje aż 10 takich samych procesów apache o nazwie /usr/sbin/apache2 -k start.

Proszę o pomoc gdyż praktycznie w ogóle nie da się poruszać po stronie i myślę, że coś stało się podczas instalacji, konfiguracji apache.
kaworu
Posty: 72
Rejestracja: 05 lutego 2009, 20:20

Post autor: kaworu »

Wygasł mi abonament na jasnowidzenie. Zobacz czy nie ma czegoś ciekawego w logach, jaka jest paczka apache zainstalowane dokładnie prefork, worker czy jakaś inna wariacja, pokaż konfig. Może coś poradzimy.
denis94
Posty: 11
Rejestracja: 07 lipca 2010, 00:57

Post autor: denis94 »

error log

Kod: Zaznacz cały

[Sun Aug 01 11:33:20 2010] [info] [client 87.205.194.8] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 11:33:45 2010] [info] [client 87.205.194.8] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 11:37:15 2010] [info] [client 109.95.150.93] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 11:42:55 2010] [info] [client 188.47.101.216] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 11:46:36 2010] [info] [client 109.243.213.45] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 11:46:53 2010] [info] [client 109.243.213.45] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 11:47:00 2010] [info] [client 109.243.213.45] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 11:54:05 2010] [info] [client 83.238.196.225] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 11:54:54 2010] [info] [client 188.47.67.66] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 11:57:13 2010] [info] [client 94.40.41.45] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 11:57:43 2010] [info] [client 94.40.41.45] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:00:33 2010] [info] [client 188.47.67.66] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:01:12 2010] [info] [client 81.168.191.22] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:01:55 2010] [info] [client 188.47.189.113] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:09:00 2010] [info] [client 87.206.113.129] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:12:01 2010] [info] [client 83.23.199.85] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:16:51 2010] [info] [client 83.30.117.239] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:20:01 2010] [info] [client 94.240.43.236] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:20:24 2010] [info] [client 94.240.43.236] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:22:03 2010] [info] [client 213.238.70.36] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:23:47 2010] [info] [client 84.10.254.7] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:24:07 2010] [info] [client 84.10.254.7] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:24:30 2010] [info] [client 84.10.254.7] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:24:46 2010] [info] [client 84.10.254.7] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:24:51 2010] [info] [client 83.30.117.239] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:25:14 2010] [info] [client 84.10.254.7] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:25:46 2010] [info] [client 84.10.254.7] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:26:13 2010] [info] [client 84.10.254.7] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:26:36 2010] [info] [client 84.10.254.7] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:27:11 2010] [info] [client 83.238.164.32] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:28:00 2010] [info] [client 84.10.254.7] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:28:40 2010] [info] [client 79.184.61.205] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:28:52 2010] [info] [client 79.184.61.205] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:29:27 2010] [info] [client 89.78.191.141] (32)Broken pipe: core_output_filter: writing data to the network
[Sun Aug 01 12:31:26 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:31:55 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:35:26 2010] [error] [client 77.253.82.105] File does not exist: /var/www/test/staty/staty.css, referer: http://www.interstacje.pl/test/staty/staty.php
[Sun Aug 01 12:36:17 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:36:39 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:36:39 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:36:39 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:36:39 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:36:39 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:36:57 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:36:57 2010] [info] [client 188.109.216.243] (104)Connection reset by peer: core_output_filter: writing data to the network
[Sun Aug 01 12:37:19 2010] [error] [client 77.253.82.105] File does not exist: /var/www/panel-start/include, referer: http://panel-start.interstacje.pl/
[Sun Aug 01 12:37:20 2010] [error] [client 77.253.82.105] File does not exist: /var/www/panel-start/favicon.ico
[Sun Aug 01 12:37:23 2010] [error] [client 77.253.82.105] File does not exist: /var/www/panel-start/favicon.ico
[Sun Aug 01 12:38:05 2010] [error] [client 77.253.82.105] File does not exist: /var/www/test/staty/staty.css, referer: http://www.interstacje.pl/test/staty/staty.php
[Sun Aug 01 12:39:17 2010] [info] [client 77.253.82.105] (32)Broken pipe: core_output_filter: writing data to the network
access log:

Kod: Zaznacz cały

217.96.52.90 - - [01/Aug/2010:12:50:15 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
85.89.190.89 - - [01/Aug/2010:12:50:16 +0200] "GET /stat.php?ip=188.165.217.130&po=7090&kc=0000ff&tl=46&li=1 HTTP/1.1" 200 1278 "http://sylwialacfik.bloog.pl/kat,0,page,40,index.html" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)"
85.89.190.89 - - [01/Aug/2010:12:50:16 +0200] "GET /generator/stat/images/tlo/46.png HTTP/1.1" 200 60032 "http://www.interstacje.pl/stat.php?ip=188.165.217.130&po=7090&kc=0000ff&tl=46&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)"
89.229.8.109 - - [01/Aug/2010:12:50:20 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 GTB7.1 (.NET CLR 3.5.30729)"
188.47.67.66 - - [01/Aug/2010:12:50:20 +0200] "GET /player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1 HTTP/1.1" 200 1816 "http://old.polishrpg.pl/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19"
79.191.56.218 - - [01/Aug/2010:12:50:20 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19"
89.200.166.131 - - [01/Aug/2010:12:50:22 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=3&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
217.96.52.90 - - [01/Aug/2010:12:50:23 +0200] "GET /player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1 HTTP/1.1" 200 1816 "http://old.polishrpg.pl/index.php" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
217.96.52.90 - - [01/Aug/2010:12:50:23 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
217.96.52.90 - - [01/Aug/2010:12:50:27 +0200] "GET /player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1 HTTP/1.1" 200 1816 "http://old.polishrpg.pl/index.php" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
217.96.52.90 - - [01/Aug/2010:12:50:27 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
85.202.46.52 - - [01/Aug/2010:12:50:28 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=33&li=0" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4"
83.1.217.68 - - [01/Aug/2010:12:50:37 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=33&li=0" "Opera/9.80 (Windows NT 6.1; U; pl) Presto/2.2.15 Version/10.00"
127.0.0.1 - - [01/Aug/2010:12:50:37 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch (internal dummy connection)"
89.174.61.146 - - [01/Aug/2010:12:50:38 +0200] "GET /player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1 HTTP/1.1" 200 1816 "http://old.polishrpg.pl/index.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
94.40.103.77 - - [01/Aug/2010:12:50:42 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=33&li=0" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 AskTbPTF/3.8.0.12304 Firefox/3.6.8 ( .NET CLR 3.5.30729)"
83.25.152.172 - - [01/Aug/2010:12:50:43 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=33&li=0" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4"
87.205.79.103 - - [01/Aug/2010:12:50:45 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=33&li=0" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)"
79.185.120.122 - - [01/Aug/2010:12:50:49 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=33&li=0" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4"
89.229.8.109 - - [01/Aug/2010:12:50:52 +0200] "GET /images/button.png HTTP/1.1" 301 284 "http://178.63.177.206/news.php" "Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 GTB7.1 (.NET CLR 3.5.30729)"
83.30.117.239 - - [01/Aug/2010:12:50:54 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)"
89.229.8.109 - - [01/Aug/2010:12:50:57 +0200] "GET /images/button.png HTTP/1.1" 301 284 "http://178.63.177.206/news.php" "Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 GTB7.1 (.NET CLR 3.5.30729)"
89.229.180.88 - - [01/Aug/2010:12:51:03 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
78.8.42.42 - - [01/Aug/2010:12:51:04 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=33&li=0" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
89.229.143.238 - - [01/Aug/2010:12:51:05 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=ffffff&tl=33&li=1" "Opera/9.80 (Windows NT 6.0; U; pl) Presto/2.6.30 Version/10.60"
89.174.61.146 - - [01/Aug/2010:12:51:05 +0200] "GET /player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1 HTTP/1.1" 200 1816 "http://old.polishrpg.pl/index.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
89.229.8.109 - - [01/Aug/2010:12:51:09 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 GTB7.1 (.NET CLR 3.5.30729)"
217.96.52.90 - - [01/Aug/2010:12:51:10 +0200] "GET /player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1 HTTP/1.1" 200 1816 "http://old.polishrpg.pl/index.php" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
217.96.52.90 - - [01/Aug/2010:12:51:10 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
79.191.56.218 - - [01/Aug/2010:12:51:13 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19"
77.252.147.2 - - [01/Aug/2010:12:51:13 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.0" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4"
83.31.92.144 - - [01/Aug/2010:12:51:14 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)"
89.200.166.131 - - [01/Aug/2010:12:51:23 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=3&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8"
127.0.0.1 - - [01/Aug/2010:12:51:27 +0200] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch (internal dummy connection)"
85.202.46.52 - - [01/Aug/2010:12:51:28 +0200] "GET /player/staty2.php?ip=s9.myradiostream.com&port=12118 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=RADIO-ARES&sl=Kana%C5%82%20Mix&ip=s9.myradiostream.com&po=12118&kp=F5F5F5&kf=000000&ks=ffffff&kc=000000&tl=33&li=0" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4"
77.253.150.223 - - [01/Aug/2010:12:51:32 +0200] "GET /player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1 HTTP/1.1" 200 1816 "http://old.polishrpg.pl/index.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 (.NET CLR 3.5.30729)"
77.253.150.223 - - [01/Aug/2010:12:51:32 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 (.NET CLR 3.5.30729)"
83.31.92.144 - - [01/Aug/2010:12:51:32 +0200] "GET /player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1 HTTP/1.1" 200 1816 "http://old.polishrpg.pl/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)"
77.253.150.223 - - [01/Aug/2010:12:51:32 +0200] "GET /player1.swf HTTP/1.1" 200 10816 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 (.NET CLR 3.5.30729)"
83.31.92.144 - - [01/Aug/2010:12:51:32 +0200] "GET /player/staty2.php?ip=interstacje.pl&port=8046 HTTP/1.1" 200 419 "http://www.interstacje.pl/player.php?na=Polish%20RPG&sl=Jedyny%20Taki%20Serwer&ip=interstacje.pl&po=8046&kp=0000ff&kf=000000&ks=ffffff&kc=ffffff&tl=9&li=1" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)"
/etc/apache2/sites-available/default:

Kod: Zaznacz cały

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    
    DocumentRoot /var/www/
    
    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel Info

    CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>
apache2-conf

Kod: Zaznacz cały

#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.2/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as a
#     whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' server,
#     which responds to requests that aren't handled by a virtual host.
#     These directives also provide default values for the settings
#     of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
#     different IP addresses or hostnames and have them handled by the
#     same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "/var/log/apache2/foo.log"
# with ServerRoot set to "" will be interpreted by the
# server as "//var/log/apache2/foo.log".
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation (available
# at <URL:http://httpd.apache.org/docs-2.1/mod/mpm_common.html#lockfile>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "/etc/apache2"

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
#<IfModule !mpm_winnt.c>
#<IfModule !mpm_netware.c>
LockFile /var/lock/apache2/accept.lock
#</IfModule>
#</IfModule>

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## 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 mpm_prefork_module>
StartServers       1
MinSpareServers    1
MaxSpareServers    5
MaxClients        10
    MaxRequestsPerChild   0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# 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 mpm_worker_module>
StartServers       1
MaxClients        10
MinSpareThreads    1
MaxSpareThreads    4
    ThreadsPerChild      25
    MaxRequestsPerChild   0
</IfModule>

# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives.  See also the AllowOverride
# directive.
#

AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being 
# viewed by Web clients. 
#
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

#
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value.  If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain


#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog /var/log/apache2/error.log

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf

# Include all the user configurations:
Include /etc/apache2/httpd.conf

# Include ports listing
Include /etc/apache2/ports.conf

#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
# If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

#
# Define an access log for VirtualHosts that don't define their own logfile
CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# Putting this all together, we can internationalize error responses.
#
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
# our collection of by-error message multi-language collections.  We use 
# includes to substitute the appropriate text.
#
# You can modify the messages' appearance without changing any of the
# default HTTP_<error>.html.var files by adding the line:
#
#   Alias /error/include/ "/your/include/path/"
#
# which allows you to create your own set of files by starting with the
# /usr/share/apache2/error/include/ files and copying them to /your/include/path/, 
# even on a per-VirtualHost basis.  The default include files will display
# your Apache version number and your ServerAdmin email address regardless
# of the setting of ServerSignature.
#
# The internationalized error documents require mod_alias, mod_include
# and mod_negotiation.  To activate them, uncomment the following 30 lines.

#    Alias /error/ "/usr/share/apache2/error/"

<Directory "/usr/share/apache2/error">
        AllowOverride All
        Options IncludesNoExec
        AddOutputFilter Includes html
        AddHandler type-map var
        Order allow,deny
        Allow from all
        LanguagePriority en cs de es fr it nl sv pt-br ro
        ForceLanguagePriority Prefer Fallback
</Directory>

#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
#    ErrorDocument 410 /error/HTTP_GONE.html.var
#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var



# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.

# Include generic snippets of statements
Include /etc/apache2/conf.d/

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
httpd.conf - pusty

Na podstawie logów nie jestem w stanie nic wywnioskować. Gdzie znajdę ten prefork?

Reset serwera pomaga na kilka minut, moja strona www.interstacje.pl
Serwer co jakiś czas sam się wyłącza.
kaworu
Posty: 72
Rejestracja: 05 lutego 2009, 20:20

Post autor: kaworu »

Wygląda na dość obleganą stronę. Wpisz

Kod: Zaznacz cały

aptitude search apache2
tam gdzie będziesz miał i A to to jest zainstalowane, ja mam np apache2-mpm-prefork. Jak już będziesz wiedział co masz pobaw się ustawieniami w apache2.conf w sekcji prefork/worker MPM, możesz zwiększyć lekko liczby i zobaczyć, możliwe ze ruch zatyka Ci apache i zjada całe jego zasoby. Sprawdź również czy apache i php są aktualne. Większa ilość procesów apache to normalne, dzięki temu jest w stanie obsłużyć wiele zapytań na raz.
denis94
Posty: 11
Rejestracja: 07 lipca 2010, 00:57

Post autor: denis94 »

Tam gdzie mam i A mam libapache2-mod-php5 ale w tym spisie mam też samo i bez A i tam jest apache2-mpm-prefork

Pogrzebię jeszcze w ustawieniach apache2.conf.


Edycja:

Dziękuję, po zmianie liczb na większe uruchamia się około 20 procesów i strona jak na razie działa szybko.
ODPOWIEDZ