Re: [squid-users] IPv6 and TPROXY

2017-08-10 Thread Eliezer Croitoru
Try to change the ip rule instead of br0 to lo and see if it changes anything. Also remove any iptables rules and try to access a public ipv6 only address. Eliezer Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il -Original Message- Fr

Re: [squid-users] IPv6 and TPROXY

2017-08-10 Thread Amos Jeffries
On 10/08/17 15:48, Walter H. wrote: Hello Eliezer ip -6 rule is this 0: from all lookup local 32765: from all fwmark 0x1 lookup 100 32766: from all lookup main the two commands where ip -f inet6 rule add fwmark 1 lookup 100 ip -f inet6 route add local default dev br0 table 100 ip6tabl

Re: [squid-users] Crash: every 19 hours: kernel: Out of memory: Kill process (squid)

2017-08-10 Thread Cherukuri, Naresh
Hello Eliezer, We are using OS "Redhat 7" and squid version 3.5.20. As of now we are not using any cache, we already commented out. You want me try using cache by uncommenting the following line. # Uncomment and adjust the following to add a disk cache directory. #cache_dir ufs /cache/squid 1

Re: [squid-users] Crash: every 19 hours: kernel: Out of memory: Kill process (squid)

2017-08-10 Thread Eliezer Croitoru
Hey, Let start from 0. How many CPU's and\or core's are on this machine? Is it a VM? How many users will be sitting behind this proxy? Depends on the above we can decide on the right approach. Eliezer Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.

Re: [squid-users] Crash: every 19 hours: kernel: Out of memory: Kill process (squid)

2017-08-10 Thread Cherukuri, Naresh
No this a physical box and we are using only for squid. We have 4 cpu's and 16 cores. Please find below for reference Accesslogs : redirected to /cache/squid /dev/mapper/*-root 351G 5.2G 328G 2% / devtmpfs 5.8G 0 5.8G 0% /dev tmpfs

Re: [squid-users] Crash: every 19 hours: kernel: Out of memory: Kill process (squid)

2017-08-10 Thread Eliezer Croitoru
For how many users this squid should act as a proxy? Ie client, machines,networks? Eliezer http://ngtech.co.il/lmgtfy/ Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il From: Cherukuri, Naresh [mailto:ncheruk...@partycity.com] Sent: Thursday, August 10, 2017 1

Re: [squid-users] Crash: every 19 hours: kernel: Out of memory: Kill process (squid)

2017-08-10 Thread Cherukuri, Naresh
Eliezer, I cannot say by client or network. But, for sure I can say we have around 7000 computers using squid as a proxy. Thanks, Naresh -Original Message- From: Eliezer Croitoru [mailto:elie...@ngtech.co.il] Sent: Thursday, August 10, 2017 1:43 PM To: Cherukuri, Naresh; squid-users@l

Re: [squid-users] Crash: every 19 hours: kernel: Out of memory: Kill process (squid)

2017-08-10 Thread Amos Jeffries
On 11/08/17 06:36, Cherukuri, Naresh wrote: Eliezer, I cannot say by client or network. But, for sure I can say we have around 7000 computers using squid as a proxy. FYI: that number means peak load may be as high as 70K RPS (~100 req/client), a quad-core machine might be able to handle tha