Uniq IP: 386     Established connection:  938<br>limit_req_zone $binary_remote_addr  zone=avi:10m   rate=2r/m;<br>По-моему - как до Луны... :)<br><br>log:<br>217.118.90.158 - - [16/Jul/2009:02:02:18 +0400] 40.311 bytes=575302136- GET /filmiki/mary.poppins.cd2.avi HTTP/1.0 ZZ 206 30216 &quot;Download Master&quot;<br>

<br>Debug:<br>2009/07/16 02:01:37 [debug] 55481#0: *594615 accept: 217.118.90.158 fd:130<br>2009/07/16 02:01:37 [debug] 55481#0: *594615 event timer add: 130: 30000:2154811833<br>2009/07/16 02:01:37 [debug] 55481#0: *594615 kevent set event: 130: ft:-1 fl:0025<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 post event 2844FD20<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 delete posted event 2844FD20<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 malloc: 29030400:660<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 malloc: 29030800:1024<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 malloc: 29039000:4096<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http process request line<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 recv: eof:0, avail:424, err:0<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 recv: fd:130 424 of 1024<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http request line: &quot;GET /filmiki/mary.poppins.cd2.avi HTTP/1.0&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http uri: &quot;/filmiki/mary.poppins.cd2.avi&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http args: &quot;&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http exten: &quot;avi&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http process request header line<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http header: &quot;User-Agent: Download Master&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http header: &quot;Cookie: __utma=17544366.2091389341.1247520403.1247520403.1247520403.1; __utmz=17544366.1247520403.1.1.utmccn=(referral)|utmcsr=<a href="http://multiki.arjlover.net" target="_blank">multiki.arjlover.net</a>|utmcct=/|utmcmd=referral&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http header: &quot;Accept: */*&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http header: &quot;Referer: <a href="http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html" target="_blank">http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html</a>&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http header: &quot;Range: bytes=575302136-&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http header: &quot;Pragma: no-cache&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http header: &quot;Cache-Control: no-cache&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http header: &quot;Host: <a href="http://inka.arjlover.net" target="_blank">inka.arjlover.net</a>&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http header done<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 event timer del: 130: 2154811833<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 generic phase: 0<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 add cleanup: 29039598<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 generic phase: 1<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 test location: &quot;/&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 test location: &quot;50x.html&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 test location: &quot;statn&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 test location: &quot;no.html&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 test location: ~ &quot;/php2/&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 test location: ~ &quot;/mrtg/.*&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 test location: ~ &quot;\.(html|php|pl)$&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 test location: ~ &quot;/(stat|session)/&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 test location: ~ &quot;^/(film|filmiki|multiki)/.*\.(avi|mpg|gif|jpg)$&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 using configuration &quot;^/(film|filmiki|multiki)/.*\.(avi|mpg|gif|jpg)$&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http cl:-1 max:1048576<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 generic phase: 3<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http script var<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http script var: &quot;&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http script if<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http script if: false<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http script var<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http script var: &quot;/filmiki/mary.poppins.cd2.avi&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http script regex: &quot;\.(gif|jpg)$&quot;<br>2009/07/16 02:01:38 [notice] 55481#0: *594615 &quot;\.(gif|jpg)$&quot; does not match &quot;/filmiki/mary.poppins.cd2.avi&quot;, client: 217.118.90.158, server: <a href="http://inka.arjlover.net" target="_blank">inka.arjlover.net</a>, request: &quot;GET /filmiki/mary.poppins.cd2.avi HTTP/1.0&quot;, host: &quot;<a href="http://inka.arjlover.net" target="_blank">inka.arjlover.net</a>&quot;, referrer: &quot;<a href="http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html" target="_blank">http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html</a>&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http script if<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http script if: false<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 post rewrite phase: 4<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 generic phase: 5<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 add cleanup: 290396A8<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 generic phase: 6<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 limit_req: -2 0.308<br>2009/07/16 02:01:38 [warn] 55481#0: *594615 delaying request, excess: 0.308, by zone &quot;avi&quot;, client: 217.118.90.158, server: <a href="http://inka.arjlover.net" target="_blank">inka.arjlover.net</a>, request: &quot;GET /filmiki/mary.poppins.cd2.avi HTTP/1.0&quot;, host: &quot;<a href="http://inka.arjlover.net" target="_blank">inka.arjlover.net</a>&quot;, referrer: &quot;<a href="http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html" target="_blank">http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html</a>&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 event timer add: 130: 308:2154782904<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 event timer del: 130: 2154782904<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http run request: &quot;/filmiki/mary.poppins.cd2.avi?&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 add cleanup: 290396A8<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 generic phase: 6<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 limit_req: -2 0.308<br>2009/07/16 02:01:38 [warn] 55481#0: *594615 delaying request, excess: 0.308, by zone &quot;avi&quot;, client: 217.118.90.158, server: <a href="http://inka.arjlover.net" target="_blank">inka.arjlover.net</a>, request: &quot;GET /filmiki/mary.poppins.cd2.avi HTTP/1.0&quot;, host: &quot;<a href="http://inka.arjlover.net" target="_blank">inka.arjlover.net</a>&quot;, referrer: &quot;<a href="http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html" target="_blank">http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html</a>&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 event timer add: 130: 308:2154782904<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 event timer del: 130: 2154782904<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http run request: &quot;/filmiki/mary.poppins.cd2.avi?&quot;<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 limit_req delay<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 generic phase: 6<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 generic phase: 7<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 add cleanup: 290396C4<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 limit zone: 7D873670 2<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 access phase: 8<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 access phase: 9<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 post access phase: 10<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 content phase: 11<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 content phase: 12<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 content phase: 13<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 content phase: 14<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 content phase: 15<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http filename: &quot;/data/filmiki/mary.poppins.cd2.avi&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 add cleanup: 290396FC<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http static fd: 163<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http set discard body<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 HTTP/1.1 206 Partial Content<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 write new buf t:1 f:0 29039898, pos 29039898, size: 292 file: 0, size: 0<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http write filter: l:0 f:0 s:292<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http output filter &quot;/filmiki/mary.poppins.cd2.avi?&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http range body buf: 0-734515200<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 copy filter: &quot;/filmiki/mary.poppins.cd2.avi?&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http postpone filter &quot;/filmiki/mary.poppins.cd2.avi?&quot; 7FBFE8F0<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 write old buf t:1 f:0 29039898, pos 29039898, size: 292 file: 0, size: 0<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 write new buf t:0 f:1 00000000, pos 00000000, size: 0 file: 575302136, size: 159213064<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 http write filter: l:1 f:0 s:159213356<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http write filter limit 65536<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 tcp_nopush<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 sendfile() sent only 30508 bytes (35: Resource temporarily unavailable)<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 sendfile: -1, @575302136 30508:67080<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http write filter 29039A0C<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 copy filter: -2 &quot;/filmiki/mary.poppins.cd2.avi?&quot;<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 http finalize request: -2, &quot;/filmiki/mary.poppins.cd2.avi?&quot; 1<br>

