[squid-users] Memory usage question
Marcus Kool
marcus.kool at urlfilterdb.com
Fri Jun 19 12:11:04 UTC 2015
What is the physical memory size ??
You might want to read the faq on memory:
http://wiki.squid-cache.org/SquidFaq/SquidMemory
Marcus
On 06/19/2015 07:19 AM, Alex Samad wrote:
> Hi
>
> I recently push my squid VM memory up to 65G
> i pushed up squid usage (i thought) to 40G
>
> squid.conf
> cache_mem 40960 MB
>
> cache.log
> 2015/06/18 22:12:33| Max Mem size: 41943040 KB
> 2015/06/18 22:12:33| Max Swap size: 177527808 KB
>
>
>
> but it doesn't seem like its using it
>
> free -g
> total used free shared buffers cached
> Mem: 62 5 57 0 0 1
> -/+ buffers/cache: 2 59
> Swap: 1 0 1
>
> again from squid.conf
> cache_dir aufs /var/spool/squid 29999 16 256
> cache_dir aufs /var/spool/squid2 58368 32 256
> cache_dir aufs /var/spool/squid3 85000 32 256
>
> Is this just a case that I don't have enough disk to backend the memory usage ?
>
>
> this is on centos 6.6
> still using the redhat build squid !
> rpm -q squid
> squid-3.1.10-29.el6.x86_64
>
>
> ps -u squid -o pid,rss,vsz,cmd | grep squid.con
> PID RSS VSZ CMD
> 21605 839260 916880 (squid) -f /etc/squid/squid.conf
>
>
> I have slowly added disk space here and I am actually planning on just
> inserting 1T lun (this is VMware) and migrating it all over to there.
>
>
> What am I missing, also on the cache_dir statement is there any way of
> specifying 1G as 1G not 1024000. ie can i specify the units ?
>
> Thanks
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
More information about the squid-users
mailing list