Re: [squid-users] Squid Under High Load

2007-02-01 Thread Manoj Rajkarnikar
On Wed, 31 Jan 2007, Michel Santos wrote: average 40% byte hit rate or peak? we don't have much traffic (less than 1% of our bandwidth capacity) at night so not much hit at night. the daily average hit would be around 30%. during daytime when there is more users, it stays at 40%. what

Re: [squid-users] Troubles with cachemgr.cgi

2007-02-01 Thread Roberto Navarro - TusProfesionales.es
Chris, Henrik, Many thanks for your replys. Henrik, I have changed my config as you suggested, but it still fails: # cat /etc/squid/squid.conf|grep -v \#|grep -v ^$|grep http_access http_access allow manager localhost http_access allow manager apache http_access deny manager http_access deny

Re: [squid-users] Troubles with cachemgr.cgi

2007-02-01 Thread Henrik Nordstrom
tor 2007-02-01 klockan 10:39 +0100 skrev Roberto Navarro - TusProfesionales.es: And then, I have tried to use cache_mgr as the user... and logged succesfully. The cachemgr does not care what you use as user name, only the password set in cachemgr_passwd. Regards Henrik signature.asc

Re: [squid-users] Squid 2.6 httpd_accel_with_proxy on

2007-02-01 Thread Henrik Nordstrom
tor 2007-02-01 klockan 11:19 +0100 skrev Martin Senft: You mean defaultsite=127.0.0.1 transparent as http_port option? No, just transparent. You can route the requests to the correct server using cache_peer (with the originserver flag) + cache_peer_access/domain. Regards Henrik

Re: [squid-users] Squid on a Desktop

2007-02-01 Thread Nicolás Ruiz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henrik Nordstrom wrote: ons 2007-01-31 klockan 22:40 + skrev RW: Is there any advantage in running Squid on a single user desktop PC? In other words can Squid cache more effectively than a browser? My gut feeling is that the benefits will be

Re: [squid-users] squid.conf bug?

2007-02-01 Thread Michel Santos
Adrian Chadd disse na ultima mensagem: On Wed, Jan 31, 2007, Michel Santos wrote: but should have an aditional check because any other char !ALL should be out here as well or not? bitch is certainly unacceptable :) the debug_option are ints aren't they? You can do that check in the

Re: [squid-users] squid.conf bug?

2007-02-01 Thread Adrian Chadd
On Thu, Feb 01, 2007, Michel Santos wrote: I will try to find some time at the weekend and send you the diffs after to check it out. the src versions seem to be old so any 2.6 will do it or do you have some advice? I think any recent 2.6 source tarball will be fine. Adrian

Re: [squid-users] High CPU usage problem on Squid 2.6 STABLE9

2007-02-01 Thread Alexandre Correa
remove support for dl-malloc !! enable epoll !! --disable-useragent-log --disable-referer-log --with-pthreads --enable-async-io --disable-dlmalloc --with-aio --enable-epoll regards, Alexandre J. Correa Onda Internet www.ondainternet.com.br On 1/30/07, Adrian Chadd [EMAIL PROTECTED] wrote:

Re: [squid-users] Squid Under High Load

2007-02-01 Thread Michel Santos
Manoj Rajkarnikar disse na ultima mensagem: On Wed, 31 Jan 2007, Michel Santos wrote: 16MB. we analyzed the access logs for size distribution and the hitrate and number of request distribution shows only very few requests are made for objects of size greater than 20MB and every big object

Re: [squid-users] Squid on a Desktop

2007-02-01 Thread Michel Santos
Nicolás Ruiz disse na ultima mensagem: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henrik Nordstrom wrote: ons 2007-01-31 klockan 22:40 + skrev RW: Is there any advantage in running Squid on a single user desktop PC? In other words can Squid cache more effectively than a browser?

[squid-users] Redirecting based on User-Agent

2007-02-01 Thread Gerhard Schmidt
Hi All, I'm run an squid-cache in reverse proxy mode. I want to redirect requests from some UserAgenst (e.g. Searchengine crawlers) to one designated webserver. I am running a redirector script to dristibute die request to different webservers, but the redirector has no information about the

