Re: [squid-users] Cache_dir size considerations

2010-03-17 Thread Marcello Romani
GIGO . ha scritto: Dear All, Relevant info: On IBM Server 3650 x series with physical RAID 1 . Disk space comprises of 70 Gb Intended is caching of windows update. intended is caching of youtube contents. Single is dedicated to running squid on Ubuntu 8.04 Current Settings : cache_dir auf

RE: [squid-users] Cache_dir size considerations

2010-03-17 Thread GIGO .
The total amount of Ram on the server is 4 GB with cache_mem parameter set to 1 GB. > Date: Wed, 17 Mar 2010 08:18:03 +0100 > From: mrom...@ottotecnica.com > CC: squid-users@squid-cache.org > Subject: Re: [squid-users] Cache_dir size considerations > > GI

Re: [squid-users] transparent squid + clamav + https

2010-03-17 Thread Henrik Nordström
ons 2010-03-17 klockan 07:51 +0100 skrev Henrik Nordström: > ons 2010-03-17 klockan 03:53 + skrev Amos Jeffries: > > > During the infected period imaginary-HAVP scans the documents and sends a > > large "clean" prefix to all visitors. > > BUT... aborts when the appended infection is detected.

RE: [squid-users] Startup/Shutdown scripts.

2010-03-17 Thread GIGO .
Still looking forward for some assistance on requested matter. Please guide regards, > From: gi...@msn.com > To: squid-users@squid-cache.org > Date: Wed, 17 Mar 2010 04:59:29 + > Subject: [squid-users] Startup/Shutdown scripts. > > > It is related

[squid-users] Do not make conditional requests to the originserver when cache hits. Is it possible?

2010-03-17 Thread Kai-Chieh Ku
Hello, I just setup a reverse proxy. But I noticed squid always send conditional requests to the backend server even its local cache contains the fresh data. The response headers looks like this: -- HTTP/1.0 200 OK Last-Modified: Wed, 17 03 2010 08:26:15 GMT Cache-Control: max-age=86400 Content-Ty

Re: [squid-users] squid consuming too much processor/cpu

2010-03-17 Thread Ivan .
you might want to check out this thread http://www.mail-archive.com/squid-users@squid-cache.org/msg56216.html cheers ivan On Wed, Mar 17, 2010 at 4:55 PM, Muhammad Sharfuddin wrote: > Squid Cache: Version 2.7.STABLE5(squid-2.7.STABLE5-2.3) > kernel version: 2.6.27 x86_64 > CPU: Xeon 2.6 GHz CPU

Re: [squid-users] Squid v2.6 error accessing site

2010-03-17 Thread Matus UHLAR - fantomas
> >> On Tue, 16 Mar 2010 11:12:44 +1100, "Ivan ." wrote: > >>> I am having some trouble accessing the site > >>> http://www.efirstaid.com.au/. I confirm the TCP SYN packet leaves our > >>> edge router, but I don't see anything back? > > On Tue, Mar 16, 2010 at 11:27 AM, Amos Jeffries > > wrote:

Re: [squid-users] Questions about referer url cache

2010-03-17 Thread dave jones
2010/3/16 Henrik Nordström wrote: > tis 2010-03-16 klockan 10:08 +0800 skrev dave jones: > >> Thanks. I use url_rewrite_program /etc/squid/redirect_test.php, >> but it seems my program doesn't work... > > In most languages you need to turn off output buffering, and is > something everyone trips ove

Re: [squid-users] Startup/Shutdown scripts.

2010-03-17 Thread John Doe
From: GIGO . > It is related to starting > squid automatically at boot. i have tried enough but did not succeded in > doing > that. I have compiled squid3 stable24 on Ubuntu 8.04LTS. What i figured out > is > that squid is not being allowed to run as root so my startup scripts failed > evend

Re: [squid-users] Proxy Script Error

2010-03-17 Thread Matus UHLAR - fantomas
On 16.03.10 14:59, Sam Larson wrote: > As soon as I add the "url_rewrite_program > /usr/local/bin/flip.pl" command, squid fails to start. If I comment > out that line, it starts fine. I have attached data below from the > cache.log from trying to start squid in hopes that someone can point > me in

Re: [squid-users] Squid v2.6 error accessing site

2010-03-17 Thread Ivan .
Its all sorted, a issue on the hosted site On Wed, Mar 17, 2010 at 8:27 PM, Matus UHLAR - fantomas wrote: >> >> On Tue, 16 Mar 2010 11:12:44 +1100, "Ivan ." wrote: >> >>> I am having some trouble accessing the site >> >>> http://www.efirstaid.com.au/. I confirm the TCP SYN packet leaves our >> >

Re: [squid-users] Max Object Size.