2009/07/16 02:01:38 [debug] 55481#0: *594615 event timer add: 130: 40000:2154822906<br>2009/07/16 02:01:38 [debug] 55481#0: *594615 kevent set event: 130: ft:-2 fl:0025<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 event timer del: 130: 2154822906<br>

2009/07/16 02:02:18 [debug] 55481#0: *594615 http run request: &quot;/filmiki/mary.poppins.cd2.avi?&quot;<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 http writer handler: &quot;/filmiki/mary.poppins.cd2.avi?&quot;<br>

2009/07/16 02:02:18 [info] 55481#0: *594615 client timed out (60: Operation timed out) while sending response to client, client: 217.118.90.158, server: <a href="http://inka.arjlover.net" target="_blank">inka.arjlover.net</a>, request: &quot;GET /filmiki/mary.poppins.cd2.avi HTTP/1.0&quot;, host: &quot;<a href="http://inka.arjlover.net" target="_blank">inka.arjlover.net</a>&quot;, referrer: &quot;<a href="http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html" target="_blank">http://filmiki.arjlover.net/info/mary.poppins.cd2.avi.html</a>&quot;<br>

2009/07/16 02:02:18 [debug] 55481#0: *594615 http finalize request: 408, &quot;/filmiki/mary.poppins.cd2.avi?&quot; 1<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 http close request<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 http log handler<br>

2009/07/16 02:02:18 [debug] 55481#0: *594615 http geo started: 217.118.90.158<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 http geo: ZZ<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 run cleanup: 290396FC<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 file cleanup: fd:163<br>

2009/07/16 02:02:18 [debug] 55481#0: *594615 run cleanup: 290396C4<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 free: 29039000, unused: 1211<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 close http connection: 130<br>

2009/07/16 02:02:18 [debug] 55481#0: *594615 free: 29030800<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 free: 29030400<br>2009/07/16 02:02:18 [debug] 55481#0: *594615 free: 2846FF00, unused: 56<br><br><br>Как я понимаю - коннект ушел на удержание, но оборвался через время равное  send_timeout 40s; <br>
Фича? Конфликт двух настроек? Но вылазит только на &quot;Download Master&quot;? Истина где-то рядом.... :)<br><br>Антон.<br><br><br><div class="gmail_quote">2009/7/15 Михаил Монашёв <span dir="ltr">&lt;<a href="mailto:postmaster@softsearch.ru" target="_blank">postmaster@softsearch.ru</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Здравствуйте, Антон.<br>
<br>
Залогируй  в  существующем  логе  ещё  два  параметра:  юзерагента   и<br>
заголовок  Range.  Найди  строчки,  вызывающие  подозрение.  И  в этих<br>
подозрительных  строчках  возьми  ip  и  по нему отфильтруй всю сессию<br>
качания  от  начала  и  до конца. И если лог выйдет небольшой, то кинь<br>
сюда. Если большой, то дай на неё ссылку.<br>
<br>
<br>
P.S.<br>
Возможный  вывод  -  переполняется  зона.  Посчитай на пике количество<br>
уникальных  ip,  умнож  на  два  для верности и рассчитай размер зоны.<br>
Игорь тут как-то писал сколько на один ip тратится памяти в зоне.<br>
<div><div></div><div><br>
<br>
--<br>
<br>
С уважением,<br>
Михаил Монашёв, SoftSearch.ru<br>
mailto:<a href="mailto:postmaster@softsearch.ru" target="_blank">postmaster@softsearch.ru</a><br>
ICQ# 166233339<br>
<a href="http://michael.mindmix.ru/" target="_blank">http://michael.mindmix.ru/</a><br>
Без бэкапа по жизни.<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Anton Kuznetsov.       <br>