[squid-users] Memory Leak Squid 3.4.9 on FreeBSD 10.0 x64

Yuri Voinov yvoinov at gmail.com
Thu Jan 8 21:29:14 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
I mean,

cache_mem is too big.

First, 600 users is not very big installation to do huge memory cache.
1-2 Gb will be ehough. With fast disk cache.

Second - 4 Gb ram is near 32-bit address limit. Possible 32-bit library
or somewhat meets this limit.

Is OS and Squid completely 64-bit?

09.01.2015 1:10, Doug Sampson пишет:
>> Hi,
>>
>> I have the similar problem on FreeBSD 10.1-STABLE #1 r275861 with
>> squid-3.4.10. I also applied MEMPOOLS=1 when starting squid. I
>> experience the process slowing down and unacceptable performance.
>>
>> Squid is configured to use kerberos and ntlm authentication and lap
>> group authentication. other settings:
>>
>> cache_replacement_policy heap LFUDA
>> cache_mem 4096 MB
>> maximum_object_size 32 MB
>> cache_dir diskd /usr/local/squid/cache 32768 32 256
>>
>> I have seen the following errors in cache.log:
>>
>> FATAL: Received Segment Violation...dying.
>> FATAL: Received Bus Error...dying.
>>
>> after this the squid restarts. The system has 10GB of memory and is
>> working as internal cache for ~600 users.
>>
>> Please point me in the right direction. I have no problem running
>> squid33-3.3.13 on FreeBSD 9.3-STABLE #0 r270210.
>>
>> Thank you very much.
>>
>> Regards,
>>
>> lk
>
> Man, I empathize with you. Have you tried running Squid 3.4.x on
FreeBSD 9.3? Sometimes I wonder if it's FreeBSD 10.x that's causing the
issue...
>
> I tried the shell variable MEMPOOLS=1 and that quickly made the
situation a lot worse. Swap space would get filled up very quickly and
the system would slow down quickly before crashing.
>
> Any other ideas?
>
> ~Doug
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBAgAGBQJUrvaqAAoJENNXIZxhPexGTigIAKCNyOeAD03un/vxFINUN2Yb
0cZLNzSjIDkzhepXkfQo2yazcTSoGoJ5QFSwMj9yljFCve2JjTj1O6KT4JxbOzvG
vMpEqY6KjuCsENU8vm6lBq+D7PmtZw20V+nofA1V3y1L9CGCuygVTe33FuWNIVwA
VQKmhV+0IaG8vIdHgKtYKUK9n4zV48DAPurpjTf4UotzD0+BYef/BOatrQ1HGp9/
z6cmqB9FGIxOk5MZIgeer/3bjkYng7Q60zm7pHnMFhb265+0bsMzkvGl/PMvzKib
ASRdTqy+rZiE/Y48KfcjTjY4Eyvk69U3I5iuu7xU+CvawMsBhifRn79A7e0eHTQ=
=gLo3
-----END PGP SIGNATURE-----



More information about the squid-users mailing list