Re: [squid-users] My my squid hit ratio so low?

2013-07-04 Thread Amos Jeffries
On 5/07/2013 6:26 p.m., jinge wrote: Hi, all. We use squid for a long time. And recently we upgrade our squid to 3.3.4 and begin to use SMP and rock. This is our related configure. include /usr/local/etc/squid/commonbk/bk.global-options.conf include /usr/local/etc/squid/commonbk/bk.refresh-pa

[squid-users] My my squid hit ratio so low?

2013-07-04 Thread jinge
Hi, all. We use squid for a long time. And recently we upgrade our squid to 3.3.4 and begin to use SMP and rock. This is our related configure. include /usr/local/etc/squid/commonbk/bk.global-options.conf include /usr/local/etc/squid/commonbk/bk.refresh-pattern.conf include /usr/local/etc/squid

[squid-users] Re: Big file (500MB) need to be downloaded many times so that it can be cached?

2013-07-04 Thread Makson
Got it, thanks for your great help. Makson -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Big-file-500MB-need-to-be-downloaded-many-times-so-that-it-can-be-cached-tp4660904p4660926.html Sent from the Squid - Users mailing list archive at Nabble.com.

Re: [squid-users] Re: Big file (500MB) need to be downloaded many times so that it can be cached?

2013-07-04 Thread Amos Jeffries
On 5/07/2013 5:49 p.m., Makson wrote: So does 206 response come from partial GET request made by Squid? Or from the client? By the client. Squid does not yet make partial requests itself but will pass them on. Amos

Re: [squid-users] object not being cached

2013-07-04 Thread Amos Jeffries
On 5/07/2013 3:33 a.m., Alexandre Chappaz wrote: Hi, I have this object not being cached, and I can't understand why. Lets start with... how are you identifying that it is not being cached? http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/22.0/update/win32/fr/firefox-22.0.com

[squid-users] Re: Big file (500MB) need to be downloaded many times so that it can be cached?

2013-07-04 Thread Makson
So does 206 response come from partial GET request made by Squid? Or from the client? Makson -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Big-file-500MB-need-to-be-downloaded-many-times-so-that-it-can-be-cached-tp4660904p4660923.html Sent from the Squid -

Re: [squid-users] squid_ldap_auth windows 2008 binddn user privileges?

2013-07-04 Thread Amos Jeffries
On 5/07/2013 4:57 p.m., Beto Moreno wrote: Hi. I setup squid to authenticate with windows 2008R2 AD native using squid_ldap_auth My question is regarding of the user we use in the flag binddn, all the docs I had read just tell: "minimal privileges" I create a normal user, but squid_ldap_auth

Re: [squid-users] Re: Big file (500MB) need to be downloaded many times so that it can be cached?

2013-07-04 Thread Amos Jeffries
On 5/07/2013 5:04 p.m., Makson wrote: Hi Amos, thanks for your reply, i found that there is lots of 206 http responses in store.log, i am wondering if it is possible that one file is downloaded successfully with two 206 partial content, so that Squid can't cache it? Aha. Exactly so. None of th

Re: [squid-users] Regarding url_regex acl

2013-07-04 Thread Amos Jeffries
On 5/07/2013 11:24 a.m., Alan wrote: This looks wrong: http_access deny !allowdomain It is a strong whitelist. It means deny everything that is not explicitly whitelisted by that ACL test. Try: http_access deny allowdomain This means deny the whitelisted sites. Wrong On Fri, Jul 5, 2013

[squid-users] Re: Big file (500MB) need to be downloaded many times so that it can be cached?

2013-07-04 Thread Makson
Hi Amos, thanks for your reply, i found that there is lots of 206 http responses in store.log, i am wondering if it is possible that one file is downloaded successfully with two 206 partial content, so that Squid can't cache it? 1372991650.893 RELEASE -1 4C7ED6F77157EEE15599812A3CA559F7

[squid-users] squid_ldap_auth windows 2008 binddn user privileges?

2013-07-04 Thread Beto Moreno
Hi. I setup squid to authenticate with windows 2008R2 AD native using squid_ldap_auth My question is regarding of the user we use in the flag binddn, all the docs I had read just tell: "minimal privileges" I create a normal user, but squid_ldap_auth reject the user: squid_ldap_auth: WARNING,

Re: [squid-users] squid-3.3.5 hangs the entire system

