[squid-users] Does squid support haproxy's proxy protocol?

2014-01-03 Thread k simon
Hi,All, Haproxy has a custom defined protocol called proxy protocol, it's aimed to chain proxies / reverse-proxies without losing the client information. In the past days I used tproxy , but I have to change architecture and change routes manually, it's diffcault to maintained. Can squid support

Re: [squid-users] Does squid support haproxy's proxy protocol?

2014-01-04 Thread k simon
Thanks. 于 3/1/14 下午8:21, Amos Jeffries 写道: On 3/01/2014 11:55 p.m., k simon wrote: Hi,All, Haproxy has a custom defined protocol called proxy protocol, it's aimed to chain proxies / reverse-proxies without losing the client information. In the past days I used tproxy , but I have to change

[squid-users] question about large rock

2014-01-27 Thread k simon
Hi,Alex, I noticed large rock have merged to squid 3.5, I have some question about your large rock patch. 1,Does large rock support non-SMP instance? I know the rock store must used with worker. 2,Does large rock solve rebuilding time too long issue? 3,Can large rock support range splice?

Re: [squid-users] question about large rock

2014-01-27 Thread k simon
Thanks. 于 28/1/14 上午2:59, Alex Rousskov 写道: On 01/27/2014 05:26 AM, k simon wrote: I noticed large rock have merged to squid 3.5, I have some question about your large rock patch. Hello Simon, 1,Does large rock support non-SMP instance? Yes. Rock store can be used in non-SMP

[squid-users] segment fault on freebsd 10-stable

2014-02-01 Thread k simon
Hi,lists, I upgraded my squid box from freebsd 9.2 to freebsd 10-stable, and I found when using aufs storage scheme, squid just report segment fault and quit, but diskd works normal. And I found compiled squid with tcmalloc, squid quit with segment fault too, whenever using aufs or diskd.

Re: [squid-users] segment fault on freebsd 10-stable

2014-02-07 Thread k simon
Hi,Amos, I found other people have the same problem. http://freebsd.1045724.n5.nabble.com/Squid-aufs-crashes-under-10-0-td5883841.html Regards Simon 于 2/2/14 下午8:12, Amos Jeffries 写道: On 1/02/2014 9:39 p.m., k simon wrote: Hi,lists, I upgraded my squid box from freebsd 9.2 to freebsd

Re: [squid-users] segment fault on freebsd 10-stable

2014-02-08 Thread k simon
And when I compile squid with tcmalloc ,once runing squid, it report segment fault and quit quickly. 于 2/2/14 下午8:12, Amos Jeffries 写道: On 1/02/2014 9:39 p.m., k simon wrote: Hi,lists, I upgraded my squid box from freebsd 9.2 to freebsd 10-stable, and I found when using aufs storage

Re: [squid-users] question about large rock

