Re: [squid-users] Disk Space problem in a squid-proxy server

2008-10-18 Thread Amos Jeffries
Chuck Kollars wrote: ... At the most the squid server would run for another day and then stop running!! ... Please suggest some pointers to delete some files under /var partition to create more space !! ... Both your question and all the responses to it I've seen assume Squid is the

Re: [squid-users] Complicate ACL affect performance?

2008-10-18 Thread Henrik K
On Fri, Oct 17, 2008 at 10:24:21PM +0200, Henrik Nordstrom wrote: On tor, 2008-10-16 at 12:02 +0300, Henrik K wrote: Optimizing 1000 x www.foo.bar/randomstuff into a _single_ www.foobar.com/(r(egex|and(om)?)|fuba[rz]) regex is nowhere near linear. Even if it's all random servers, there

Re: [squid-users] Complicate ACL affect performance?

2008-10-18 Thread Henrik K
On Sat, Oct 18, 2008 at 12:44:46PM +0300, Henrik K wrote: On Fri, Oct 17, 2008 at 10:24:21PM +0200, Henrik Nordstrom wrote: On tor, 2008-10-16 at 12:02 +0300, Henrik K wrote: Optimizing 1000 x www.foo.bar/randomstuff into a _single_ www.foobar.com/(r(egex|and(om)?)|fuba[rz]) regex is

Re: [squid-users] signal 6

2008-10-18 Thread Amos Jeffries
dikshie wrote: Hi, i always get: pid 80196 (squid), uid 65534: exited on signal 6 so many signal 6. i dont know why i cant get coredump files. sfc-cache# cat etc/squid.conf | grep coredump coredump_dir /usr/local/squid31/var/cache sfc-cache# ls var/cache/ 00 02 04

Re: [squid-users] Complicate ACL affect performance?

2008-10-18 Thread Amos Jeffries
Henrik K wrote: On Sat, Oct 18, 2008 at 12:44:46PM +0300, Henrik K wrote: On Fri, Oct 17, 2008 at 10:24:21PM +0200, Henrik Nordstrom wrote: On tor, 2008-10-16 at 12:02 +0300, Henrik K wrote: Optimizing 1000 x www.foo.bar/randomstuff into a _single_ www.foobar.com/(r(egex|and(om)?)|fuba[rz])

Re: [squid-users] Complicate ACL affect performance?

2008-10-18 Thread Henrik K
On Sat, Oct 18, 2008 at 11:54:52PM +1300, Amos Jeffries wrote: Henrik K wrote: On Sat, Oct 18, 2008 at 12:44:46PM +0300, Henrik K wrote: Not sure what the splay code does in Squid, didn't have time to grab it. But a simple test with Perl: - Grepped some hostnames from wwwlogs etc -

Re: [squid-users] Time on squid

2008-10-18 Thread Jeff Pang
--- On Fri, 10/17/08, netmail [EMAIL PROTECTED] wrote: From: netmail [EMAIL PROTECTED] Subject: [squid-users] Time on squid To: squid-users@squid-cache.org Date: Friday, October 17, 2008, 10:37 AM Hi When squid generate the message when block an website , the time show is different

Re: [squid-users] Disk Space problem in a squid-proxy server

2008-10-18 Thread jmaan
* This message has been scanned by IMSS NIT-Silchar Can I reconfigure the current squid cache ? If so please tell which all of the lines needs to changed so that the prxy server can made runnable without much hindrance to the users of the proxy

Re: [squid-users] Disk Space problem in a squid-proxy server

2008-10-18 Thread jmaan
* This message has been scanned by IMSS NIT-Silchar Can I reconfigure the current squid cache ? If so please tell which all of the lines needs to changed so that the prxy server can made runnable without much hindrance to the users of the proxy

[squid-users] LFT_REQUEST_SIZE_TOTAL

2008-10-18 Thread Mikio Kishi
Hi, No, I'm using squid-3.0.STABLE9. I recorded the http request size in access log (using st) But, the value was always 0 . In access_log.cc 785 case LFT_REQUEST_SIZE_TOTAL: 786 outint = al-cache.requestSize; 787 dooff = 1; 788

Re: [squid-users] Complicate ACL affect performance?

2008-10-18 Thread Henrik Nordstrom
On lör, 2008-10-18 at 12:58 +0300, Henrik K wrote: By doing it correctly, using ^hostname$ instead of plain hostname in regex results in 1.2 seconds, that's 8+ hosts/sec.. The interesting pattern match to compare with is s/^www\.// on the hostnames before making patterns Then for each

Re: [squid-users] Complicate ACL affect performance?