2013-07-04 Thread Amos Jeffries
On 5/07/2013 3:56 a.m., Grant wrote: Are your file descriptors limit correctly configured ? Let squid have 6 descriptors per client minimum to be cool. Is squid limit under user limit ? I have: # ulimit -n 1024 And even as latency skyrockets I only have: # lsof -u squid | wc -l 80 Is it a pr

Re: [squid-users] reports of store-id in squid3.head

2013-07-04 Thread csn233
On Thu, Jul 4, 2013 at 2:16 AM, neeraj kharbanda wrote: > Hi, > I tested squid3.Head for storeid with 2 scripts 1 written by eliezer > and other by syaffudin both the scripts failed to cache youtube. > I switched back to squid-2.7.9 and used storeurl.pl by the same > author. Now I can see hit on y

Re: [squid-users] Regarding url_regex acl

2013-07-04 Thread Alan
This looks wrong: http_access deny !allowdomain Try: http_access deny allowdomain On Fri, Jul 5, 2013 at 5:16 AM, kannan rbk wrote: > Dear Team, > > I am using squid proxy 3.1 in centos machine. I want to restrict > client request from particular domain and web context. > > # > # Recommended mi

[squid-users] Regarding url_regex acl

2013-07-04 Thread kannan rbk
Dear Team, I am using squid proxy 3.1 in centos machine. I want to restrict client request from particular domain and web context. # # Recommended minimum configuration: # acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 ::1 acl urlwhitelist url

Re: [squid-users] squid-3.3.5 hangs the entire system

2013-07-04 Thread Grant
>>> Are your file descriptors limit correctly configured ? Let squid have 6 >>> descriptors per client minimum to be cool. >>> Is squid limit under user limit ? >> >> I have: >> >> # ulimit -n >> 1024 >> >> And even as latency skyrockets I only have: >> >> # lsof -u squid | wc -l >> 80 >> >> Is it

[squid-users] Re: Windows RDS Gateway with Squid 3.3.5

2013-07-04 Thread Stan2k
I did some test today. It seems it works with RDP protocole 7.1 on the RDP client. The RDP client with RDP protocole 8.0 doesn't work. I don't know if other people have encountered this problem. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Windows-RDS-Ga

[squid-users] object not being cached

2013-07-04 Thread Alexandre Chappaz
Hi, I have this object not being cached, and I can't understand why. http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/22.0/update/win32/fr/firefox-22.0.complete.mar I have this cachedir set for objects of size > 128Ko : cache_dir aufs /var/cache/squid/W${process_number} 9000 16 2

Re: [squid-users] Chunked and Range header support

2013-07-04 Thread Chris Bennett
Hi Anita, > 2) Range headers - from my understanding, it looks like they use this for > video streaming.. it looks like the client can request a part of the object > body to be sent alone to him. Is it correct? In this case, if multiple > ranges are requested, is it sent separately or in a consol

Re: [squid-users] file count mismatch

2013-07-04 Thread Hussam Al-Tayeb
On Thursday 04 July 2013 17:55:32 Amos Jeffries wrote: > Interesting. If you scan swap.state and pull out the "fileno" field it > should map to the directory "L1/L2/file" structure. Can you identify > which objects the overlap is about and what swap.state is saying about them? How can I do that?

Re: [squid-users] Big file (500MB) need to be downloaded many times so that it can be cached?

2013-07-04 Thread Amos Jeffries
On 4/07/2013 6:18 p.m., Makson Lee wrote: Hi All, The file had been downloaded successfully, but it didn't been cached, then you tried to download it a more few times, now it been cached, why? When you first download it does not exist in cache (MISS). First download adds it to the cache. Seco

Re: [squid-users] squid-3.3.5 hangs the entire system

2013-07-04 Thread Amos Jeffries
On 4/07/2013 7:00 p.m., Grant wrote: Are your file descriptors limit correctly configured ? Let squid have 6 descriptors per client minimum to be cool. Is squid limit under user limit ? I have: # ulimit -n 1024 And even as latency skyrockets I only have: # lsof -u squid | wc -l 80 Is it a pr

Re: [squid-users] squid-3.3.5 hangs the entire system

2013-07-04 Thread Grant
> Are your file descriptors limit correctly configured ? Let squid have 6 > descriptors per client minimum to be cool. > Is squid limit under user limit ? I have: # ulimit -n 1024 And even as latency skyrockets I only have: # lsof -u squid | wc -l 80 Is it a problem that the client is behind a