Re: [squid-users] Running Squid fully as root

2018-10-08 Thread Amos Jeffries
On 8/10/18 6:41 PM, reinerotto wrote: > The problem is the external ACL-helper, started by squid. It runs as "nobody" > actually, but it needs to start a special program, which must run as root. Do you mind saying what that helper and its sub-program are supposed to be doing? There may be a bette

Re: [squid-users] socket failure: (24) Too many open files

2018-10-08 Thread Amos Jeffries
On 9/10/18 2:14 AM, Cherukuri, Naresh wrote: > Yes, I have also splunk running on this machine. > > >> What do "cat /proc/sys/fs/file-max" and "cat /proc/sys/fs/file-nr" tell you? > > [root@squidprod ~]# cat /proc/sys/fs/file-nr > 47360 3256314 > [root@squidprod ~]# cat /proc/sys/fs/fi

Re: [squid-users] Running Squid fully as root

2018-10-08 Thread Eliezer Croitoru
You can run squid as root if you want but it still not recommended. If you have a specific application running ontop of linux you can set the setuid/stick bit and it will start with the user or group privileges. Eliezer On 2018-10-08 08:41, reinerotto wrote: The problem is the external ACL-he

Re: [squid-users] socket failure: (24) Too many open files

2018-10-08 Thread Eliezer Croitoru
I recommend Squid upgrade if possible due to couple bugs as something.. Try to bump the server to 32k open file descriptors and see what happens. Depends on the load on the server it might need at peek times more then 8k. The cache manage info page should give you couple technical details on th

Re: [squid-users] redirect based on url (302)

2018-10-08 Thread Eliezer Croitoru
Amos I probably missed couple lines. It's doable but probably if there is a specific set of domains or urls then I will need to try and see what and how it works. Eliezer On 2018-09-24 12:30, Amos Jeffries wrote: On 24/09/18 6:38 PM, uppsalanet wrote: Hi Amos, Today I have a conf like this:

Re: [squid-users] Analize squid3 por conexion

2018-10-08 Thread Ikari C
Thanks, for your time. I will take your advice into account. Have a nice day. ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

Re: [squid-users] socket failure: (24) Too many open files

2018-10-08 Thread Cherukuri, Naresh
Yes, I have also splunk running on this machine. >What do "cat /proc/sys/fs/file-max" and "cat /proc/sys/fs/file-nr" tell you? [root@squidprod ~]# cat /proc/sys/fs/file-nr 47360 3256314 [root@squidprod ~]# cat /proc/sys/fs/file-max 3256314 >How many users do you have, what sort of num

[squid-users] netfilter mark and squid

2018-10-08 Thread morteza omidian
HiIs it possible to create an acl based on netfilter mark in squid??for example:acl My_client NFMARK 0x1tcp_outgoing_mark 0x1 My_client I want to somehow know my source interface after new packet go out from squid to server. I want to keep clients packets mark after packets go out to the server!

Re: [squid-users] Netfilter Mark

2018-10-08 Thread Amos Jeffries
On 8/10/18 8:22 PM, morteza omidian wrote: > Hi > Is it possible to create an acl based on netfilter mark in squid?? > for example: > acl My_client NFMARK 0x1 > tcp_outgoing_mark 0x1 My_client > > I want to keep clients packets mark after packets go out to the server! > What you are looking for

[squid-users] Netfilter Mark

2018-10-08 Thread morteza omidian
HiIs it possible to create an acl based on netfilter mark in squid??for example:acl My_client NFMARK 0x1tcp_outgoing_mark 0x1 My_client I want to keep clients packets mark after packets go out to the server! tanx ___ squid-users mailing list squid-users@