[squid-users] Help:assertion failed: mem.cc:219: "MemPools[type]"

2014-04-23 Thread Ding Guigeng
Hi all! my os is centos 6.5 x86_64 squid version is 3.3.12 cache.log: 2014/04/24 13:56:43 kid5| assertion failed: mem.cc:219: "MemPools[type]" 2014/04/24 13:56:46 kid5| Starting Squid Cache version 3.3.12 for x86_64-redhat-linux-gnu... 2014/04/24 13:56:46 kid5| Process ID 19469 2014/04/24 13:56:46

[squid-users] how to config radius auth with windows 2008R2 NPS

2014-03-19 Thread Ding Guigeng
i test the helper ,but it echo ERR basic_radius_auth -h 192.168.1.1 -w test 192.168.1.1 is the NPS server how to config NPS server? -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/how-to-config-radius-auth-with-windows-2008R2-NPS-tp4665303.html Sent from the

[squid-users] how to upgrade to 3.3.10 from3.3.8

2013-11-12 Thread Ding Guigeng
now squid 3.3.8 running on server ,i want to upgrade to 3.3.10 how to upgrade it? thanks in advance. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/how-to-upgrade-to-3-3-10-from3-3-8-tp4663263.html Sent from the Squid - Users mailing list archive at Nabble.c

[squid-users] Re: acl arp and vlan

2013-10-16 Thread Ding Guigeng
i read the document. there is one NOTE: # NOTE: Squid can only determine the MAC address for clients that are on the same subnet. If the client is on a different subnet, then Squid cannot find out its MAC address. so the mac address from other vlan,canot be denied by arp control? -- View this m

[squid-users] Re: acl arp and vlan

2013-10-16 Thread Ding Guigeng
i enabled eui,but it not work. i added:acl badpc arp xx:xx:xx:xx:xx:xx and :http_access deny badpc above http_access allow localnet the mac address of the pc is from another vlan. it also can access internet -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/

[squid-users] Re: how to use tproxy + iptables load balancing

2013-10-10 Thread Ding Guigeng
Mohsen Dehghani wrote > Hi team > I am planning to install multiple instances of squid on a machine as a > frontend. Tproxy is now working fine on a single instance machine. > No I want to run multiple instances and use this help to load balance > between them: > > http://wiki.squid-cache.org/Conf

[squid-users] Re: the ctx errors in cache.log

2013-10-09 Thread Ding Guigeng
thanks a lot. and then i found another error occurred: WARNING: unparseable HTTP header field {share memory not exist, need create new share memory!} is there something wrong with cache_dir or cache_mem? total memory of the server is 2G part of squid.conf as the following: cache_mem 512 MB worker

[squid-users] the ctx errors in cache.log

2013-10-09 Thread Ding Guigeng
my server runs squid 3.3.9,and workers is set to be 3 the following from cache.log: 2013/10/10 08:48:36 kid1| ctx: enter level 0: 'http://calendar.snsapp.qq.com/cgi-bin/my_calendar_app_flag?g_tk=1964882004' Server: QZHTTP-2.38.17}1| WARNING: suspicious CR characters in HTTP header {Keep-Alive: tim

[squid-users] Re: squid process offen restart by itself

2013-10-08 Thread Ding Guigeng
due to signal 6 with status 0". Amos Jeffries-2 wrote > On 30/09/2013 10:33 p.m., Ding Guigeng wrote: >> 2013/09/30 16:58:43 kid4| ERROR opening swap log /cache2/4/swap.state: >> (2) >> No such file or directory >> 2013/09/30 16:58:43 kid5| ERROR opening swap log /cac

[squid-users] Re: squid process offen restart by itself

2013-10-01 Thread Ding Guigeng
:00 0 [vdso] ff60-ff601000 r-xp 00:00 0 [vsyscall] 2013/10/02 09:58:29 kid1| recv: (111) Connection refused 2013/10/02 09:58:29 kid1| Closing Pinger socket on FD 13 Amos Jeffries-2 wrote > On 30/09/2013 10:33 p.m., Ding Guig

[squid-users] Re: squid process offen restart by itself

2013-09-30 Thread Ding Guigeng
i created a vm with 3 cores to test 1core frontend and 2cores backend. there are my config files: access.conf backend.conf common.acl.

[squid-users] Re: squid process offen restart by itself

2013-09-29 Thread Ding Guigeng
i have read this article from here:http://wiki.squid-cache.org/ConfigExamples/SmpCarpCluster i tried to config like this ,but without success. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-process-offen-restart-by-itself-tp4662332p4662352.html Sent fr

[squid-users] Re: squid process offen restart by itself

2013-09-29 Thread Ding Guigeng
just 3.4 and 3.head. > > I think it's a good practice to know that the cache is limited for a > specific file sizes in a case like that. > > Eliezer > > On 09/30/2013 08:07 AM, Ding Guigeng wrote: >> my squid.conf: >> # cat /etc/squid/squid.conf >> # shou

[squid-users] Re: squid process offen restart by itself

2013-09-29 Thread Ding Guigeng
hat is the load on the server? > Do you need SMP for your specific setup? > if you can try to run the server in a single worker mode it can clarify > some doubts about the setup. > > Eliezer > > On 09/30/2013 07:40 AM, Ding Guigeng wrote: >> Hi Amos. >> Today i found

[squid-users] Re: squid process offen restart by itself

2013-09-29 Thread Ding Guigeng
Hi Amos. Today i found some error occurred in cache.log 2013/09/30 11:37:47 kid2| Starting Squid Cache version 3.3.9 for x86_64-redhat-linux-gnu... 2013/09/30 11:37:47 kid2| Process ID 3940 2013/09/30 11:37:47 kid2| Process Roles: worker 2013/09/30 11:37:47 kid2| With 65536 file descriptors avail

[squid-users] Re: "acl bandomain dstdomain -i domain.com" cannot work

2013-09-29 Thread Ding Guigeng
thanks。 I'm so careless。 i make a stupid mistake. now squid 3.3.9 is running well. and then i will test init script. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/acl-bandomain-dstdomain-i-domain-com-cannot-work-tp4662334p4662339.html Sent from the Squid -

[squid-users] Re: "acl bandomain dstdomain -i domain.com" cannot work

2013-09-29 Thread Ding Guigeng
hi Alex. i have not add this line. i tried it just now.but it shows unrecognized: 'http_deny'. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/acl-bandomain-dstdomain-i-domain-com-cannot-work-tp4662334p4662336.html Sent from the Squid - Users mailing list

[squid-users] "acl bandomain dstdomain -i domain.com" cannot work

2013-09-29 Thread Ding Guigeng
i defined an acl like this: acl bandomain dstdomain -i google.com then squid -k reconfig but when i visiting the website google.com in IE,it's not be denied. the squid version is 3.3.9 thanks in advance. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/acl-

[squid-users] squid process offen restart by itself

2013-09-28 Thread Ding Guigeng
Hi. there's the cache.log: Sep 29 13:10:19 ndproxy squid[1681]: *Squid Parent: (squid-1) process 3205 exited due to signal 6 with status 0* Sep 29 13:10:22 ndproxy squid[1681]: Squid Parent: (squid-1) process 3316 started Sep 29 13:10:22 ndproxy squid[3316]: Starting Squid Cache version 3.3.9 for x

[squid-users] how to config cache_dir with rock&aufs types.

2013-09-26 Thread Ding Guigeng
Dear all: i created a vm. it has 1 cpu with 2 cores,2G ram. when i set the below in squid.conf: workers 2 cache_dir rock /cache1 20480 max-size=10240 swap-timeout=1000 max-swap-rate=100 cache_dir rock /cache2 20480 max-size=10240 swap-timeout=1000 max-swap-rate=100 cache_dir aufs /cache3 10240 16