Re: [squid-users] solaris 10 process size problem

From: Mario Garcia Ortiz <>
Date: Wed, 23 Dec 2009 16:27:34 +0100

thank you very much for your help.
the problem occurred once the process size reached 4Gbytes. the only
application running on the server is the proxy, there are two
instances running each one in a different IP address.
there is no cache.. the squid was compiled with
--enable-storeio=diskd,null and in squid.conf :
cache_dir null /var/spool/squid1

as for the hits i assume there are none since there is no cache am I wrong?
here is what i get with mgr:info output from squidclient:

Cache information for squid:
        Hits as % of all requests: 5min: 11.4%, 60min: 17.7%
        Hits as % of bytes sent: 5min: 8.8%, 60min: 10.3%
        Memory hits as % of hit requests: 5min: 58.2%, 60min: 60.0%
        Disk hits as % of hit requests: 5min: 0.1%, 60min: 0.1%
        Storage Swap size: 0 KB
        Storage Swap capacity: 0.0% used, 0.0% free
        Storage Mem size: 516272 KB
        Storage Mem capacity: 98.5% used, 1.5% free
        Mean Object Size: 0.00 KB
        Requests given to unlinkd: 0

I am not able to find a core file in the system for the problem of yesterday.
the squid was restarted yesterday at 11.40 am and now the process data
segment size is 940512 KB.

i bet that if i let the process to reach 4GB again the crash will
occur? maybe is this necessary in order to collect debug data?

thank you in advance for your help it is very much appreciated.

kindest regards

Mario G.

2009/12/23 Kinkie <>:
> On Wed, Dec 23, 2009 at 3:12 PM, Mario Garcia Ortiz <> wrote:
>> Hello
>> i have used all the internet resources available and I still can't
>> find a definitive solution to this problem.
>> we have a squid running on a solaris 10 server. everything run
>> smoothly except that the process size grows constantly and it reaches
>> 4GB yesterday after which the process crashed; this is the output from
>> the log:
>> FATAL: xcalloc: Unable to allocate 1 blocks of 4194304 bytes!
> [...]
>> i am eagestly looking forward for your help
> It seems like you're being hit by a memory leak, or there are some
> serious configuration problems.
> How often does this happen, and how much load is there on the system?
> (in hits per second or minute, please)
> Going 64-bit for squid isn't going to solve things, at most it will
> delay the crash but it may cause further problems to the system
> stability.
> Please see for hints
> on how to proceed.
> --
>    /kinkie
Received on Wed Dec 23 2009 - 15:27:42 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 31 2009 - 12:00:02 MST