RE: [squid-users] problem about squid exhaust all memory

2005-09-27 Thread Chris Robertson
> -Original Message-
> From: djx [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 27, 2005 1:18 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] 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 512 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: 512 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


RE: [squid-users] problem about squid exhaust all memory

2005-09-27 Thread trainier
I'd be interested in seeing your squid.conf as well.

Tim Rainier
Information Services, Kalsec, INC
[EMAIL PROTECTED]



"Chris Robertson" <[EMAIL PROTECTED]> 
09/27/2005 04:11 PM

To

cc

Subject
RE: [squid-users] problem about squid exhaust all memory






> -Original Message-
> From: djx [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 27, 2005 1:18 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] 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 512 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: 512 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




Re: [squid-users] problem about squid exhaust all memory

2005-09-27 Thread djx
hi, Rainier,
thanks for your reply.
Can you tell me what's the probably reasons? and how can I handle my squid.conf 
correspondingly ?

- 原始邮件 - 
发件人: <[EMAIL PROTECTED]>
收件人: 
发送时间: 2005年9月28日 4:36
主题: RE: [squid-users] problem about squid exhaust all memory


> I'd be interested in seeing your squid.conf as well.
> 
> Tim Rainier
> Information Services, Kalsec, INC
> [EMAIL PROTECTED]
> 
> 
> 
> "Chris Robertson" <[EMAIL PROTECTED]> 
> 09/27/2005 04:11 PM
> 
> To
> 
> cc
> 
> Subject
> RE: [squid-users] problem about squid exhaust all memory
> 
> 
> 
> 
> 
> 
>> -Original Message-
>> From: djx [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, September 27, 2005 1:18 AM
>> To: squid-users@squid-cache.org
>> Subject: [squid-users] 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 512 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: 512 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
> 
> 
>

Re: [squid-users] problem about squid exhaust all memory

2005-09-27 Thread djx
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
- 原始邮件 - 
发件人: <[EMAIL PROTECTED]>
收件人: 
发送时间: 2005年9月28日 4:36
主题: RE: [squid-users] problem about squid exhaust all memory


> I'd be interested in seeing your squid.conf as well.
> 
> Tim Rainier
> Information Services, Kalsec, INC
> [EMAIL PROTECTED]
> 
> 
> 
> "Chris Robertson" <[EMAIL PROTECTED]> 
> 09/27/2005 04:11 PM
> 
> To
> 
> cc
> 
> Subject
> RE: [squid-users] problem about squid exhaust all memory
> 
> 
> 
> 
> 
> 
>> -Original Message-
>> From: djx [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, September 27, 2005 1:18 AM
>> To: squid-users@squid-cache.org
>> Subject: [squid-users] 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 512 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: 512 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
> 
> 
>

Re: [squid-users] problem about squid exhaust all memory

2005-09-28 Thread Matus UHLAR - fantomas
Hello,

please, If you are writing a new post, send it as new mail and not
as reply/followup on old mail. It makes problems in threading clients.
Thank you.

On 27.09 17:18, djx wrote:
> 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 ?

have you read the memory FAQ?

http://www.squid-cache.org/Doc/FAQ/FAQ-8.html

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Due to unexpected conditions Windows 2000 will be released
in first quarter of year 1901