[squid-users] How to cache <1KB content ? How to improve hit ratio in memory

2016-03-03 Thread johnzeng
Hello Dear Sir I hope i can improve hit ratio of cache system recently , but i have two question . first : whether maximum_object_size_in_memory can be writed ( other value less than 1KB) maximum_object_size_in_memory 500 bytes ( whether it will be correct ) Second : When i set maximum_obje

Re: [squid-users] Bizarrely slow, timing out DNS only via Squid :D

2016-03-03 Thread Tory M Blue
> I've seen the dns issue when IPv6 is not being handled properly. One way to > test ( ya ya ) is to disable IPv6 via sysctl and see if you still see the > delays. Tory___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-c

Re: [squid-users] SSL Bump Issue

2016-03-03 Thread Amos Jeffries
On 4/03/2016 11:57 a.m., Ali Jawad wrote: > Hi > I am using Squid > > [root@kgoDcyTx9 squid]# /squid/sbin/squid -v > > Squid Cache: Version 3.4.9 When using SSL-Bump functionality first port of call is to ensure you are using the latest release. Today that is 3.5.15 (though I recommend the sn

Re: [squid-users] Bizarrely slow, timing out DNS only via Squid :D

2016-03-03 Thread Dan Charlesworth
Hey Amos, Yeah 30 other happy sites which also have basically identical squid boxes, and very similar networks. They did also mention to me that that they had IPv6 going on this network for quite a while, but switched it off recently (around when this problem started) due to nothing related to

[squid-users] Whether my understanding is correct ?

2016-03-03 Thread johnzeng
Hello Sir : When i use Squid 3.5.5 and start Squid . worker is 2 in squid config When i use ps tool and i found number of pid is different between starting runing squid and normal runing squid . ps -u squiduser | grep "squid" at starting runing squid there are five processing at starting runi

Re: [squid-users] Bizarrely slow, timing out DNS only via Squid :D

2016-03-03 Thread Amos Jeffries
On 4/03/2016 3:04 p.m., Dan Charlesworth wrote: > Eliezer, > > I haven’t had time to put together a current squid.conf and make it readable, > remove sensitive stuff. But we don’t have any DNS-related directives set, > it’s all just defaults for that stuff. > FYI: (squid -k parse 2>&1 ) | g

Re: [squid-users] Bizarrely slow, timing out DNS only via Squid :D

2016-03-03 Thread Amos Jeffries
On 4/03/2016 11:42 a.m., Dan Charlesworth wrote: > Thanks for your input Eliezer. > > I've tested against various public DNS servers at this point so I'm ruling > out any DNS-server-side problems. The only time there's any timeouts or > slowness is when the request is going through squid. Doesn't

Re: [squid-users] Sudden but sustained high bandwidth usage

2016-03-03 Thread Amos Jeffries
On 4/03/2016 5:01 p.m., Amos Jeffries wrote: > On 4/03/2016 4:49 a.m., Heiler Bemerguy wrote: >> >> Hi Amos, >> >> You didn't notice it was always the same client ? The same IP address >> redownloading ad eternum.. >> >> I managed to fix it by not caching stuff with "?" in it: >> >> *refresh_patter

Re: [squid-users] Sudden but sustained high bandwidth usage

2016-03-03 Thread Amos Jeffries
On 4/03/2016 4:49 a.m., Heiler Bemerguy wrote: > > Hi Amos, > > You didn't notice it was always the same client ? The same IP address > redownloading ad eternum.. > > I managed to fix it by not caching stuff with "?" in it: > > *refresh_pattern -i (/cgi-bin/|\?) 0 0% 0* > > But I don't know if

Re: [squid-users] Bizarrely slow, timing out DNS only via Squid :D