2008-10-18 Thread Henrik Nordstrom
On lör, 2008-10-18 at 14:26 +0300, Henrik K wrote: Fair test would be reversing the hostname, which is very cheap operation. ;) (^|\.)example\.com$ .. runtime 2.2 secs ^moc\.elpmaxe(\.|$) .. runtime 1.3 secs Heh, and I should learn to read the whole thread before responding ;-) Regards

Re: [squid-users] Time on squid

2008-10-18 Thread Henrik Nordstrom
On lör, 2008-10-18 at 04:50 -0700, Jeff Pang wrote: --- On Fri, 10/17/08, netmail [EMAIL PROTECTED] wrote: From: netmail [EMAIL PROTECTED] Subject: [squid-users] Time on squid To: squid-users@squid-cache.org Date: Friday, October 17, 2008, 10:37 AM Hi When squid generate the

Re: [squid-users] LFT_REQUEST_SIZE_TOTAL

2008-10-18 Thread Henrik Nordstrom
On lör, 2008-10-18 at 22:52 +0900, Mikio Kishi wrote: Hi, No, I'm using squid-3.0.STABLE9. I recorded the http request size in access log (using st) But, the value was always 0 . In access_log.cc 785 case LFT_REQUEST_SIZE_TOTAL: 786 outint =

Re: [squid-users] LFT_REQUEST_SIZE_TOTAL

2008-10-18 Thread Mikio Kishi
Hi, Henrik Thank you for your reply. I hope for the next release ! -- Sincerely, Mikio Kishi On Sat, Oct 18, 2008 at 11:52 PM, Henrik Nordstrom [EMAIL PROTECTED] wrote: Indeed. Congratulations to your first contribution to the Squid source code! Will show up at

Re: [squid-users] Disk Space problem in a squid-proxy server

2008-10-18 Thread Matus UHLAR - fantomas
On 17.10.08 21:17, Francois Cami wrote: squid -k rotate will rotate all .log files for you, you can delete the *.0 files afterwards. it's log files, not .log files, they don't need to be named *.log and if logfile_rotate is 0, they won't get renamed, only reopened, so it's up to other process

[squid-users] Why are cache_peer_access acls called 4 times in a row?

2008-10-18 Thread Elli Albek
Hi, I have a simple setup for testing accelerator: http_port 127.0.0.4:80 accel defaultsite=1.2.3.4:80 cache_peer 1.2.3.4 parent 80 0 no-query originserver name=parent_sl acl my_acl urlpath_regex ^/rev/ acl port80 port 80 http_access deny !port80 http_access allow port80 cache_peer_access

Re: [squid-users] Complicate ACL affect performance?

2008-10-18 Thread Amos Jeffries
Henrik K wrote: On Sat, Oct 18, 2008 at 11:54:52PM +1300, Amos Jeffries wrote: Henrik K wrote: On Sat, Oct 18, 2008 at 12:44:46PM +0300, Henrik K wrote: Not sure what the splay code does in Squid, didn't have time to grab it. Produces a very inefficient unsorted but alphabetically ordered

Re: [squid-users] Complicate ACL affect performance?

2008-10-18 Thread Amos Jeffries
snip No. Because most users will not write their ACL regex normally, and the regex has to match a forward-coded domain anyway. The squid algorithm works on forward-coded domains. Oops. I meant to write: Because most users will write their ACL regex normally (wont even think to write

Re: [squid-users] Disk Space problem in a squid-proxy server

2008-10-18 Thread Amos Jeffries
[EMAIL PROTECTED] wrote: * This message has been scanned by IMSS NIT-Silchar Can I reconfigure the current squid cache ? No need. The cache IS NOT IN /var and cannot now be the cause of the problem. Amos If so please tell which all of

Re: [squid-users] Why are cache_peer_access acls called 4 times in a row?

2008-10-18 Thread Amos Jeffries
Elli Albek wrote: Hi, I have a simple setup for testing accelerator: http_port 127.0.0.4:80 accel defaultsite=1.2.3.4:80 cache_peer 1.2.3.4 parent 80 0 no-query originserver name=parent_sl acl my_acl urlpath_regex ^/rev/ acl port80 port 80 http_access deny !port80 http_access allow port80

[squid-users] Squid 3.0 STABLE10 is available

2008-10-18 Thread Amos Jeffries
The Squid HTTP Proxy team is pleased to announce the availability of the Squid-3.0.STABLE10 release! This release fixes a few minor regressions and bugs found in the last release. - Bug 2391: Regression: bad assert in forwarding - Bug 2447: Segfault on failed TCP DNS query - Bug 2393: DNS