Search squid archive

Fw: Re: Re: squid-2.5.STABLE10 error (FATAL: xcalloc: Unable to allocate 1blocks of 4108 bytes!)

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

 



squid-users, 您好!

	 my squid didn't receive a -k sigal.The error occurs every 2 hours.I don't know how to got it.
and what's the process size?
>


>Rodrigo A B Freire,您好!
>
>	my squid didn't receive a -k sigal.The error occurs every 2 hours.and what's the process size?
>
>======= 2005-08-23 12:25:30 您在来信中写道:=======
>
>>    Your system might be running out of memory.
>>
>>    Beware: When squid receives a -k signal, squid may grow a lot for a 
>>while. I had a similar problem; I used a high cache_mem, almost filling up 
>>all the available RAM; but my server have a short swap space.
>>
>>    By midnight, when the system issue a -k rotate, the squid crashed. The 
>>first solution was to use the sleep_after_fork, but it didn't revealed 
>>useful.
>>
>>    The effective solution was reduce drastically the cache_mem to a number 
>>which, the process size x 2 can be fit into the avail sys RAM + swap.
>>
>>    Rodrigo.
>>
>>----- Original Message ----- 
>>From: "kellywang" <squid-wk@xxxxxxx>
>>To: "squid-users" <squid-users@xxxxxxxxxxxxxxx>
>>Sent: Tuesday, August 23, 2005 12:30 AM
>>Subject:  squid-2.5.STABLE10 error (FATAL: xcalloc: Unable to 
>>allocate 1blocks of 4108 bytes!)
>>
>>>
>>> Hello,everyone,
>>> I upgraded from 2.5.STABLE.4 to 2.5.STABLE.10 last week.
>>> Squid work on accellrator mode.
>>> I found the error in cache.log:
>>> FATAL: xcalloc: Unable to allocate 1 blocks of 4108 bytes!
>>>
>>> Squid Cache (Version 2.5.STABLE10): Terminated abnormally.
>>> CPU Usage: 378.450 seconds = 216.560 user + 161.890 sys
>>> Maximum Resident Size: 0 KB
>>> Page faults with physical i/o: 380
>>> Memory usage for squid via mallinfo():
>>>        total space in arena:  915181 KB
>>>        Ordinary blocks:       915162 KB    578 blks
>>>        Small blocks:               0 KB      0 blks
>>>        Holding blocks:          6276 KB      1 blks
>>>        Free Small blocks:          0 KB
>>>        Free Ordinary blocks:      19 KB
>>>        Total in use:          921438 KB 101%
>>>        Total free:                19 KB 0%
>>> 2005/08/22 07:14:27| storeDirWriteCleanLogs: Starting...
>>> 2005/08/22 07:14:30| Starting Squid Cache version 2.5.STABLE10 for 
>>> i686-pc-linux-gnu...
>>>
>>> I found the following message in /var/log/message Meanwhile:
>>> Aug 22 17:34:07 darkstar out of memory [26980]
>>> Aug 22 17:34:07 darkstar squid[23549]: Squid Parent: child process 26980 
>>> exited with status 1
>>> Aug 22 17:34:10 darkstar squid[23549]: Squid Parent: child process 27457 
>>> started
>>>
>>> The following is my Configuration:
>>> chown -R squid:squid /squidcache
>>> mount -t tmpfs -o size=3072M /dev/shm /squidcache
>>> cache_dir aufs /squidcache/cache 2048 64 256
>>>
>>> cache_mem 900 M
>>> cache_swap_high 85
>>> cache_swap_low 80
>>>
>>> Please help me. 
>>
>>
>>.
>
>= = = = = = = = = = = = = = = = = = = =
>			
>
>        致
>礼!
> 
>				 
>        kellywang
>        squid-wk@xxxxxxx
>          2005-08-23
>

= = = = = = = = = = = = = = = = = = = = 
  
        致
礼!

  
        kellywang
        squid-wk@xxxxxxx
          2005-08-23 


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

  Powered by Linux