2014-02-12 Thread k simon
it. Regards Simon On 01/27/2014 05:26 AM, k simon wrote: I noticed large rock have merged to squid 3.5, I have some question about your large rock patch. Hello Simon, 1,Does large rock support non-SMP instance? Yes. Rock store can be used in non-SMP mode (as defined at [1

Re: [squid-users] question about large rock

2014-02-13 Thread k simon
于 13/2/14 上午7:08, Alex Rousskov 写道: On 02/12/2014 09:23 AM, k simon wrote: I create a 16GB size rock and limit the swap rate to 200, swap timeout to 300. When it's full filled, I reconfigured it. Iostat display the disk rps is about 200/s and throughput about 4MBytes/s. It's spent 61

Re: [squid-users] question about large rock

2014-02-13 Thread k simon
3,Can large rock support range splice? I do not think Squid itself supports range splicing. If Squid supports them, Rock store should support them as well. I think I expressed my thoughts not clearly. The wiki http://wiki.squid-cache.org/Features/LargeRockStore shows largerock have

[squid-users] squid-3.4.3-20140203-r13087 can not compile on freebsd 10-stable

2014-02-17 Thread k simon
Hi,List, The squid-3.4.3-20140203-r13087 can not compile on freebsd 10-stable. When issue ./configure,it report configure: Native pthreads support disabled. DiskThreads module automaticaly disabled. And compile can not finished, it report /usr/include/c++/v1/cstdio:139:9: error: no member

Re: [squid-users] squid-3.4.3-20140203-r13087 can not compile on freebsd 10-stable

2014-02-18 Thread k simon
in /root/kf/squid/squid/3.4/src *** Error code 1 Stop. make[1]: stopped in /root/kf/squid/squid/3.4/src *** Error code 1 Stop. make: stopped in /root/kf/squid/squid/3.4 于 14-2-18 17:12, Amos Jeffries 写道: On 18/02/2014 4:44 p.m., k simon wrote: Hi,List, The squid-3.4.3-20140203-r13087 can

Re: [squid-users] squid-3.4.3-20140203-r13087 can not compile on freebsd 10-stable

2014-02-18 Thread k simon
Hi,Amos, The config.log content: configure:6175: checking simplified host os configure:6184: result: freebsd (version 10.0) configure:6649: checking if g++ supports C++0x features without additional flags configure:6686: c++ -c -g -O2 -march=native conftest.cpp 5 conftest.cpp:15:21:

Re: [squid-users] squid-3.4.3-20140203-r13087 can not compile on freebsd 10-stable

2014-02-18 Thread k simon
Thanks a lot. I will test it later. Simon 于 14-2-18 22:23, Amos Jeffries 写道: On 19/02/2014 2:44 a.m., k simon wrote: Hi,Amos, The config.log content: configure:6175: checking simplified host os configure:6184: result: freebsd (version 10.0) Great. I think the pthreads detection

Re: [squid-users] squid-3.4.3-20140203-r13087 can not compile on freebsd 10-stable

2014-02-18 Thread k simon
Ok, compile with aufs module sucessfully when using clang 3.3. I would run and test it later, and investigate how to work around eCap compile issue. Maybe it can be compiled with gcc. Thank you, Amos! Simon 于 14-2-18 22:29, k simon 写道: Thanks a lot. I will test it later. Simon 于 14-2

[squid-users] squid 3.4 r13095 wccp error

2014-02-26 Thread k simon
Hi,List, The wccp configration works fine with squid3.3.11, when upgraded to squid 3.4 r13095, it's report: # /usr/local/squid34/sbin/squid -f /squid/wccp-instance.conf -N -d1 FATAL: Bungled /squid/wccp-instance.conf line 24: wccp2_service_info 80 protocol=tcp flags=src_ip_hash priority=240

Re: [squid-users] squid 3.4 r13095 wccp error

2014-02-27 Thread k simon
=English' '--enable-log-daemon-helpers=DB,file' --enable-ltdl-convenience Simon 于 14-2-28 4:40, Eliezer Croitoru 写道: Hey there, Wondering what squid -v output is? Eliezer On 27/02/2014 05:40, k simon wrote: Hi,List, The wccp configration works fine with squid3.3.11, when upgraded

Re: [squid-users] squid 3.4 r13095 wccp error

2014-03-01 Thread k simon
I have two copy on the box, one is 3.3, the other is 3.4. The same configuration. 3.3 worked, 3.4 can not. I tcpdump and find the diff in the 3.4-r13095 can only see the packet to router port 2048, but no response. '--disable-wccp' '--enable-wccpv2' '--disable-linux-netfilter'

Re: [squid-users] Re: Problem with squid tcp_outgoing_address

2014-03-10 Thread k simon
Hi,Amos, As tcp_outgoing_address support fast group ACL, can I use ACL base on some header? Regards Simon 于 14-3-10 19:20, Amos Jeffries 写道: On 10/03/2014 8:56 p.m., babajaga wrote: As I have a similar problem, just using this thread: How to use tcp_outgoing_address for load balancing

Re: [squid-users] Re: Problem with squid tcp_outgoing_address

2014-03-11 Thread k simon
The second question: request_header_access and tcp_outgoing_address, who will be issued first ? For example, I want use tcp_outgoing_address based on a request header , then delete the header before it really sent out? Simon 于 14-3-11 12:12, k simon 写道: Hi,Amos

Re: [squid-users] BUG 3279: HTTP reply without Date

2014-05-13 Thread k simon
I'm getting these too in 3.3.11 with aufs on FreeBSD. So I use diskd instead of aufs. Regards Simon 于 14-5-14 0:06, csn233 写道: On Mon, Feb 24, 2014 at 11:42 PM, Alex Rousskov rouss...@measurement-factory.com wrote: This assertion is being tracked as misnamed bug 3279 (at least). Posting a

Re: [squid-users] BUG 3279: HTTP reply without Date

2014-05-14 Thread k simon
Yes. 于 14-5-14 0:31, csn233 写道: On Wed, May 14, 2014 at 12:14 AM, k simon chio1...@gmail.com wrote: I'm getting these too in 3.3.11 with aufs on FreeBSD. So I use diskd instead of aufs. Are you saying with diskd, this error does not occur?

[squid-users] acl limit

2014-08-21 Thread k simon
Hi,Lists, I plan to use acl isp-xxx dst to define tons of route prefix over 27,000 items. Does it reasonable? Regards Simon

Re: [squid-users] acl limit

2014-08-21 Thread k simon
Thanks, Amos. Simon 于 14-8-21 16:19, Amos Jeffries 写道: On 21/08/2014 7:16 p.m., k simon wrote: Hi,Lists, I plan to use acl isp-xxx dst to define tons of route prefix over 27,000 items. Does it reasonable? Squid should be able to handle it, but its probably best to aggregate the ranges

[squid-users] long standing bug about aufs on freebsd 10

2014-11-30 Thread k simon
Hi, Lists, AUFS can not run stable one day and report: 2014/11/30 07:10:15 kid1| WARNING: swapfile header inconsistent with available data 2014/11/30 07:10:15 kid1| Could not parse headers from on disk object 2014/11/30 07:10:15 kid1| BUG 3279: HTTP reply without Date: 2014/11/30 07:10:15

Re: [squid-users] Memory Leak Squid 3.4.9 on FreeBSD 10.0 x64

2014-12-01 Thread k simon
Maybe your problem is related to sysctl mib tuning about swap/overcommit etc. I did not observed memory leak with squid 3.4.4, but FB 10 do swap frequently than old version. Simon ___ squid-users mailing list squid-users@lists.squid-cache.org

Re: [squid-users] long standing bug about aufs on freebsd 10

2014-12-01 Thread k simon
I did not observed this bug with diskd, but diskd have less performance. Simon 在 14/12/1 13:49, d...@getbusi.com 写道: FWIW I have this bug in CentOS 6. On Mon, Dec 1, 2014 at 4:48 PM, k simon chio1...@gmail.com mailto:chio1...@gmail.com wrote: Hi, Lists, AUFS can not run stable

Re: [squid-users] Memory Leak Squid 3.4.9 on FreeBSD 10.0 x64

2014-12-01 Thread k simon
I used the ugly tuning: set vm.defer_swapspace_pageouts to 1. But it is may caused some issue when the physic memory is really exhausted. I have no much time to investigate the right way, but I think maybe vm.swap_idle_threshold1/vm.swap_idle_threshold2 or vm.overcommit etc. maybe harmful.

[squid-users] Range header is a hit ratio killer

2016-08-06 Thread k simon
Hi,list, Code 206 is the most pain for our forwed proxy. Squid use “range_offset_limit” to process byte-range request. when set it "none", it has 2 wellknown issue: 1. boost the traffic on the server side, we observed it's amplified 500% compared to clients side on our box. 2. it's always

Re: [squid-users] Range header is a hit ratio killer

2016-08-08 Thread k simon
Hi, As a workaround, I placed a nginx in the front of my bigfiles squid box. then I tcpdump on the squid's server side, byte-range are convertd to a fixed size, and it's cached as expected. :) Simon 20160809 ___ squid-users mailing list

[squid-users] r14088 crash on FreeBSD 11

2016-12-15 Thread k simon
Hi,lists, r14087 is quite stable on FB 11. But r14088 crashed frequently with "2016/12/16 09:00:59 kid1| assertion failed: MemBuf.cc:216: "0 <= tailSize && tailSize <= cSize" ". The config file is almost the default except listening port and http_access modification. Simon 20161216

Re: [squid-users] r14088 crash on FreeBSD 11

2016-12-20 Thread k simon
0500, Garri Djavadyan wrote: >> On Fri, 2016-12-16 at 06:34 +, k simon wrote: >>> Hi,lists, >>>r14087 is quite stable on FB 11. But r14088 crashed frequently >>> with >>> "2016/12/16 09:00:59 kid1| assertion failed: MemBuf.cc:216: "0 <= >>

Re: [squid-users] r14088 crash on FreeBSD 11

2016-12-22 Thread k simon
Hi,Amos, It's 54M file big after "grep" command. How can I continue truncate it for useful info? Simon 20161223 ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

Re: [squid-users] r14088 crash on FreeBSD 11

2016-12-21 Thread k simon
Hi,lists, Here's the debug_options 11,5 output. 2016/12/22 14:12:48.556 kid1| ctx: exit level 0 2016/12/22 14:12:48.556 kid1| 11,2| client_side.cc(1408) sendStartOfMessage: HTTP Client local=192.168.130.1:3128 remote=192.168.130.54:25625 FD 668 flags=1 2016/12/22 14:12:48.556 kid1| 11,2|

Re: [squid-users] r14088 crash on FreeBSD 11

2016-12-16 Thread k simon
Hi, Thank you ,Garri. It's it, but I have no new detail. Simon 在 2016/12/16 17:47, Garri Djavadyan 写道: > On Fri, 2016-12-16 at 14:38 +0500, Garri Djavadyan wrote: >> On Fri, 2016-12-16 at 06:34 +, k simon wrote: >>> Hi,lists, >>>r14087 is quite stable o