Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2014 14:14:59 +1000
From:      Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
To:        "Brian W." <brian@brianwhalen.net>, Victor Sudakov <vas@mpeks.tomsk.su>
Cc:        ports@freebsd.org
Subject:   Re: squid-3.4.8_1 leaking memory
Message-ID:  <5424E843.1020205@heuristicsystems.com.au>
In-Reply-To: <CADV=szVdsbQsB0f-WPbfTwxaVXxZaV=-0a5ypC87GTE2wSU17A@mail.gmail.com>
References:  <20140925045657.GA71070@admin.sibptus.tomsk.ru> <CADV=szVdsbQsB0f-WPbfTwxaVXxZaV=-0a5ypC87GTE2wSU17A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
(Bottom-posted)
On 25/09/2014 3:48 PM, Brian W. wrote:
> You seem to be onto something. On a single user testbox I use I see this
>
>   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU
> COMMAND
>
>  6100 squid         1  20    0   612M 84076K kqread  1   4:01   0.00% squid
>
> I then restarted squid and saw
>
> 73400 squid         1  20    0 61568K 21456K kqread  0   0:00   0.00% squid
>
> I am on the i386 flavor of 10.0-RELEASE-p9
>
> On Wed, Sep 24, 2014 at 9:56 PM, Victor Sudakov <vas@mpeks.tomsk.su> wrote:
>
>> Colleagues,
>>
>> squid-3.4.8_1 seems to be leaking memory heavily. Its SIZE and RES are
>> growing several MB per minute until eventually swapping begins.
>>
>> Is anyone using it? Have you encountered this problem?
>>
>> The relevant entries in squid.conf are:
>>
>> cache_mem 128 MB
>> cache_dir ufs /webcache/cache 512 16 256
>> memory_pools off # neither "on" nor "off" have any effect on leaking.
>>
>> As you see, the memory requirements should be rather modest.
>>
>> Running on 8.4-RELEASE-p16 i386.
>>
>> --
>> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
>> sip:sudakov@sibptus.tomsk.ru
>> _______________________________________________
I think you should file a bug report

https://bugs.freebsd.org/bugzilla/enter_bug.cgi

so that this can be actioned/tracked.  I don't have squid 3.4.8 running
yet, but a friend forwarded his experience after only 6 days of light use:

last pid: 43552;  load averages:  0.34,  0.23,  0.18  up 5+22:34:12    06:01:32
245 processes: 1 running, 244 sleeping

Mem: 483M Active, 6021M Inact, 1581M Wired, 371M Cache, 1636M Buf, 7394M Free
Swap: 32G Total, 1104M Used, 31G Free, 3% Inuse


  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
 6095 squid         1  20    0   738M 63044K kqread  7   2:12   0.00% squid
73487 squid         1  20    0   326M  7548K kqread  3   0:15   0.00% squid

Regards, Dewayne.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5424E843.1020205>