2010-03-17 Thread John Doe
From: GIGO . > Is there any > difference between maximum_object_size and max-size directives. What is the > recommended setting when you are looking forward for caching windows update > and > youtube content. Almost 1000 clients. >From the "documentation": # TAG: maximum_object_size (

Re: [squid-users] Blocking or allowing specific arbitrary request headers in squid-3.1.

2010-03-17 Thread Graham Keeling
On Tue, Mar 16, 2010 at 09:46:44PM +, Amos Jeffries wrote: > On Tue, 16 Mar 2010 14:06:59 +, Graham Keeling > wrote: > > Hello, > > > > In older versions of squid, I was able to block or allow specific > arbitrary > > request headers. For example: > > > > header_access X-SomeRandomHeader

Re: [squid-users] Cache_dir size considerations

2010-03-17 Thread Marcello Romani
GIGO . ha scritto: The total amount of Ram on the server is 4 GB with cache_mem parameter set to 1 GB. IMHO there's plenty of HW for squid to run smoothly. But it also depends on the amount of traffic. I'm sorry but I think I don't get your point... what is exactly the problem you're havi

Re: [squid-users] Questions about referer url cache

2010-03-17 Thread dave jones
Please ignore this message, I fixed the problem. Sorry for the noise! Regards, Dave. 2010/3/17 dave jones : > 2010/3/16 Henrik Nordström wrote: >> tis 2010-03-16 klockan 10:08 +0800 skrev dave jones: >> >>> Thanks. I use url_rewrite_program /etc/squid/redirect_test.php, >>> but it seems my progra

[squid-users] storeurl_rewite_program is being run, but result is not used (2.7)

2010-03-17 Thread Justin Love
I've built a storeurl_rewrite_program (which strips some changing query-strings), and verified from logging in the script that it is being run and generating the desired modified url. However, access.log continues to show TCP_MISS and store.log has SWAPOUT with the unmodified url. Why would Squid

Re: [squid-users] squid consuming too much processor/cpu

2010-03-17 Thread Muhammad Sharfuddin
On Wed, 2010-03-17 at 19:54 +1100, Ivan . wrote: > you might want to check out this thread > > http://www.mail-archive.com/squid-users@squid-cache.org/msg56216.html I checked, but its not clear to me do I need to install some packages/rpms ? and then ? I mean how can I resolve this issue -- Reg

Re: [squid-users] squid consuming too much processor/cpu

2010-03-17 Thread George Herbert
On Wed, Mar 17, 2010 at 5:09 AM, Muhammad Sharfuddin wrote: > > On Wed, 2010-03-17 at 19:54 +1100, Ivan . wrote: >> you might want to check out this thread >> >> http://www.mail-archive.com/squid-users@squid-cache.org/msg56216.html > > I checked, but its not clear to me > do I need to install some

Re: [squid-users] Do not make conditional requests to the originserver when cache hits. Is it possible?

2010-03-17 Thread Amos Jeffries
Kai-Chieh Ku wrote: Hello, I just setup a reverse proxy. But I noticed squid always send conditional requests to the backend server even its local cache contains the fresh data. The response headers looks like this: -- HTTP/1.0 200 OK Last-Modified: Wed, 17 03 2010 08:26:15 GMT Cache-Control: ma

Re: [squid-users] squid returns an error on an ajax request

2010-03-17 Thread Chris Nighswonger
On Tue, Mar 16, 2010 at 5:21 PM, Amos Jeffries wrote: > On Tue, 16 Mar 2010 15:31:51 -0400, Chris Nighswonger > wrote: >> This is probably a problem with the site rather than with squid, but I >> thought the list might be able to identify it as I cannot. >> >> Below is the entire response body. >

Re: [squid-users] squid consuming too much processor/cpu

2010-03-17 Thread Henrik K
On Wed, Mar 17, 2010 at 05:27:26AM -0700, George Herbert wrote: > > If it is that same gnu malloc issue on pattern matching, then a > restart of Squid should clear it up temporarily. It would > consistently appear after some time, after the restart, though. > > You could either automatically res

Re: [squid-users] squid consuming too much processor/cpu

2010-03-17 Thread Matus UHLAR - fantomas
> On Wed, Mar 17, 2010 at 05:27:26AM -0700, George Herbert wrote: > > If it is that same gnu malloc issue on pattern matching, then a > > restart of Squid should clear it up temporarily. It would > > consistently appear after some time, after the restart, though. > > > > You could either automati

Re: [squid-users] Do not make conditional requests to the originserver when cache hits. Is it possible?

2010-03-17 Thread Kai-Chieh Ku
On Wed, Mar 17, 2010 at 8:46 PM, Amos Jeffries wrote: > ... very twisted. > > You have squid listening on pot 81 for requests to > http://localhost:80/something That's a setup for testing... > Take a read through this: > http://wiki.squid-cache.org/ConfigExamples/Reverse/BasicAccelerator I've r

