Вообщем действительно проблема не в парентах ...
Я заметил что TCP_ERROR викидает при больших (правда и не очень) обьектах. Для теста повесил еще оди Oops на рабочую тачку - НО там все нормально. (пробуем получить 2 html-ки с локального веб сервера) Рабочий oops: 1073914732.000 421 192.168.1.100 TCP_ERROR/200 186782 GET http://admin.service.media.lutsk.ua/big.html - DIRECT/admin.service.media.lutsk.ua text/html Тестовой 1073914859.000 1328 192.168.1.100 TCP_MISS/200 186782 GET http://admin.service.media.lutsk.ua/big.html - DIRECT/admin.service.media.lutsk.ua text/html Рабочий oops: 1073914947.000 58 192.168.1.100 TCP_MISS/200 81 GET http://admin.service.media.lutsk.ua/small.html - DIRECT/admin.service.media.lutsk.ua text/html тестовой 1073914978.000 21 192.168.1.100 TCP_MISS/200 81 GET http://admin.service.media.lutsk.ua/small.html - DIRECT/admin.service.media.lutsk.ua text/html Дальше в логе тестового: Mon Jan 12 15:44:19 2004 [0x68008]check_headers(): ---> `Connection: close' Mon Jan 12 15:44:19 2004 [0x68008]check_headers(): ---> `User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)' Mon Jan 12 15:44:19 2004 [0x68008]check_headers(): ---> `Accept: text/*, image/jpeg, image/png, image/*, */*' Mon Jan 12 15:44:19 2004 [0x68008]check_headers(): ---> `Accept-Encoding: x-gzip, x-deflate, gzip, deflate, identity' Mon Jan 12 15:44:19 2004 [0x68008]check_headers(): ---> `Accept-Charset: koi8-u, utf-8;q=0.5, *;q=0.5' Mon Jan 12 15:44:19 2004 [0x68008]check_headers(): ---> `Accept-Language: uk, en' Mon Jan 12 15:44:19 2004 [0x68008]check_headers(): ---> `Host: admin.service.media.lutsk.ua' Mon Jan 12 15:44:19 2004 [0x68008]lookup_dns_cache(): It's here Mon Jan 12 15:44:19 2004 [0x68008]deny_http_access(): Connect from 192.168.1.100 - group [media-noauth] allowed. Mon Jan 12 15:44:19 2004 [0x68008]locate_url_on_disk(): admin.service.media.lutsk.ua/big2.html:80 not found. Mon Jan 12 15:44:19 2004 [0x68008]locate_in_mem(): Not found. Mon Jan 12 15:44:19 2004 [0x68008]run_client(): read <http><admin.service.media.lutsk.ua><80></big2.html> from the net. Mon Jan 12 15:44:19 2004 [0x68008]bind_server_so(): Can't bind by group connect_from to 212.1.102.210: Cannot assign requested address Mon Jan 12 15:44:19 2004 [0x68008]lookup_dns_cache(): It's here Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): ---> `HTTP/1.1 200 OK'. Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): Status code: 200 Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): ---> `Date: Mon, 12 Jan 2004 13:44:19 GMT'. Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): ---> `Server: Apache/1.3.27 (Unix) PHP/4.3.1'. Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): ---> `Last-Modified: Mon, 12 Jan 2004 13:44:00 GMT'. Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): ---> `ETag: "20b67-2d99e-4002a4a0"'. Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): ---> `Accept-Ranges: bytes'. Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): ---> `Content-Length: 186782'. Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): ---> `Connection: close'. Mon Jan 12 15:44:19 2004 [0x68008]analyze_header(): ---> `Content-Type: text/html'. Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Downgrade flags: 0 Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Sending ready header `HTTP/1.1' -> `200 OK'. Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Sending ready header `Date:' -> `Mon, 12 Jan 2004 13:44:19 GMT'. Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Sending ready header `Server:' -> `Apache/1.3.27 (Unix) PHP/4.3.1'. Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Sending ready header `Last-Modified:' -> `Mon, 12 Jan 2004 13:44:00 GMT'. Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Sending ready header `ETag:' -> `"20b67-2d99e-4002a4a0"'. Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Sending ready header `Accept-Ranges:' -> `bytes'. Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Sending ready header `Content-Length:' -> `186782'. Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Sending ready header `Connection:' -> `close'. Mon Jan 12 15:44:19 2004 [0x68008]fill_mem_obj(): Sending ready header `Content-Type:' -> `text/html'. Mon Jan 12 15:44:19 2004 [0x10005]drop_mem_cache() : Start. Mon Jan 12 15:44:19 2004 [0x10005]drop_mem_cache() : total_size: 0MB, current_swap_size: 0MB. Mon Jan 12 15:44:19 2004 [0x10005]drop_mem_cache() : no need. Mon Jan 12 15:44:19 2004 [0xc004]garbage_collector(): 2 dns hash entries. Mon Jan 12 15:44:19 2004 [0xc004]flush_mem_cache(): Start. Mon Jan 12 15:44:19 2004 [0xc004]flush_mem_cache(): total_size: 0MB. Mon Jan 12 15:44:19 2004 [0xc004]flush_mem_cache(): total_size < lo_mark. Mon Jan 12 15:44:20 2004 [0x68008]fill_mem_obj(): Loaded successfully: received: 187044 Mon Jan 12 15:44:20 2004 [0x68008]lookup_dns_cache(): It's here Тут все ок - Loaded successfully: received: 187044 и обьект помещается в кеш В логе рабочего oops: Mon Jan 12 15:49:08 2004 [0x1f300b]check_headers(): ---> `User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i586) Opera 7.23 [en]' Mon Jan 12 15:49:08 2004 [0x1f300b]check_headers(): ---> `Host: admin.service.media.lutsk.ua' Mon Jan 12 15:49:08 2004 [0x1f300b]check_headers(): ---> `Accept: text/html, application/xml;q=0.9, application/xhtml+xml;q=0.9, image/png, image/jpeg, image/gif, image/x-xbitmapp, */*;q=0.1' Mon Jan 12 15:49:08 2004 [0x1f300b]check_headers(): ---> `Accept-Language: en;q=1.0,uk;q=0.9,ru;q=0.8' Mon Jan 12 15:49:08 2004 [0x1f300b]check_headers(): ---> `Accept-Charset: windows-1251, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1' Mon Jan 12 15:49:08 2004 [0x1f300b]check_headers(): ---> `Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0' Mon Jan 12 15:49:08 2004 [0x1f300b]check_headers(): ---> `Proxy-Connection: close' Mon Jan 12 15:49:08 2004 [0x1f300b]lookup_dns_cache(): It's here Mon Jan 12 15:49:08 2004 [0x1f300b]deny_http_access(): Connect from 192.168.1.100 - group [media-noauth] allowed. Mon Jan 12 15:49:08 2004 [0x1f300b]locate_url_on_disk(): admin.service.media.lutsk.ua/big2.html:80 not found. Mon Jan 12 15:49:08 2004 [0x1f300b]locate_in_mem(): Not found. Mon Jan 12 15:49:08 2004 [0x1f300b]run_client(): read <http><admin.service.media.lutsk.ua><80></big2.html> from the net. Mon Jan 12 15:49:08 2004 [0x1f300b]lookup_dns_cache(): It's here Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): ---> `HTTP/1.1 200 OK'. Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): Status code: 200 Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): ---> `Date: Mon, 12 Jan 2004 13:49:08 GMT'. Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): ---> `Server: Apache/1.3.27 (Unix) PHP/4.3.1'. Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): ---> `Last-Modified: Mon, 12 Jan 2004 13:44:00 GMT'. Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): ---> `ETag: "20b67-2d99e-4002a4a0"'. Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): ---> `Accept-Ranges: bytes'. Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): ---> `Content-Length: 186782'. Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): ---> `Connection: close'. Mon Jan 12 15:49:08 2004 [0x1f300b]analyze_header(): ---> `Content-Type: text/html'. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Downgrade flags: 1 Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Sending ready header `Date:' -> `Mon, 12 Jan 2004 13:49:08 GMT'. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Sending ready header `Server:' -> `Apache/1.3.27 (Unix) PHP/4.3.1'. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Sending ready header `Last-Modified:' -> `Mon, 12 Jan 2004 13:44:00 GMT'. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Sending ready header `ETag:' -> `"20b67-2d99e-4002a4a0"'. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Sending ready header `Accept-Ranges:' -> `bytes'. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Sending ready header `Content-Length:' -> `186782'. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Sending ready header `Connection:' -> `close'. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Sending ready header `Content-Type:' -> `text/html'. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): Connection closed by server. Mon Jan 12 15:49:08 2004 [0x1f300b]fill_mem_obj(): load error. Mon Jan 12 15:49:08 2004 [0x1f300b]lookup_dns_cache(): It's here А тут видим такую вот неприятную строчку : [0x1f300b]fill_mem_obj(): Connection closed by server. Естетстенно в кеш ничего не помещается От чего это (Connection closed by server.)? железо не выдерживает? плохо сконфигурирована сеть? Можна ли по подробней об Connection closed by server? Да на сервере у меня старенькое все RH 6.1 glibc 2.1.2 kernel 2.2.25 BerkeleyDB 2.7.7 API На тестовой машине Slackware 9.0 glibc 2.3.2 kernel 2.6.1 BerkeleyDB 2.7.7 API On Mon, 12 Jan 2004 17:17:28 +0500 "Sergei Golod" <[EMAIL PROTECTED]> wrote: > Кстати у меня тоже достаточно часто вылазит сообщение TCP_ERROR/200. Явных > причин пока не обнаружил > > ----- Original Message ----- > From: "Andriy T. Yanko" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, January 12, 2004 2:42 PM > Subject: Re: [OOPS] caching when use parent > > > > On Sun, 11 Jan 2004 10:24:01 +0200 (EET) > > Igor Khasilev <[EMAIL PROTECTED]> wrote: > > > > > On Sat, 10 Jan 2004, Andriy T. Yanko wrote: > > > > > > В принципе, может быть много разных причин, по которым документ не > > > сохраняется в кэше. Но еще раз: oops-у в этом смысле безразлично откуда > взят > > > документ - от парента или напрямую. Т.е. если документ может быть > > > закэширован (анализируется по заголовкам запроса, ответа, настройкам > > > oops.cfg), то он будет закэширован независимо от того. получен он от > > > парента или нет. Нужно смотреть oops.cfg, возможно - нужно смотреть > какие > > > заголовки присылает этот парент. Может он добавляет что-то такое в > > > заголовки, что не дает документу закэшироваться. > > > > 1073899837.000 1415 192.168.11.3 TCP_ERROR/200 5222 GET > http://i.bigmir.net/photo/small/276527.jpg - PARENT/ab-proxy.planetsky.com > image/jpeg > > > > Быть может причиной тому TCP_ERROR? > > Кстати почему у меня очень много TCP_ERROR ? причем код ж 200 - что значит > что обьект доставлен успешно. > > Причем независимо ото того использую парента я или нет. > > > > мой oops.cfg (acl и group не даю дабы сильно не мусорить): > > ------------------------------------------------------- > > nameserver 192.168.1.1 > > nameserver 212.1.102.2 > > bind 192.168.1.1 > > http_port 3128 > > icp_port 3130 > > userid oops > > logfile /usr/local/oops/logs/oops.log { 10 1m } unbuffered > > accesslog /usr/local/oops/logs/access.log { 20 10m } unbuffered > > pidfile /usr/local/oops/logs/oops.pid > > statistics /usr/local/oops/logs/oops_statfile > > mem_max 16m > > lo_mark 0 > > default-expire-value 7 > > ftp-expire-value 7 > > max-expire-value 30 > > last-modified-factor 5 > > default-expire-interval 1 > > icp_timeout 1000 > > disk-low-free 3 > > disk-ok-free 5 > > force_http11 > > force_completion 75 > > maxresident 1m > > insert_x_forwarded_for yes > > insert_via yes > > fetch_with_client_speed yes > > stop_cache ? > > stop_cache cgi-bin > > parent ab-proxy.planetsky.com 3128 > > #peer ab-proxy.planetsky.com 3128 0 { > > # parent ; > > # allow dstdomain * ; > > # #deny dstdomain paco.net odessa.ua ; > > # down_timeout 30 ; > > #} > > > > -- > > Andriy T. Yanko > > [EMAIL PROTECTED] > > > > * Avoid The Gates of Hell use Linux > > ** Wenn ich sterbe, legt mir eine Birne in mein Grab ... > > *** Als das Kind Kind war, > > *** wusste es nicht, dass es Kind war, > > *** alles war ihm beseelt, > > *** und alle Seelen waren eins. > > ===================================================================== > > If you would like to unsubscribe from this list send message to > > [EMAIL PROTECTED] with "unsubscribe oops" in message body. > > Archive is accessible on http://lists.paco.net/oops-rus/ > > > > ===================================================================== > If you would like to unsubscribe from this list send message to > [EMAIL PROTECTED] with "unsubscribe oops" in message body. > Archive is accessible on http://lists.paco.net/oops-rus/ > -- Andriy T. Yanko [EMAIL PROTECTED] * Avoid The Gates of Hell use Linux ** Wenn ich sterbe, legt mir eine Birne in mein Grab ... *** Als das Kind Kind war, *** wusste es nicht, dass es Kind war, *** alles war ihm beseelt, *** und alle Seelen waren eins. ===================================================================== If you would like to unsubscribe from this list send message to [EMAIL PROTECTED] with "unsubscribe oops" in message body. Archive is accessible on http://lists.paco.net/oops-rus/