2016-03-03 Thread Dan Charlesworth
Eliezer, I haven’t had time to put together a current squid.conf and make it readable, remove sensitive stuff. But we don’t have any DNS-related directives set, it’s all just defaults for that stuff. As for the other things you asked about: 1. The current resolv.conf looks like this: ``` searc

Re: [squid-users] SSL Bump Issue

2016-03-03 Thread Ali Jawad
I did run in debug mode and when the request is done I can see 2016/03/03 18:43:13.784 kid1| Address.cc(378) lookupHostIP: Given Non-IP ' requested.URL.com': Name or service not known I am using 8.8.8.8 in resolv.conf "public hostname not internal " and I can ping the URL that should be instead o

[squid-users] SSL Bump Issue

2016-03-03 Thread Ali Jawad
Hi I am using Squid [root@kgoDcyTx9 squid]# /squid/sbin/squid -v Squid Cache: Version 3.4.9 configure options: '--prefix=/squid' '--includedir=/squid/usr/include' '--enable-ssl-crtd' '--datadir=/squid/usr/share' '--bindir=/squid/usr/sbin' '--libexecdir=/squid/usr/lib/squid' '--localstatedir=/s

Re: [squid-users] Bizarrely slow, timing out DNS only via Squid :D

2016-03-03 Thread Eliezer Croitoru
This is where you need to share your squid.conf.. Also what was the result of the query I mentioned? Another one to try is: http://www.squid-cache.org/Doc/config/dns_v4_first/ try adding to the end of squid.conf dns_v4_first on All The Bests, Eliezer On 04/03/2016 00:42, Dan Charlesworth wrote

Re: [squid-users] Bizarrely slow, timing out DNS only via Squid :D

2016-03-03 Thread Dan Charlesworth
Thanks for your input Eliezer. I've tested against various public DNS servers at this point so I'm ruling out any DNS-server-side problems. The only time there's any timeouts or slowness is when the request is going through squid. Doesn't seem to matter which HTTP server I'm requesting, whether it

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread Rafael Akchurin
Hello Secoonder and all, Please see the following step by step tutorial how to rebuild Squid 3.5.15 (amd64) in Ubuntu 14.04 LTS - http://docs.diladele.com/tutorials/build_squid_ubuntu14/index.html. The ubuntu.diladele.com repo will be available in a week. BTW Anyone needs the scripts to be con

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread Eliezer Croitoru
On 03/03/2016 14:35, Jorgeley Junior wrote: to install squid in /etc use "--prefix=/etc/squid" The standard way is: ./configure --prefix=/usr/local/squid and it's also normal in some systems to use the /opt such as ./configure --prefix=/opt/squid Permissions and users you will need to set manu

Re: [squid-users] Sudden but sustained high bandwidth usage

2016-03-03 Thread Heiler Bemerguy
Hi Amos, You didn't notice it was always the same client ? The same IP address redownloading ad eternum.. I managed to fix it by not caching stuff with "?" in it: *refresh_pattern -i (/cgi-bin/|\?) 0 0% 0* But I don't know if it's the best approach.. The URL was like that: /10.101.1.50 TCP

Re: [squid-users] Squidcllient making request

2016-03-03 Thread Alex Rousskov
On 03/03/2016 04:43 AM, Amos Jeffries wrote: > On 3/03/2016 8:28 p.m., John Pearson wrote: >> I am getting a lot of messy code and when I quit (CRTL-C), squid logs are >> showing TCP_HIT_ABORTED. > I'm not sure what exactly is leading to the ABORTED yet. Its not a major > issue, just a logging de

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread L . P . H . van Belle
Or if you cant wait use this script, works on debian Jessie so adapting it to ubuntu should be easy. Im using this for 3.5.10 to 3.5.15   ## PROGRAM BUILD SQUID for DEB PACKAGING #!/bin/bash # ## LAST TEST DATE : 01-02-2016. ( debian Jessie ) # ## to make squid 3.5.x from Debian SID wor

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread Rafael Akchurin
And if you donot mind waiting a week or so - we plan to have ready to sslbump + ecap squid3 for ubuntu 14.04 at ubuntu.diladele.com repo. Best regards, Rafael > Op 3 mrt. 2016 om 13:06 heeft Amos Jeffries het > volgende geschreven: > >> On 3/03/2016 10:45 p.m., secoonder wrote: >> Hello >> i

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread Amos Jeffries
On 4/03/2016 1:35 a.m., Jorgeley Junior wrote: > to install squid in /etc use "--prefix=/etc/squid" > Dont do that. Amos > 2016-03-03 9:32 GMT-03:00 Jester Purtteman : > >> Hello, >> >> Ubuntu uses different paths than Squid's default assumption, so it makes >> squid installs a little easier t

Re: [squid-users] rev 3.5.15

2016-03-03 Thread joe
tks amos also i clean up re work on store-id wish also minimize the other error like loop and so and in conf as well and im trying to study why the most TCP_SWAPFAIL_MISS/200 ar application/x-javascript so must be somthing stuped not related to bug i will report later if i find any .. --

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread Jorgeley Junior
to install squid in /etc use "--prefix=/etc/squid" 2016-03-03 9:32 GMT-03:00 Jester Purtteman : > Hello, > > Ubuntu uses different paths than Squid's default assumption, so it makes > squid installs a little easier to work if you specify the paths for your > installation using the configure scrip

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread Jester Purtteman
Hello, Ubuntu uses different paths than Squid's default assumption, so it makes squid installs a little easier to work if you specify the paths for your installation using the configure script. The only glitch is, if you have already installed, then squid is installed a bit adnormally already

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread Amos Jeffries
On 3/03/2016 10:45 p.m., secoonder wrote: > Hello > i used debian(ubuntu 14.04) > I read a lot of articles on the Internet for squid 443 enable redirection. > As i learned,if port 443 is active from squid,The installed needs by the > compiled squid.is it true ? Yes, The Debian and Ubuntu binary p

Re: [squid-users] Squidcllient making request

2016-03-03 Thread Amos Jeffries
On 3/03/2016 8:28 p.m., John Pearson wrote: > Thanks Amos! It works. > > New problem: > I am checking whether a url (object) is cached or not by using: > > squidclient -p 3129 $url | fgrep X-Cache > > I am getting a lot of messy code and when I quit (CRTL-C), squid logs are > showing TCP_HIT_ABO

Re: [squid-users] Squid 3.5.x install problem

2016-03-03 Thread Yuri Voinov
I see -mt library when Solaris native thread specified, this is correct, but -lpthreads is POSIX, not Solaris wrapper. Solaris wrapper named -lthread and -lpthread. libtool: link: ( cd ".libs" && rm -f "libunbound.la" && ln -s "../libunbound.la" "libunbound.la" ) ./libtool --tag=CC --mode=link

[squid-users] Squid 3.5.x install problem

2016-03-03 Thread secoonder
Hello i used debian(ubuntu 14.04) I read a lot of articles on the Internet for squid 443 enable redirection. As i learned,if port 443 is active from squid,The installed needs by the compiled squid.is it true ? am i installed apt-get install squid for 443 redirect?(80.ports redirect wasno problem,i