Re: [squid-users] transparent squid + clamav + https

2010-03-17 Thread Stefan Reible
Hi, I have configured the viralator. But I have some problems with the redirector. When I run /opt/squirm/bin/squirm as user squid by hand, I get the following text: squid1 logs # tail -f squirm.info Wed Mar 17 15:33:19 2010:processing configuration file [/opt/squirm/etc/squirm.conf] Wed M

RE: [squid-users] Cache_dir size considerations

2010-03-17 Thread GIGO .
Well i want to make sure that my settings are optimized and want to learn more about the cache_dir settings.let me come in details I have installed squid3stable24 on Ubuntu 8.04 on IBM 3650 X series server with two hard disks on which physical RAID1 is implemented. I am to use the Squid

RE: [squid-users] Max Object Size.

2010-03-17 Thread GIGO .
great it feel right to me thanks! > Date: Wed, 17 Mar 2010 02:46:04 -0700 > From: jd...@yahoo.com > To: squid-users@squid-cache.org > Subject: Re: [squid-users] Max Object Size. > > From: GIGO . >> Is there any >> difference between maximum_object_size an

[squid-users] Unable connect to site FTP through client FireFTP or similar (Filezilla)

2010-03-17 Thread Mariel Sebedio
Hello, I have RHLE 5.4 and squid3.0Stable19 and I need to connect FTP Client through proxy server. When I was connected with web browser its is OK and when I was used the FireFTP or another FTP client the connection is unable whit time out. (report the client) I look the access.log and in the s

[squid-users] Warning your cache is running out of file descriptors

2010-03-17 Thread Gmail
Hello All, This is the first time I am using this mailing ;list, and I do apologise if I sent a copy of this email to another address by mistake I am desperately seeking some help, I have googled in a hope to find an answer, but all I could find was about the previous versions, which don't a

Re: [squid-users] Warning your cache is running out of file descriptors

2010-03-17 Thread Mariel Sebedio
Hello, the file descriptors you must be incress in /etc/security/limits.conf and re-build the cache For RHEL you must change * - nofiles 1024 for * - nofiles 2048 Sorry my english!! Bye, Mariel Gmail wrote: Hello All, This is the first time I am using this mailing ;list, and I do apol

Re: [squid-users] Warning your cache is running out of file descriptors

2010-03-17 Thread william
See this thread: http://www.mail-archive.com/squid-users@squid-cache.org/msg70230.html please search the archives with kind regards William van de Velde On 03/17/2010 07:20 PM, Mariel Sebedio wrote: Hello, the file descriptors you must be incress in /etc/security/limits.conf and re-build t

[squid-users] RE: Conditional proxy

2010-03-17 Thread Noceg
I just wanted to post back and say Thank you for your help. This solution worked perfectly for my situation. -- View this message in context: http://n4.nabble.com/Conditional-proxy-tp1566319p1596995.html Sent from the Squid - Users mailing list archive at Nabble.com.

[squid-users] No GET args in URL in logs

2010-03-17 Thread Alex
Hello, Firstly, am loving Squid. I never knew caching was going to be so much fun. I'm using Debian Lenny's squid (Version 3.0.STABLE8) and having problems with the GET args being truncated from the logs. As in, if I'm requesting: GET http://example.com/?output=rss This comes through in the

Re: [squid-users] squid consuming too much processor/cpu

2010-03-17 Thread Ivan .
run a cron job to restart Squid once a week? On Wed, Mar 17, 2010 at 11:09 PM, Muhammad Sharfuddin wrote: > > On Wed, 2010-03-17 at 19:54 +1100, Ivan . wrote: > > you might want to check out this thread > > > > http://www.mail-archive.com/squid-users@squid-cache.org/msg56216.html > > I checked, b

Re: [squid-users] Warning your cache is running out of file descriptors

2010-03-17 Thread Ivan .
I used this http://paulgoscicki.com/archives/2007/01/squid-warning-your-cache-is-running-out-of-filedescriptors/ On Thu, Mar 18, 2010 at 6:21 AM, william wrote: > See this thread: > http://www.mail-archive.com/squid-users@squid-cache.org/msg70230.html > > > please search the archives > > > with

RE: [squid-users] Cache_dir size considerations

2010-03-17 Thread Amos Jeffries
On Wed, 17 Mar 2010 15:43:28 +, "GIGO ." wrote: > Well i want to make sure that my settings are optimized and want to learn > more about the cache_dir settings.let me come in details > > > I have installed squid3stable24 on Ubuntu 8.04 on IBM 3650 X series server > with two hard disks

