linux squid透明代理ping时出现丢包?

linux squid透明代理ping时出现丢包?

我用squid为网站加速,启动squid后,运行一段时间后会出现ping时丢包现象(ping后频繁出现request time out
)产看squid日志有很多域名解析死循环,但停用了squid又不丢包。很明显这是squid的问题。请问这是什么原因呢?
我的squid.conf配置如下:
http_port 80 transparent
icp_port 0
cache_peer 127.0.0.1 parent 81 0 no-query  originserver
#dd
cache_peer_domain 127.0.0.1
#prefer_direct on
nonhierarchical_direct off
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mem 512 MB
maximum_object_size 20000 KB
maximum_object_size_in_memory 4096 KB
cache_dir ufs /usr/local/squid/var/cache 10000 16 256
logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
access_log /usr/local/squid/var/logs/access.log squid
logfile_rotate 0

我百思不得其解,请高手指点指点谢谢
问题已解决
改ip_conntrack_max,ip_conntrack_tcp_timeout_established即可

echo “81920″ > /proc/sys/net/ipv4/ip_conntrack_max
echo “6000″ > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established