Re: [squid-users] memory usage

2017-10-06 Thread Amos Jeffries
On 06/10/17 20:04, Vieri wrote: Hi, On a Squid server I'm seeing how the buffer mem usage is steadily growing. You mean mem_node? or the "*K Buffers" entries? The mem_node is used by cache_mem entries, in-transit objects and some hot cache_dir index entries. So the value there need to be co

Re: [squid-users] memory usage

2017-10-06 Thread Amos Jeffries
On 06/10/17 20:27, Vieri wrote: OK, I guess I'm starting to understand how Linux manages disk caching, and the meaning of "buffered". In fact: # free -m totalusedfree shared buff/cache available Mem: 3209427991074 154

[squid-users] memory usage

2017-10-06 Thread Vieri
OK, I guess I'm starting to understand how Linux manages disk caching, and the meaning of "buffered". In fact: # free -m totalusedfree shared buff/cache available Mem: 3209427991074 154 28220 28810 Swap: 36168 16

[squid-users] memory usage

2017-10-06 Thread Vieri
Hi, On a Squid server I'm seeing how the buffer mem usage is steadily growing. I'm running out of free memory. top - 08:34:25 up 37 days, 1:00, 2 users, load average: 1.39, 1.27, 1.36 Tasks: 340 total, 1 running, 339 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.6 us, 0.2 sy, 0.0 ni, 97.1

Re: [squid-users] Memory usage question

2015-06-21 Thread Amos Jeffries
On 22/06/2015 5:28 p.m., Alex Samad wrote: > Hi > > UFS or AUFS ? guessing aufs > UFA, AUFS, diskd - all the same in this regard. > Any suggestions on the L1 L2 values, defaults ? Not particularly. Though others may have preferences. AFAIK the FS directory index issues in ext2 that L1/L2 exis

Re: [squid-users] Memory usage question

2015-06-21 Thread Alex Samad
Hi UFS or AUFS ? guessing aufs Any suggestions on the L1 L2 values, defaults ? On 21 June 2015 at 11:57, Amos Jeffries wrote: > On 20/06/2015 9:08 p.m., Alex Samad wrote: >> Hi >> >> Are there any gotchas i need to look out for. >> Also I have allocated a 1T lun to the VM. Whats the best way

Re: [squid-users] Memory usage question

2015-06-20 Thread Amos Jeffries
On 20/06/2015 9:08 p.m., Alex Samad wrote: > Hi > > Are there any gotchas i need to look out for. > Also I have allocated a 1T lun to the VM. Whats the best way to > allocate this do I use 1 cache_dir or multiple cache_dir. The usual one UFS based dir per physical drive and no RAID. That can be t

Re: [squid-users] Memory usage question

2015-06-20 Thread Alex Samad
Hi Are there any gotchas i need to look out for. Also I have allocated a 1T lun to the VM. Whats the best way to allocate this do I use 1 cache_dir or multiple cache_dir. I currently have 3, is there a way to migrate the cache objects in the 3 into 1 or do I just delete them and bear the cost of

Re: [squid-users] Memory usage question

2015-06-19 Thread Marcus Kool
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 4096

Re: [squid-users] Memory usage question

2015-06-19 Thread Eliezer Croitoru
First goes first... Upgrade to 3.5 or 3.4 branch. Then try to use top or htop to get a snapshot of the virtual memory and resident memory that squid uses. Eliezer On 19/06/2015 13:19, Alex Samad wrote: this is on centos 6.6 still using the redhat build squid ! rpm -q squid squid-3.1.10-29.el6

[squid-users] Memory usage question

2015-06-19 Thread Alex Samad
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 tota