Search squid archive

Re: problem about squid exhaust all memory

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

 



the following is a part of squid.conf
cache_dir ufs /cms/squidcache 5000 16 256 
maximum_object_size_in_memory 500 KB
cache_mem 256 MB
----- 原始邮件 ----- 
发件人: <trainier@xxxxxxxxxx>
收件人: <squid-users@xxxxxxxxxxxxxxx>
发送时间: 2005年9月28日 4:36
主题: RE:  problem about squid exhaust all memory


> I'd be interested in seeing your squid.conf as well.
> 
> Tim Rainier
> Information Services, Kalsec, INC
> trainier@xxxxxxxxxx
> 
> 
> 
> "Chris Robertson" <crobertson@xxxxxxx> 
> 09/27/2005 04:11 PM
> 
> To
> <squid-users@xxxxxxxxxxxxxxx>
> cc
> 
> Subject
> RE:  problem about squid exhaust all memory
> 
> 
> 
> 
> 
> 
>> -----Original Message-----
>> From: djx [mailto:djx@xxxxxxxxxxxxxxxxxx]
>> Sent: Tuesday, September 27, 2005 1:18 AM
>> To: squid-users@xxxxxxxxxxxxxxx
>> Subject:  problem about squid exhaust all memory
>> 
>> 
>> hi,everyone:
>> I encount a problem , I need help from someone .
>> 
>>   Squid use more and more memory continuously during it's 
>> running ,and it will restart when all physical memory is 
>> exhausted ,so my squid restart many times a day . It's boring 
>> ,how can I solve the prolem ?
>> 
> 
> How much physical memory does your Squid box have?  Is it doing anything 
> but Squid?  Are you perhaps suffering from 
> http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE6-client_db_gc?
> 
> Upgrading would not be a bad course of action in any case...
> 
>> every time it restart ,the following information is logged:
>> 
>> 
>> FATAL: xcalloc: Unable to allocate 1 blocks of 4104 bytes!
>> 
>> Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
>> CPU Usage: 61.889 seconds = 33.408 user + 28.481 sys
>> Maximum Resident Size: 323524 KB
>> Page faults with physical i/o: 1725
>> 2005/09/27 17:03:57| Not currently OK to rewrite swap log.
>> 2005/09/27 17:03:57| storeDirWriteCleanLogs: Operation aborted.
>> 2005/09/27 17:04:00| Starting Squid Cache version 2.5.STABLE6 
>> for i386-unknown-freebsd5.0...
>> 2005/09/27 17:04:00| Process ID 7561
>> 2005/09/27 17:04:00| With 7232 file descriptors available
>> 2005/09/27 17:04:00| DNS Socket created at 0.0.0.0, port 49428, FD 4
>> 2005/09/27 17:04:00| Adding nameserver 202.99.23.252 from 
>> /etc/resolv.conf
>> 2005/09/27 17:04:00| Unlinkd pipe opened on FD 9
>> 2005/09/27 17:04:00| Swap maxSize 5120000 KB, estimated 393846 objects
>> 2005/09/27 17:04:00| Target number of buckets: 19692
>> 2005/09/27 17:04:00| Using 32768 Store buckets
>> 2005/09/27 17:04:00| Max Mem  size: 262144 KB
>> 2005/09/27 17:04:00| Max Swap size: 5120000 KB
>> 2005/09/27 17:04:00| Store logging disabled
>> 2005/09/27 17:04:00| Rebuilding storage in /cms/squidcache (DIRTY)
>> 2005/09/27 17:04:00| Using Least Load store dir selection
>> 2005/09/27 17:04:00| chdir: /usr/local/squid/var/cache: (2) 
>> No such file or directory
>> 2005/09/27 17:04:00| Current Directory is /cms/squidcache
>> 2005/09/27 17:04:00| Loaded Icons.
>> 2005/09/27 17:04:00| Accepting HTTP connections at 0.0.0.0, 
>> port 80, FD 8.
>> 2005/09/27 17:04:00| Accepting ICP messages at 0.0.0.0, port 
>> 3130, FD 10.
>> 2005/09/27 17:04:00| WCCP Disabled.
>> 2005/09/27 17:04:00| Ready to serve requests.
>> 2005/09/27 17:04:02| comm_accept: FD 8: (53) Software caused 
>> connection abort
>> 2005/09/27 17:04:02| httpAccept: FD 8: accept failure: (53) 
>> Software caused connection abort
>> 2005/09/27 17:04:02| comm_accept: FD 8: (53) Software caused 
>> connection abort
>> 2005/09/27 17:04:02| httpAccept: FD 8: accept failure: (53) 
>> Software caused connection abort
>> 2005/09/27 17:04:04| comm_accept: FD 8: (53) Software caused 
>> connection abort
>> 2005/09/27 17:04:04| httpAccept: FD 8: accept failure: (53) 
>> Software caused connection abort
>> 2005/09/27 17:04:04| comm_accept: FD 8: (53) Software caused 
>> connection abort
>> 2005/09/27 17:04:04| httpAccept: FD 8: accept failure: (53) 
>> Software caused connection abort
>> 2005/09/27 17:04:04| comm_accept: FD 8: (53) Software caused 
>> connection abort
>> 2005/09/27 17:04:04| httpAccept: FD 8: accept failure: (53) 
>> Software caused connection abort
>> 2005/09/27 17:04:04| comm_accept: FD 8: (53) Software caused 
>> connection abort
>> 2005/09/27 17:04:04| httpAccept: FD 8: accept failure: (53) 
>> Software caused connection abort
>> 2005/09/27 17:04:07| comm_accept: FD 8: (53) Software caused 
>> connection abort
>> 2005/09/27 17:04:07| httpAccept: FD 8: accept failure: (53) 
>> Software caused connection abort
>> 
> 
> As for these messages: 
> http://www.squid-cache.org/mail-archive/squid-users/200401/0239.html
> 
> Chris
> 
> 
>


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

  Powered by Linux