Re: best varnishd config for static files

2009-04-29 Thread Lars Jørgensen
>> First of all, varnishtop -i TxURL hangs on my system, it shows 3-5 >> Entries, >> then freez and uses nearly 100%cpu on one of 8. Have to kill the pid. >> varnishtop with no args works. > > Ok, that's not good... I've seen varnishtop hang like that before, > but not > with CPU usage. I've ye

Re: best varnishd config for static files

2009-04-27 Thread Kristian Lyngstol
On Fri, Apr 24, 2009 at 03:28:22PM +0200, Kain Sascha wrote: > Thanks a lot for the great Hints. > > First of all, varnishtop -i TxURL hangs on my system, it shows 3-5 Entries, > then freez and uses nearly 100%cpu on one of 8. Have to kill the pid. > varnishtop with no args works. Ok, that's not

Re: best varnishd config for static files

2009-04-24 Thread Kain Sascha
Thanks a lot for the great Hints. First of all, varnishtop -i TxURL hangs on my system, it shows 3-5 Entries, then freez and uses nearly 100%cpu on one of 8. Have to kill the pid. varnishtop with no args works. System: 2.6.18-6-amd64 #1 SMP Mon Jun 16 22:30:01 UTC 2008 x86_64 GNU/Linux varnish:

Re: best varnishd config for static files

2009-04-24 Thread Kristian Lyngstol
On Fri, Apr 24, 2009 at 01:28:36PM +0200, Kain Sascha wrote: > /usr/local/sbin/varnishd -a :80 -b 89.250.xx.xx:80 -s malloc,15360M You may want to supply a -w. The default is really whimpy which could create problems during spikes of traffic. Try something like -w 400,800. Varnishstat n_wrk_limite

best varnishd config for static files

2009-04-24 Thread Kain Sascha
Hi, we run a big picture portal. We used to cache our files with squid3, but now we want to try varnishd to deliver our static files (jpg css and js). we have 2 varnish servers, caching files from one big static server. The static server doesnt have the fastest hdds. The varnishd Servers have