[squid-users] Is it a good idea to use Linux swap partition/file with rock storage?

2017-09-18 Thread duanyao
Hi, I notice that squid's rock storage uses large (and fixed) amount of shared memory even if it is not accessed. It's estimated as 110byte/slot, so for a 256GB rock storage with 16KB slot, the memory requirement is about 1.7GB, which is quite large. So my questions are: 1. Is there a way t

Re: [squid-users] disable access.log logging on a specific entrys

2017-09-18 Thread Amos Jeffries
On 19/09/17 01:45, Verwaiser wrote: Does anybody know a solution for this problem? What Squid version? Amos ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

[squid-users] TCP: out of memory -- consider tuning tcp_mem

2017-09-18 Thread Vieri
Regarding my previous post, here's some more info. On a 32 GB RAM system, RAM usage grew up to 20GB when I had those "out of memory" messages. After restarting or even shutting down all 5 Squid instances I still get high RAM usage albeit lower than before. # top top - 22:42:23 up 19 days, 15:

[squid-users] TCP: out of memory -- consider tuning tcp_mem

2017-09-18 Thread Vieri
Hi again, I'm suddenly getting these errors in the log: 2017/09/18 18:13:48 kid1| Error negotiating SSL on FD 11010: error:1409F07F:SSL routines:ssl3_write_pending:bad write retry (1/-1/0) 2017/09/18 18:13:57 kid1| Error negotiating SSL on FD 11124: error:1409F07F:SSL routines:ssl3_write_pendin

[squid-users] disable access.log logging on a specific entrys

2017-09-18 Thread Verwaiser
Hello,our access.log is filled up to 95% with useless entrys: 192.168.12.84 - - [18/Sep/2017:15:22:40 +0200] "POST /SpamResolverNG/SpamResolverNG.dll?DoNewRequest HTTP/1.1" 400 3990 TAG_NONE:HIER_NONE 192.168.12.117 - - [18/Sep/2017:15:22:40 +0200] "POST /SpamResolverNG/SpamResolverNG.dll?DoNewRequ

Re: [squid-users] urlpath_regex negative assertions

2017-09-18 Thread Vieri
From: Amos Jeffries > any special meaning (like doing a lookahead) is prevented. OK, so I'll do an acl for deny and another for allow. Thanks ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists

Re: [squid-users] urlpath_regex negative assertions

2017-09-18 Thread Amos Jeffries
On 18/09/17 21:04, Antony Stone wrote: On Monday 18 September 2017 at 09:43:12, Vieri wrote: Hi, I'd like to block access to URLs ending in *.dll except for those ending in mriweb.dll. acl denied_filetypes urlpath_regex -i denied.filetypes where denied.filetypes contains a list of expression

Re: [squid-users] urlpath_regex negative assertions

2017-09-18 Thread Antony Stone
On Monday 18 September 2017 at 09:43:12, Vieri wrote: > Hi, > > I'd like to block access to URLs ending in *.dll except for those ending in > mriweb.dll. > > acl denied_filetypes urlpath_regex -i denied.filetypes > > where denied.filetypes contains a list of expressions Are the others working?

[squid-users] urlpath_regex negative assertions

2017-09-18 Thread Vieri
Hi, I'd like to block access to URLs ending in *.dll except for those ending in mriweb.dll. acl denied_filetypes urlpath_regex -i denied.filetypes where denied.filetypes contains a list of expressions of which: (\?!mriweb\.dll$).*\.dll$ This doesn't seem to work if I try to deny access. eg. a