Re: [squid-users] Java not working behind squid

2010-03-17 Thread Thomas Klein
Truth Seeker schrieb: - http_access deny !AuthorizedUsers ... performs authentication. Which was your problem with Java... order is important! So does it mean, i need to put them as the following; ### For JAVA acl Java browser Java/1.4 Java/1.5 Java/1.6 ac

Re: [squid-users] Unable connect to site FTP through client FireFTP or similar (Filezilla)

2010-03-17 Thread Amos Jeffries
On Wed, 17 Mar 2010 15:30:55 -0200, Mariel Sebedio wrote: > Hello, I have RHLE 5.4 and squid3.0Stable19 and I need to connect FTP > Client through proxy server. > When I was connected with web browser its is OK and when I was used the > FireFTP or another FTP client the connection is unable whi

Re: [squid-users] Java not working behind squid

2010-03-17 Thread Amos Jeffries
On Wed, 17 Mar 2010 23:21:44 +0100, Thomas Klein wrote: > Truth Seeker schrieb: >>> - >>> > http_access deny !AuthorizedUsers > ... performs authentication. Which was your problem >>> with >>> Java... order is important! >

Re: [squid-users] Warning your cache is running out of file descriptors

2010-03-17 Thread Amos Jeffries
On Wed, 17 Mar 2010 19:06:39 -, Gmail wrote: > Hello All, > > This is the first time I am using this mailing ;list, and I do apologise > if > I sent a copy of this email to another address by mistake > > I am desperately seeking some help, I have googled in a hope to find an > answer, but

Re: [squid-users] No GET args in URL in logs

2010-03-17 Thread Amos Jeffries
On Wed, 17 Mar 2010 19:55:54 +, Alex wrote: > Hello, > > Firstly, am loving Squid. I never knew caching was going to be so much fun. > > I'm using Debian Lenny's squid (Version 3.0.STABLE8) and having problems > with the GET args being truncated from the logs. As in, if I'm requesting: > >

Re: [squid-users] transparent squid + clamav + https

2010-03-17 Thread Amos Jeffries
On Wed, 17 Mar 2010 16:04:03 +0100, Stefan Reible wrote: > Hi, > > I have configured the viralator. But I have some problems with the > redirector. > When I run /opt/squirm/bin/squirm as user squid by hand, I get the > following text: > > squid1 logs # tail -f squirm.info > Wed Mar 17 15:33:19

[squid-users] squid 3.1 + bridge + ebtables ??-- linux-nelfilter o linux-tproxy4 ?

2010-03-17 Thread Ariel
hello list I'm compiling squid 3.1 and wanted to know which option should I choose to set it as ebtables + bridge + squid3 if - enable-linux-netfilter or enable-linux-tproxy? Thanks

Re: [squid-users] squid 3.1 + bridge + ebtables ??-- linu x-nelfilter o linux-tproxy4 ?

2010-03-17 Thread Amos Jeffries
On Wed, 17 Mar 2010 20:12:15 -0300, Ariel wrote: > hello list I'm compiling squid 3.1 and wanted to know which option > should I choose to set it as ebtables + bridge + squid3 > > if - enable-linux-netfilter or enable-linux-tproxy? > Thanks --enable-linux-netfilter Amos

RE: [squid-users] Squid cache_dir failed - can squid survive?

2010-03-17 Thread GIGO .
Dear henrik, If you have only one physical machine what is the best strategy for miminmizing the downtime and rebuild the cache directory again or start utilizing the squid without the cache directory? I assume we have to reinstall the Squid Software? Please guide ---

Re: [squid-users] Squid cache_dir failed - can squid survive?

2010-03-17 Thread Ivan .
I wonder about the value of http cache, when the majority of high volume sites used in the corporate environment are dynamic. http://www.mnot.net/cache_docs/ How is the no-cache HTTP header handled by Squid? I didn't see the value in it, and used the cache_dir null /tmp to stop it http://wiki.squ

[squid-users] purge command not working

2010-03-17 Thread jayesh chavan
Hi, Purge command is not working.It is giving error as "client: ERROR: Cannot connect to localhost:3128: Unknown error".My squid proxy is listening on port 8080. Regards, Jayesh

Re: [squid-users] purge command not working

2010-03-17 Thread jayesh chavan
Hi, I am not specifying anything about port in my command.My command is: squidclient.exe -m PURGE http://www.yourtargetwebsite.com/ Regards, JAyesh

[squid-users] redirect not working

2010-03-17 Thread jayesh chavan
Hi, I have apache server installed on same host.My redirect program is giving error as access is not allowed.Apache is listening on port 80.My squid config contains: htttp_port 8080 http_access allow manager localhost http_access allow localhost http_access deny manager http_access deny !Safe_p