Re: [squid-users] Squid high memory usage

2016-06-15 Thread FredB
> > Yes I guess this is a good track for me (more or less 2 now ...) > Maybe half_closed should be help but unfortunately it crashes squid, > Bug 4156 > > Fred > ___ Maybe this is also related with the post "Excessive TCP memory usage" because I'

Re: [squid-users] Squid high memory usage

2016-06-15 Thread FredB
Yes I guess this is a good track for me (more or less 2 now ...) Maybe half_closed should be help but unfortunately it crashes squid, Bug 4156 Fred ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/s

Re: [squid-users] Squid high memory usage

2016-06-15 Thread Marcus Kool
On 06/15/2016 04:30 AM, FredB wrote: Maybe I'm wrong, but the server is also using many memories for TCP cat /proc/net/sockstat sockets: used 13523 TCP: inuse 8612 orphan 49 tw 31196 alloc 8728 mem 18237 UDP: inuse 14 mem 6 UDPLITE: inuse 0 RAW: inuse 0 FRAG: inuse 0 memory 0 netstat -lataupe

Re: [squid-users] Squid high memory usage

2016-06-15 Thread FredB
Maybe I'm wrong, but the server is also using many memories for TCP cat /proc/net/sockstat sockets: used 13523 TCP: inuse 8612 orphan 49 tw 31196 alloc 8728 mem 18237 UDP: inuse 14 mem 6 UDPLITE: inuse 0 RAW: inuse 0 FRAG: inuse 0 memory 0 netstat -lataupen | wc -l 38780

Re: [squid-users] Squid high memory usage

2016-06-13 Thread Amos Jeffries
On 6/06/2016 11:23 p.m., FredB wrote: > > Capture with swap full > > total used free sharedbuffers cached > Mem:63 62 0 0 2 19 > -/+ buffers/cache: 40 22 > Swap:1 1

Re: [squid-users] Squid high memory usage

2016-06-13 Thread Antony Stone
On Monday 06 June 2016 at 13:23:17, FredB wrote: > Capture with swap full > Tasks: 2740 total, 3 running, 2737 sleeping, 0 stopped, 0 zombie Hm, isn't 2740 tasks rather a lot? What are most of them? With a load average of 0.81 it looks like maybe you have a very large number of child process

Re: [squid-users] Squid high memory usage

2016-06-06 Thread Marcus Kool
On 06/06/2016 07:27 AM, FredB wrote: Thanks for your answer What is cache_mem ? See also http://wiki.squid-cache.org/SquidFaq/SquidMemory Actually 25 Gb I tried different values, but I guess no matter, the problem is that the squid limit is only 50% of ram After that the swap is totally

Re: [squid-users] Squid high memory usage

2016-06-06 Thread FredB
Thanks for your answer > What is cache_mem ? > See also http://wiki.squid-cache.org/SquidFaq/SquidMemory > Actually 25 Gb I tried different values, but I guess no matter, the problem is that the squid limit is only 50% of ram > > After that the swap is totally full and kswap process gone mad .

Re: [squid-users] Squid high memory usage

2016-06-06 Thread Marcus Kool
On 06/06/2016 04:27 AM, FredB wrote: Hello all, I'm trying to use a server with 64 Go of ram, but I'm faced with a problem, squid can't works with more than 50% of memory What is cache_mem ? See also http://wiki.squid-cache.org/SquidFaq/SquidMemory After that the swap is totally full and

[squid-users] Squid high memory usage

2016-06-06 Thread FredB
Hello all, I'm trying to use a server with 64 Go of ram, but I'm faced with a problem, squid can't works with more than 50% of memory After that the swap is totally full and kswap process gone mad ... I tried with vm.swappiness = 0 but same problem, perhaps a little better, I also tried memory_