squid TCP_MISS/504

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
c4sin
сержант
Сообщения: 165
Зарегистрирован: 2008-12-02 23:04:06

squid TCP_MISS/504

Непрочитанное сообщение c4sin » 2012-12-12 13:03:57

Здравствуйте, обновил порты, php, mysql, и перестал работать сквид

стоит связка pf + squid + sams + rejik

в access.log следующее

Код: Выделить всё

1355304157.316     61 10.10.10.80 TCP_MISS/504 1242 GET http://www.yandex.ru/ - FIRST_UP_PARENT/127.0.0.1 text/html
1355304157.433     60 10.10.10.80 TCP_MISS/504 1264 GET http://www.yandex.ru/favicon.ico - FIRST_UP_PARENT/127.0.0.1 text/html
1355304157.480      0 10.10.10.80 TCP_MISS/504 1424 GET http://www.yandex.ru/favicon.ico - NONE/- text/html
1355304158.783      0 10.10.10.80 TCP_MISS/504 1402 GET http://www.yandex.ru/ - NONE/- text/html
1355304159.184      0 10.10.10.80 TCP_MISS/504 1402 GET http://www.yandex.ru/ - NONE/- text/html
1355304159.423      0 10.10.10.80 TCP_MISS/504 1401 GET http://www.yandex.ru/ - NONE/- text/html
1355304159.705      0 10.10.10.80 TCP_MISS/504 1401 GET http://www.yandex.ru/ - NONE/- text/html
1355304161.199      0 10.10.10.80 TCP_MISS/504 1432 GET http://swa.mail.ru/cgi-bin/counters? - NONE/- text/html
1355304162.808      0 10.10.10.80 TCP_MISS/417 2793 POST http://s.sputnik.mail.ru/sid.818? - NONE/- text/html
в конфиге сквида

Код: Выделить всё

#  TAG: acl
acl _sams_4a86549974161 src "/usr/local/etc/squid/4a86549974161.sams"
acl _sams_4a86549974161_time time MTWHFAS 00:00-23:59
acl _sams_4a8654ccb144a src "/usr/local/etc/squid/4a8654ccb144a.sams"
acl _sams_4a8654ccb144a_time time MTWHFAS 00:00-23:59
acl _sams_4a86550e369ed src "/usr/local/etc/squid/4a86550e369ed.sams"
acl _sams_4a86550e369ed_time time MTWHFAS 00:00-23:59


acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.10.10.0/24  # RFC1918 possible internal network

acl SSL_ports port 443
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl Safe_ports port 25          # smtp
acl CONNECT method CONNECT

#  TAG: http_access
http_access allow _sams_4a86549974161  _sams_4a86549974161_time
http_access allow _sams_4a8654ccb144a  _sams_4a8654ccb144a_time
http_access allow _sams_4a8654ccb144a  _sams_4a8654ccb144a_time  _sams_4a86550e369e


http_access allow manager localhost
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports

acl     denied_sites    dstdomain       "/usr/local/etc/squid/pravila/denied_ext.co
http_access    deny    denied_sites

http_access allow localnet
http_access allow localhost
# And finally deny all other access to this proxy
http_access deny to_localhost
http_access deny all

icp_access allow localnet
icp_access deny all

http_port 3128
http_port 127.0.0.1:3128 transparent
http_port 10.10.10.1:3128 transparent
http_port 10.10.10.1:3128
http_port 10.10.10.1:80

cache_peer 127.0.0.1 parent 9000 0 no-query no-digest
cache_peer 10.10.10.1 parent 88 0 no-query
Помогите разобраться, уже неделю не могу починить(((((
Последний раз редактировалось f_andrey 2012-12-12 14:45:05, всего редактировалось 1 раз.
Причина: Автору, выбирайте пожалуйста раздел соответствуюший тематике вашего сообщения.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Anoanus
проходил мимо

Re: squid TCP_MISS/504

Непрочитанное сообщение Anoanus » 2012-12-12 17:18:25

А в чем собственно проблема?
Побробуйте это почитать http://wiki.squid-cache.org/SquidFaq/SquidLogs