Search squid archive

RE: Squid on FreeBSD poor performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI~
I already changed the setting,

In Kernel add:

options         DEVICE_POLLING

options         MAXDSIZ=(4096UL*1024*1024) # Conf para 4Gb
options         MAXSSIZ=(256UL*1024*1024)  # E aqui vai pra 128
options         DFLDSIZ=(4096UL*1024*1024) # 4096 tb!

options         MSGMNB=262144           # Number of bytes in a queue
options         MSGMNI=128              # Need to be at least 2 times the 
options         MSGSSZ=256              # Size of the message segment in a
options         MSGTQL=16384            # Number of max queue identifiers 
options         MSGSEG=2048             # Number of messages segments

options         SHMMNI=256              # The half of the message queues at 
options         SHMALL=65536
options         SHMMAX=(128UL*1024*1024)
options         SHMSEG=128

in squid.conf 

cache_mem 256 MB
cache_dir diskd to aufs

After the change squid is roughly good.

But in cache.log sometimes show messages

2008/03/07 06:27:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/twoshore";
2008/03/07 06:27:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/finance";
2008/03/07 06:27:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/entertain";
2008/03/07 06:27:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/sports";
2008/03/07 06:27:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/leisure";
2008/03/07 06:27:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/relaxation";
2008/03/07 06:27:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/health";
2008/03/07 06:27:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/technology";
2008/03/07 06:27:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/odd";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/polity";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/society";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/international";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/twoshore";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/finance";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/entertain";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/sports";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/leisure";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/relaxation";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/health";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/technology";
2008/03/07 06:37:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/odd";
2008/03/07 06:47:53| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/polity";
2008/03/07 06:47:53| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/society";
2008/03/07 06:47:53| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/international";
2008/03/07 06:47:53| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/twoshore";
2008/03/07 06:47:53| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/finance";
2008/03/07 06:47:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/entertain";
2008/03/07 06:47:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/sports";
2008/03/07 06:47:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/leisure";
2008/03/07 06:47:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/relaxation";
2008/03/07 06:47:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/health";
2008/03/07 06:47:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/technology";
2008/03/07 06:47:54| httpReadReply: Excess data from "GET
http://tw.news.yahoo.com/odd";

2008/03/07 12:34:35| WARNING: All dnsserver processes are busy.
2008/03/07 12:34:35| WARNING: up to 39 pending requests queued
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| httpAccept: FD 90: accept failure: (53) Software caused
connection abort
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com
2008/03/07 12:34:35| dnsSubmit: queue overload, rejecting l.yimg.com


3/6 cache.log in 
http://mail.knu.edu.tw/~joejoe/cache-20080307.rar
How to make it better ?



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux