squid-3.4.8_1 leaking memory

Brian W. brian at brianwhalen.net
Thu Sep 25 05:48:34 UTC 2014


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 at 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 at sibptus.tomsk.ru
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list