Re: [squid-users] Squid Under High Load

2007-02-01 Thread Henrik Nordstrom
tor 2007-02-01 klockan 12:00 -0200 skrev Michel Santos: depends how you look at it disk space is cheap and serving one 650MB object is a fat win even if it happens only twice a month The only problem is that the bigger cache the more memory you may need as there is an almost direct relation

RE: [squid-users] Reverse Proxy Sticky Sessions

2007-02-01 Thread Peters, Noah
Henrik: That fixed the http responses, but the cache_peers with ssl do not work with sourcehash. I get the following in the cache.log and the squid process terminates: 2007/02/01 11:24:59| clientNegotiateSSL: Error negotiating SSL connection on FD 362: error:140943E8:SSL

Re: [squid-users] Troubles with cachemgr.cgi

2007-02-01 Thread Chris Robertson
Henrik Nordstrom wrote: tor 2007-02-01 klockan 10:39 +0100 skrev Roberto Navarro - TusProfesionales.es: And then, I have tried to use cache_mgr as the user... and logged succesfully. The cachemgr does not care what you use as user name, only the password set in cachemgr_passwd.

Re: [squid-users] digest authentication: request interval

2007-02-01 Thread [EMAIL PROTECTED]
which is the control parameter for setting the auth request interval? Authentication in HTTP is per request. Your login details is cached by the browser to avoid having to ask you on each request, and Squid has no control over how long your browser keeps the login details cached. .. Then

[squid-users] Squid 2.6STABLE9 Drop Out Problem

2007-02-01 Thread Matt
We have a Mikrotik gateway router. Its a linux based router. I set it up to DST-NAT all port 80 traffic at my new Squid box. On the Squid box I have added a static route back to the router to force all traffic back through it first even if its in the same subnet. I compiled Squid with

[squid-users] dstdomain/port acl question

2007-02-01 Thread Chris Nighswonger
Hi all, We run a webradio which is broadcast via an external streaming service (A). In an effort to keep the Internet pipe from becoming conjested with audio streaming traffic from on-campus users listening to the stream, we setup an internal streamer (B) for use on campus. Of course you have

Re: [squid-users] dstdomain/port acl question

2007-02-01 Thread Chris Robertson
Chris Nighswonger wrote: Hi all, We run a webradio which is broadcast via an external streaming service (A). In an effort to keep the Internet pipe from becoming conjested with audio streaming traffic from on-campus users listening to the stream, we setup an internal streamer (B) for use on

Re: [squid-users] dstdomain/port acl question

2007-02-01 Thread Chris Nighswonger
acl streamport 1234 Assuming this is not a typo, you forgot an important feature. The ACL type. acl streamport port 1234 Sorry about that. It is a typo. That line in the config does include the port ACL type. Thanks, Chris

RE: [squid-users] Reverse Proxy Sticky Sessions

2007-02-01 Thread Peters, Noah
All: I discovered that the problem with the https goes away when I split the config and run two separate instances of squid, one for https and one for http. This is an acceptable configuration for me. Thank you for your help. -Noah Peters -Original Message- From: Peters, Noah

[squid-users] squid stuck on old site

2007-02-01 Thread John Oliver
We're rolling out a new web site. Externally, everyone can see it just fine. Internally, we see the old site. I tried squidclient -m PURGE with every possible variation I could think of, but get mostly 404s i did get a couple of 200s, but keep seeing the old site. I went into squid.conf and

Re: [squid-users] squid stuck on old site

2007-02-01 Thread John Oliver
On Thu, Feb 01, 2007 at 03:26:54PM -0800, John Oliver wrote: We're rolling out a new web site. Externally, everyone can see it just fine. Internally, we see the old site. I tried squidclient -m PURGE with every possible variation I could think of, but get mostly 404s i did get a couple of

Re: [squid-users] squid stuck on old site

