Re[2]: [squid-users] SQUID: (53) Software caused connection abort

From: hugle <[email protected]>
Date: Mon, 12 Jan 2004 14:59:43 +0200

 
>>
>> Hello all
>> I saw these strange messages in cache.log
>>
>> 2004/01/06 18:44:59| httpAccept: FD 10: accept failure: (53)
>> Software caused connection abort

EM> These are fairly normal on BSD and indicate browser(s) aborting
EM> requests to tthe squid cache,

EM> Concerning :
  
>> FATAL: xcalloc: Unable to allocate 1 blocks of 4104 bytes!
>> Squid Cache (Version 2.5.STABLE4): Terminated abnormally.
>>

EM> Checkout :
 
EM> http://www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7

strange...
still getting those xmalloc massages:
2004/01/12 05:00:00| storeDirWriteCleanLogs: Starting...
2004/01/12 05:00:00| Finished. Wrote 0 entries.
2004/01/12 05:00:00| Took 0.0 seconds ( 0.0 entries/sec).
2004/01/12 05:00:00| logfileRotate: /cache/logs/store.log
2004/01/12 05:00:00| logfileRotate: /cache/logs/access.log
FATAL: xcalloc: Unable to allocate 1 blocks of 4104 bytes!

Squid Cache (Version 2.5.STABLE4): Terminated abnormally.
CPU Usage: 225.014 seconds = 93.632 user + 131.382 sys
Maximum Resident Size: 526164 KB

FATAL: xcalloc: Unable to allocate 1 blocks of 4104 bytes!

Squid Cache (Version 2.5.STABLE4): Terminated abnormally.
CPU Usage: 246.050 seconds = 97.012 user + 149.038 sys
Maximum Resident Size: 526176 KB
Page faults with physical i/o: 0

and so on..

etc/login.conf
daemon:\
                :coredumpsize=infinity:\
                :datasize=infinity:\
                :maxproc=4096:\
                :maxproc-cur@:\
                :memoryuse-cur=1024M:\
                :memorylocked-cur=1024M:\
                :openfiles=30384:\
                :openfiles-cur@:\
                :stacksize=1024M:\
                :tc=default:

somewhere in mailing list i found that i should check :
ulimit -aH
but these option only works with linux.

sysctl values
sysctl -a | grep maxfiles
kern.maxfiles: 65536
kern.maxfilesperproc: 58982

sysctl -a | grep nmb
kern.ipc.nmbclusters: 14656
kern.ipc.nmbufs: 30624

i also found htat i have to change:
        options "MAXDSIZ=(512*1024*1024)"
        options "DFLDSIZ=(128*1024*1024)"

in kernel..
what sysctl values are for them? so i don't need to recompile kernel.
thx
Received on Mon Jan 12 2004 - 06:00:17 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:05 MST