Search squid archive

Re: New Accel Reverse Proxy Cache is not caching everything... how to force?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Matus UHLAR - fantomas wrote:
>> so you have 4GiB of RAM and confiured 3GB for squid's mem_cache?
>>
>> when that get filled up, you either start swapping or get ouf ot RAM and
>> your squid will crash...

On 02.08.09 21:28, Waitman Gobble wrote:
> i've kept an eye on it, and i agree that it may start paging and/or  
> crash. but so far, so good.

a very simple solution: decrease cache_mem to 256Mb. It is only used for
object fetched from the network and if your squid usage is really that low,
you don't need big cache_mem. So you will prevent your squid from caching in
the future without any downfall.

> i've built hundreds of servers (but not so many running squid) over the  
> past 12 years, and when it's running 0 load that actually feels like  
> waste to me.

replace the computer by a slower machine, or install BOINC client (e.g.
seti@home) there. What else could I advise you?

> but at the moment i'm looking at the end result, which is  
> good. it's not getting so much traffic, just under 1 million page views  
> a month according to g analytics. i'm considering setting it in front of  
> some high traffic sites, but only after a while, maybe a month, when i  
> feel like it's not going to bomb and cause problems. so at the moment,  
> it's a live experiment.

Yes, it would be a good experiment, if it could handle the traffic. If you
need it or can benefit of it, just do it, you machine apparently can handle
more load. But be carefull and don't push all servers behind the cache, you
never know when may that happen. Especially now when you have oversized
cache_mem.

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Atheism is a non-prophet organization. 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux