Re: [squid-users] Reverse Proxy: Why does one file get disk hit, but the other memory hit (consistently)?

2009-07-14 Thread Drunkard
在 2009-07-14二的 00:41 -0700,Elli Albek写道: > Hi, > We have squid as reverse proxy that caches files. There are two types of > cacheable files. I see in the log that one type always gets TCP_HIT:NONE > (response from disk cache) and the other type always gets TCP_MEM_HIT:NONE > (response from memory c

Re: [squid-users] Squid load incorrectly one site

2009-08-06 Thread Drunkard
在 2009-08-06四的 05:48 -0700,aba3k写道: > Amazon.com is not loading correctly for me, the layout is wrong and the > images are not loaded. Without the cache all load ok. How can i correct this > without rebuilding the entire cache? Maybe I got the same problem when cache http://www.youku.com/ which is

Re: [squid-users] Logrotate

2010-01-05 Thread Drunkard
在 2010-01-05二的 16:54 +0100,Angelo Höngens写道: > On 5-1-2010 16:49, Roland Roland wrote: > > Hello, > > > > i'm looking to do the following hope someone could help me if its > > actually feasible.. > > each day at 8 AM, i want access.log to be renamed to > > access.log.DateOfPreviousDay > > that w

RE: [squid-users] Keeping & archiving access.log

2010-01-13 Thread Drunkard
在 2010-01-12二的 16:19 -0300,Guido Marino Lorenzutti写道: > Ops.. that's too much. > I have severeal squids, and I must keep the log from one month and > it's a lot of space. I was thinking about something like btrfs to > store them. I'm doing same thing. I use a standalone syslog server which runs

Re: [squid-users] running out of filedescriptors

2010-01-26 Thread Drunkard
在 2010-01-26二的 10:30 -0900,Chris Robertson写道: > Landy Landy wrote: > > > > > >> Won't do no good. Landy's Squid compile time option is > >> 16384 max. So > >> either she stumbled over a bug or the Squid is under a > >> higher load with > >> lots of connections. > >> Landy, are you graphing Squ

[squid-users] Is this REAL squid-CARP cluster?

2010-04-13 Thread Drunkard Zhang
I'm using a squid cluster with CARP configured, they works great. I'm not sure if all the CARP frontend distributed URLs based on the _same_ hash value, here's result queried by squidclient: 16:00:25 ~ $ for i in 66 67 68 71; do ask_squid $i carp | grep -A7 Hostname; done     Hostname

Re: [squid-users] Is this REAL squid-CARP cluster?

2010-04-13 Thread Drunkard Zhang
2010/4/14 Amos Jeffries : > On Tue, 13 Apr 2010 22:10:38 +0800, Drunkard Zhang > wrote: >> I'm using a squid cluster with CARP configured, they works great. >> >> I'm not sure if all the CARP frontend distributed URLs based on the >> _same_ hash value,

Re: [squid-users] SQUID3: Access denied connecting to one site

2010-04-20 Thread Drunkard Zhang
2010/4/20 Alexandr Dmitriev : > Hello, > > I have ubuntu 9.10 runing with squid 3.0.STABLE18-1 and squidGuard. > > Squid is set up as a transparent proxy - everything is working just fine, > except I can't access one site (www.airbaltic.lv). Squid drops me an error - > Access denied. Try this: ech

Re: [squid-users] How much ram

2010-07-28 Thread Drunkard Zhang
2010/7/28 Marcello Romani : > Tóth Tibor Péter ha scritto: >> >> It was just a curiosity. >> I am interested what other people use in their cache server as far as ram >> goes. :) >> That's all. >> >> -Original Message- >> From: Marcello Romani [mailto:mrom...@ottotecnica.com] Sent: Wednesda

Re: [squid-users] how much traffic can squid handle?

2010-08-09 Thread Drunkard Zhang
2010/8/9 Stand H : > Hi all, > > If configured properly, how much traffic can a server with 16GB RAM, 3.0Ghz > CPU, and 5 x 500GB SAS drive can handle? Anyone has a squid box that can > handle more than 300Mbps traffic? > > From my experience and configuration, it can handle around 80Mbps only. T

Re: [squid-users] how much traffic can squid handle?

2010-08-09 Thread Drunkard Zhang
2010/8/9 Stand H : > >> > If configured properly, how much traffic can a server >> with 16GB RAM, 3.0Ghz CPU, and 5 x 500GB SAS drive can >> handle? Anyone has a squid box that can handle more than >> 300Mbps traffic? >> > >> > From my experience and configuration, it can handle >> around 80Mbps o

Re: [squid-users] how much traffic can squid handle?

2010-08-10 Thread Drunkard Zhang
: [squid-users] how much traffic can squid handle? >>> To: "Drunkard Zhang" >>> Cc: "Stand H" , squid-users@squid-cache.org >>> Date: Monday, August 9, 2010, 6:26 PM >>> Hi! >>> >>> On Mon, Aug 9, 2010 at 8:18 PM, Drunkard Zhang &g

Re: [squid-users] how much traffic can squid handle?

2010-08-10 Thread Drunkard Zhang
2010/8/11 Jose Ildefonso Camargo Tolosa : > On Tue, Aug 10, 2010 at 10:19 PM, Drunkard Zhang wrote: >> 2010/8/11 Jose Ildefonso Camargo Tolosa : >>> Hi! >>> >>> On Tue, Aug 10, 2010 at 12:27 AM, Stand H wrote: >>>> >>>> >>

Re: [squid-users] how much traffic can squid handle?

2010-08-12 Thread Drunkard Zhang
2010/8/12 Matus UHLAR - fantomas : >> On Wed, Aug 11, 2010 at 1:09 AM, Drunkard Zhang wrote: >> > With same multi-squid-instance configuration, same Linux distro, and >> > different hardware, AMD Opteron gets more balanced CPU usage, while on >> > Intel Xeon just

[squid-users] Performance Extremely squid configuration advice

2011-01-06 Thread Drunkard Zhang
In order to get squid server 400M+ traffic, I did these: 1. Memory only IO bottleneck is too hard to avoid at high traffic, so I did not use harddisk, use only memory for HTTP cache. 32GB or 64GB memory per box works good. 2. Disable useless acl I did not use any acl, even default acls: acl SSL_po

[squid-users] Performance Extremely squid configuration advice

2011-01-06 Thread Drunkard Zhang
In order to get squid server 400M+ traffic, I did these: 1. Memory only IO bottleneck is too hard to avoid at high traffic, so I did not use harddisk, use only memory for HTTP cache. 32GB or 64GB memory per box works good. 2. Disable useless acl I did not use any acl, even default acls: acl SSL_po

[squid-users] squid with coss can not write to SSD

2011-01-06 Thread Drunkard Zhang
My configuration: cache_dir coss /mnt/c/72 10240 max-size=524288 max-stripe-waste=32768 block-size=4096 maxfullbufs=10 cache_swap_log /mnt/s/%s /mnt/c/72 is a file on btrfs + SSD. The btrfs is created by: "mkfs.btrfs /dev/sdb1 /dev/sdc1", so it will spanning across two SSDs. But squid did not wr

Re: [squid-users] Performance Extremely squid configuration advice

2011-01-07 Thread Drunkard Zhang
2011/1/7 Amos Jeffries : > On 07/01/11 19:08, Drunkard Zhang wrote: >> >> In order to get squid server 400M+ traffic, I did these: >> 1. Memory only >> IO bottleneck is too hard to avoid at high traffic, so I did not use >> harddisk, use only memory for HTTP c

Re: [squid-users] Performance Extremely squid configuration advice

2011-01-07 Thread Drunkard Zhang
2011/1/8 Mohsen Saeedi : > and now which filesystem has better performance. aufs or diskd? on the > SAS hdd for example. Neither of them, we are using coss on SATA. And coss on SSD is under testing, looks good still. > On Fri, Jan 7, 2011 at 7:56 PM, Drunkard Zhang wrote: >> &

Re: [squid-users] Performance Extremely squid configuration advice

2011-01-07 Thread Drunkard Zhang
Of cource, we tested every squid-3.x, many bugs and poor performance to squid-2.x. We tested squid-2.HEAD too, it's worth to try. aufs acts very bad under high presure, with 8GB memory and least SATA aufs space per instance, it's still too hard to over 180Mbps. I haven't try diskd yet

Re: [squid-users] Performance Extremely squid configuration advice

2011-01-07 Thread Drunkard Zhang
2011/1/8 Amos Jeffries : > On 08/01/11 06:22, Drunkard Zhang wrote: >> >> 2011/1/8 Mohsen Saeedi: >>> >>> I know about coss. it's great. but i have squid 3.1 and i think it's >>> unstable in 3.x version. that's correct? >> >>

[squid-users] Resize coss online

2011-01-11 Thread Drunkard Zhang
I'm testing squid-2.7STABLE9 + COSS + ext4 + SSD now. When enlarge the coss, eg: from 10240 to 20480, I can see success in cache.log, but the coss file on disk did not change, after 3 times of "squid -k reconfigure" the coss file size changed. But some times later, the squid process exited, with n

Re: [squid-users] Resize coss online

2011-01-12 Thread Drunkard Zhang
2011/1/12 Amos Jeffries : > On 12/01/11 20:12, Drunkard Zhang wrote: >> >> I'm testing squid-2.7STABLE9 + COSS + ext4 + SSD now. >> >> When enlarge the coss, eg: from 10240 to 20480, I can see success in >> cache.log, but the coss file on disk did not

Re: [squid-users] squid performance tunning

2011-08-17 Thread Drunkard Zhang
> Median Service Times (seconds)  5 min    60 min: >        HTTP Requests (All):   0.00865  0.00865 >        Cache Misses:          0.01035  0.01035 >        Cache Hits:            0.0  0.0 >        Near Hits:             0.00091  0.00091 >        Not-Modified Replies:  0.0  0.0 >  

Re: [squid-users] squid performance tunning

2011-08-18 Thread Drunkard Zhang
2011/8/18 Chen Bangzhong : > My cached objects will expire after 10 minutes. > > Cache-Control:max-age=600 Static content like pictures should cache longer, like 1 day, 86400. > I don't know why there are so many disk writes and there are so many > objects on disk. > > In addtion, Disk hits as %

Re: [squid-users] squid performance tunning

2011-08-18 Thread Drunkard Zhang
2011/8/18 Amos Jeffries : > On 18/08/11 19:40, Drunkard Zhang wrote: >> >> 2011/8/18 Chen Bangzhong: >>> >>> My cached objects will expire after 10 minutes. >>> >>> Cache-Control:max-age=600 >> >> Static content like pictures should

Re: [squid-users] squid load balancing

2011-09-20 Thread Drunkard Zhang
2011/9/20 nikko...@gmail.com : > Hello, > I would like to implement a proxy server in load balancing with 2 or > more server proxy. > It is possible to do this? > What can I use? LVS? Ultramonkey? Other? > keepalived uses LVS, very simple but strong implementation, PLUS CARP which give you more pow

Re: [squid-users] Squid memory usage

2012-08-03 Thread Drunkard Zhang
2012/8/3 Hugo Deprez : > Dear community, > > I am running squid3 on Linux Debian squeeze.(3.1.6). > > I encounter a suddenly a high memory usage on my virtual machine don't > really know why. > Looking at the cacti memory graph is showing a memory jump from 1.5 Gb > to 4GB and then ther server star

Re: [squid-users] Compute digest as content is written to cache

2012-08-12 Thread Drunkard Zhang
2012/8/12 Amos Jeffries : > On 11/08/2012 10:21 p.m., Jack Bates wrote: >> >> On 11/08/12 12:30 AM, Amos Jeffries wrote: >>> >>> On 11/08/2012 7:22 p.m., Jack Bates wrote: I am interested in intercepting content as it is written to the cache, and computing a digest from the content.