2007-02-01 Thread Adrian Chadd
On Thu, Feb 01, 2007, John Oliver wrote: We're rolling out a new web site. Externally, everyone can see it just fine. Internally, we see the old site. I tried squidclient -m PURGE with every possible variation I could think of, but get mostly 404s i did get a couple of 200s, but keep

[squid-users] Log File: Field Meanings

2007-02-01 Thread Karl R. Balsmeier
Hi Henrik, all, 469 65.80.145.195 TCP_HIT/200 12615 GET When looking at the access_log -what does the first field [469] mean, and what does the field after TCP_HIT/200 [12615] mean? thanks! -karl

[squid-users] How to exempt ftp from squid?

2007-02-01 Thread John Oliver
I banged up an autoconf.pac script (which isn't easy, considering the only slivers of documentation I can find are a good ten years old!). It looks like my browser just assumes that ftp should go through squid, and that doesn't seem to want to work. Since I see no real value in proxying FTP, how

Re: [squid-users] squid stuck on old site

2007-02-01 Thread John Oliver
On Fri, Feb 02, 2007 at 07:53:27AM +0800, Adrian Chadd wrote: On Thu, Feb 01, 2007, John Oliver wrote: We're rolling out a new web site. Externally, everyone can see it just fine. Internally, we see the old site. I tried squidclient -m PURGE with every possible variation I could think

Re: [squid-users] squid stuck on old site

2007-02-01 Thread dhottinger
Local cache on your Workstation? Quoting John Oliver [EMAIL PROTECTED]: On Fri, Feb 02, 2007 at 07:53:27AM +0800, Adrian Chadd wrote: On Thu, Feb 01, 2007, John Oliver wrote: We're rolling out a new web site. Externally, everyone can see it just fine. Internally, we see the old site. I

Re: [squid-users] squid stuck on old site

2007-02-01 Thread Chris Nighswonger
I cleaned out the cache directory and used squid -z to rebuild it, and was still seeing the same old site. I have a hard time picturing how that's even possible ;-) Maybe you have tried, but have you bypassed squid to see if your browsers can see the new site direct? Chris

[squid-users] File Descriptors

2007-02-01 Thread Matt
What does Squid do or act like when its out of file descriptors? If cachemgr says it still has some left could it still really be out? Matt

Re: [squid-users] File Descriptors

2007-02-01 Thread Adrian Chadd
On Thu, Feb 01, 2007, Matt wrote: What does Squid do or act like when its out of file descriptors? If cachemgr says it still has some left could it still really be out? If your system or process FD limits are lower than what Squid believes it to be, then yup. It'll get unhappy. (It generally

Re: [squid-users] Squid 2.6STABLE9 Drop Out Problem

2007-02-01 Thread Adrian Chadd
On Thu, Feb 01, 2007, Matt wrote: We have a Mikrotik gateway router. Its a linux based router. I set it up to DST-NAT all port 80 traffic at my new Squid box. On the Squid box I have added a static route back to the router to force all traffic back through it first even if its in the same

Re: [squid-users] Squid Under High Load

2007-02-01 Thread Manoj Rajkarnikar
On Thu, 1 Feb 2007, Michel Santos wrote: depends how you look at it disk space is cheap and serving one 650MB object is a fat win even if it happens only twice a month yes the disk space is cheap but it is not alone the fact of disk space. more disk you use, more RAM you'll need and many

[squid-users] Can not shutdown squid

2007-02-01 Thread Santosh Rani
Processor : Intel P4 3.06 Intel motherboard SATA Hard Disk SQUID VERSION: squid 2.6.3 My trouble is that I can not stop squid. I passed the following command, # /usr/local/etc/rc.d/squid stop The shutdown_life time option is; shutdown_lifetime 5 seconds Result of this command is: Stopping

Re: [squid-users] Squid Under High Load

2007-02-01 Thread Adrian Chadd
On Fri, Feb 02, 2007, Manoj Rajkarnikar wrote: On Thu, 1 Feb 2007, Michel Santos wrote: depends how you look at it disk space is cheap and serving one 650MB object is a fat win even if it happens only twice a month yes the disk space is cheap but it is not alone the fact of disk space.