Re: [squid-users] refresh patterns!

2007-08-14 Thread Manoj_Rajkarnikar
On Mon, 13 Aug 2007, Adrian Chadd wrote: Yum! (Of course there's more to caching youtube - specifically, would need to implement a patch to squid to create a URI from that youtube URL which creates the same host part regardless of which bit of the CDN you fetch it from - using that URL for the

Re: [squid-users] refresh patterns!

2007-08-14 Thread Adrian Chadd
On Tue, Aug 14, 2007, Manoj_Rajkarnikar wrote: (Of course there's more to caching youtube - specifically, would need to implement a patch to squid to create a URI from that youtube URL which creates the same host part regardless of which bit of the CDN you fetch it from - using that URL for

[squid-users] cachemgr.cgi with Webmin

2007-08-14 Thread Shekhar Gupta
Hi , I am trying to configure the cachemgr.cgi with webmin , as i don't wan't to install apache or any other webserver for this . the path is correctly provided in squid module . when i try to open the cachemgr.cgi with this url http://10.112.60.23:1/squid/cachemgr.cgi its asking for Manager

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-14 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michel, I am coming back to the topic of Squid restarting itself when the load increases and the number of clients requests goes upto 100-200 per second. After digging around cache.log of my Squid boxes, I am seeing the following messages. And

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

2007-08-14 Thread Sussane Andrews
Hi Shekhar, If you have creaated squid user then you can use that login. I usually access cachemanager using Username: squid Password: squid I guess this will work for you, give it a try. Shekhar Gupta wrote: Hi , I am trying to configure the cachemgr.cgi with webmin , as i

[squid-users] Squid error Zero Sized Reply

2007-08-14 Thread Mehmet, Levent \(Accenture\)
Does anyone know how I can resolve this error message: ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://eudract.eudra.org/eudracts/uploadXML.do? The following error was encountered: * Zero Sized Reply Squid did not receive any data for this

Re: [squid-users] website not showing up on http transparent squid

2007-08-14 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jacob, On Mon, 13 Aug 2007 14:13:49 -0500 Jacob D. Myers [EMAIL PROTECTED] wrote: (From IE and Firefox there is simply a blank screen and a status of Done when requesting this site) (Here is my squid.conf:) http_port 3128 transparent

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-14 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mark, On Tue, 14 Aug 2007 10:35:03 +1000 Mark Nottingham [EMAIL PROTECTED] wrote: FreeBSD and aufs was discussed a while back, IIRC, and the upshot was that for FreeBSD 6, it's useful (threads on 4 is a no-no). The lingering doubt in my

Re: [squid-users] I/O tests and squid

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 11:00 +0800, Ming-Ching Tiew wrote: I am having a system which handles about 9000 active sessions now, and the iostat result is as such :- avg-cpu: %user %nice %system %iowait %steal %idle 0.92 0.001.09 6.16 0.00

Re: [squid-users] Sibling cache not working ?

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 10:39 +0700, Kris wrote: Hi all, I have 3 Proxy with Sibling mode each other. I have a question. If i download file from Proxy A then after i download again , i got full speed (cached). but if i download from Proxy B i got slow speed like before cached on Proxy. is

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 12:29 +0545, Tek Bahadur Limbu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michel, I am coming back to the topic of Squid restarting itself when the load increases and the number of clients requests goes upto 100-200 per second. After digging around

Re: [squid-users] Squid error Zero Sized Reply

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 08:39 +0100, Mehmet, Levent (Accenture) wrote: Does anyone know how I can resolve this error message: ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://eudract.eudra.org/eudracts/uploadXML.do? The following error was

Re: [squid-users] endless growing swap.state after reboot

2007-08-14 Thread Michel Santos
Henrik Nordstrom disse na ultima mensagem: unfortunatly I was sleeping and didn't backed up the swap.file but I can do it again later if you need it. Please try. But as you indicate above it's possible the problem is not caused by the swap.state, but by concurrent traffic while the cache is

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

2007-08-14 Thread Shekhar Gupta
Hi Henrik, Please let me know what all changes are required in both the files . Please give with an example . Regards, Shekhar On 8/14/07, Henrik Nordstrom [EMAIL PROTECTED] wrote: On tis, 2007-08-14 at 12:12 +0530, Shekhar Gupta wrote: http://10.112.60.23:1/squid/cachemgr.cgi its

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-14 Thread Michel Santos
Mark Nottingham disse na ultima mensagem: FreeBSD and aufs was discussed a while back, IIRC, and the upshot was that for FreeBSD 6, it's useful (threads on 4 is a no-no). The lingering doubt in my mind was this bug: http://www.freebsd.org/cgi/ query-pr.cgi?pr=103127, which appears to have

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

2007-08-14 Thread Amos Jeffries
Shekhar Gupta wrote: Hi Henrik, Please let me know what all changes are required in both the files . Please give with an example . Try this: http://wiki.squid-cache.org/SquidFaq/CacheManager Amos Regards, Shekhar On 8/14/07, Henrik Nordstrom [EMAIL PROTECTED] wrote: On tis, 2007-08-14

Re: [squid-users] Squid allow only 2 max connections per IP

2007-08-14 Thread Amos Jeffries
Chris Robertson wrote: eXtremer wrote: Here is my config: #Recommended minimum configuration: acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 444 acl Safe_ports port 80#

RE: [squid-users] website not showing up on http transparent squid

2007-08-14 Thread Jacob D. Myers
Hi Tek and Henrik! Thank you for all your help. I run a boot script to set up the transparent bridging upon bootup. I'll insert it at the end. I would upgrade to stable14 but I installed with apt-get on my ubuntu server 7.04 and that is the latest package from the standard repositories. I did do

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

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 16:16 +0530, Shekhar Gupta wrote: Hi Henrik, Please let me know what all changes are required in both the files . Please give with an example . There is plenty of examples already in the files. squid.conf. look for cachemgr and http_port. cachemgr.conf,

Re: [squid-users] Opinions sought on best storage type for FreeBSD

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 08:32 -0300, Michel Santos wrote: and it should work well, I had no problem at all with the aufs model itself beside queue-congestion alert msgs while swap.state rebuilding was in progress and sometimes under load. Some of these is perfectly normal and seen when there is

Re: [squid-users] Squid allow only 2 max connections per IP

2007-08-14 Thread Henrik Nordstrom
On ons, 2007-08-15 at 01:08 +1200, Amos Jeffries wrote: Chris Robertson wrote: The all here should be the first acl referenced on the line or it will prevent your deny_info message from being shown. e.g. http_access deny all maxcon deny_info ERR_MAXCON maxcon That sounds a

[squid-users] Re: refresh patterns!

2007-08-14 Thread RW
On Tue, 14 Aug 2007 08:46:09 +0800 Adrian Chadd [EMAIL PROTECTED] wrote: Would any other ISPs be willing to share their refresh patterns and achieved request/byte hit rates for forward caching proxies? Are refresh patterns very relevant to hit-rates? When an object becomes stale, squid will

Re: [squid-users] Re: refresh patterns!

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 18:07 +0100, RW wrote: Are refresh patterns very relevant to hit-rates? Yes, refresh_pattern tune how long objects is considered fresh, and also the tool to override HTTP freshness when needed.. When an object becomes stale, squid will verify it on the next access,

Re: [squid-users] how to check the health of squid server?

2007-08-14 Thread Chris Robertson
ying lcs wrote: Hi, How to check the health of squid server? I am thinking about writing a script to connect to squid ip address with port 3128. But is that enough? And what should i expect to receive? Is there some kind of 'ping' command for squid? Thank you. Here's a (very) quick and

Re: [squid-users] Accessing gmail pop/smtp servers

2007-08-14 Thread Chris Robertson
Snaik wrote: i am unable to access the gmail pop/smtp server via squid. most of my squid configuration is same as the default squid config file, with only a few extra access control lists and operators additionally i've added SSL_ports 443 995 465#for gmail ports 995(pop) and 465(smtp) are

Re: [squid-users] endless growing swap.state after reboot

2007-08-14 Thread Michel Santos
Henrik Nordstrom disse na ultima mensagem: Please try. But as you indicate above it's possible the problem is not caused by the swap.state, but by concurrent traffic while the cache is being rebuilt in which case producing a test case is somewhat more complex.. well, just got one, what

[squid-users] Re: refresh patterns!

2007-08-14 Thread RW
On Tue, 14 Aug 2007 20:30:28 +0200 Henrik Nordstrom [EMAIL PROTECTED] wrote: On tis, 2007-08-14 at 18:07 +0100, RW wrote: Are refresh patterns very relevant to hit-rates? Yes, refresh_pattern tune how long objects is considered fresh, and also the tool to override HTTP freshness when

Re: [squid-users] Question on redirector and Squid accelerator mode

2007-08-14 Thread Alex Rousskov
On Thu, 2007-08-09 at 11:56 +0200, Henrik Nordstrom wrote: On lör, 2007-08-04 at 15:37 -0400, fulan Peng wrote: I have set up Squid to accelerate a web site, say, yahoo.com with another domain name, https://proxy.mydomain.com. In the web page, there is a link, google.com, when browser

[squid-users] tproxy

2007-08-14 Thread Reza Behroozi
Hi what squid + tproxt doing for us and when we must use tproxy? thanks

Re: [squid-users] I/O tests and squid

2007-08-14 Thread Ming-Ching Tiew
From: Henrik Nordstrom [EMAIL PROTECTED] avg-cpu: %user %nice %system %iowait %steal %idle 0.92 0.001.09 6.16 0.00 91.83 It's not much blocking on disk I/O either, only 6.16%. 91.83% of the time your server is doing absolutely

Re: [squid-users] Squid allow only 2 max connections per IP

2007-08-14 Thread Amos Jeffries
On ons, 2007-08-15 at 01:08 +1200, Amos Jeffries wrote: Chris Robertson wrote: The all here should be the first acl referenced on the line or it will prevent your deny_info message from being shown. e.g. http_access deny all maxcon deny_info ERR_MAXCON maxcon That sounds a lot

Re: [squid-users] endless growing swap.state after reboot

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 17:22 -0300, Michel Santos wrote: well, just got one, what now? Do you want the file? No, but I want you to hold on to it so you can test things without having to reboot a server and cross your fingers.. now I did the same again but started squid with -F and all good

Re: [squid-users] Squid allow only 2 max connections per IP

2007-08-14 Thread Henrik Nordstrom
On ons, 2007-08-15 at 15:14 +1200, Amos Jeffries wrote: Maybe this should be changed in future so a deny_info can be given a name (like ALC are named now) but the http(s)_access adds a deny=NAME option to specify the exact alternative page to be used. Perhaps, but it's already easy to do so

Re: [squid-users] tproxy

2007-08-14 Thread Henrik Nordstrom
On ons, 2007-08-15 at 02:51 +0330, Reza Behroozi wrote: Hi what squid + tproxt doing for us and when we must use tproxy? it makes Squid use the clients real IP when forwarding the request, making the proxy almost invisible to servers.. Regards Henrik signature.asc Description: This is a

Re: [squid-users] Re: refresh patterns!

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 21:57 +0100, RW wrote: I'm talking about overriding the default for query urls. Ah, those suggested defaults.. I was wondering how safe, and how useful something like this would be: acl cache_upr urlpath_regex -i \.(png|jpe?g|gif|tif+|ico|css|js|swf|swv)($|) cache

Re: [squid-users] I/O tests and squid

2007-08-14 Thread Adrian Chadd
On Wed, Aug 15, 2007, Ming-Ching Tiew wrote: You are obsolutely right about that observation, unfortunately I did not know how to deal with this transition and users are complaining slow http response and I had to put Squid off-line. From being able to handle 9000 requests concurrently, I