Thank you so much Audun :) .. I am experimenting with different apache configs and different varnish thread configs to get the best performance. My page load time is around 7 seconds (home page) which is way too slow compared to HW and network capabilities of the server.
Thanks again On 5/27/10, Audun Ytterdal <[email protected]> wrote: > Most people have directors with several identical backends. I've got > it the other way around: Several standalone apache, lighty and nginx > bokses serving different stuff according to host and url. > > This particular varnishbox is a HP Proliant BL460c G1 2XDualcore 2.66 > Ghz with 6 GB of RAM. > Running Centos5.3. Only tuning is /var/lib/varnish on tmpfs > > The most active backend is a vmware-image running apache and 2GB of RAM. > ServerLimit 256 > MaxClients 256 > MaxRequestsPerChild 4000 > > Serving approx 25-50 hits/sec > > On Wed, May 26, 2010 at 11:22 AM, Angie T. Muhammad > <[email protected]> wrote: >> Adun, may I ask about apache's configuration running behind this varnish >> installation and HW specs too if you don't mind ? >> Thank you :) >> >> On Wed, May 26, 2010 at 1:18 AM, Audun Ytterdal <[email protected]> >> wrote: >>> >>> On Tue, May 25, 2010 at 2:28 PM, Poul-Henning Kamp <[email protected]> >>> wrote: >>> > >>> > I may have "misunderestimated" the dynamics of how objects live in >>> > Varnish caches and thus taken a wrong optimization decision with >>> > the critbit hasher. >>> > >>> > I am looking for data to figure this out, specifically the values of >>> > the two varnishstat counters: >>> > >>> > "N struct objecthead." >>> > and >>> > "N struct object" >>> > >>> > Along with information about which version of varnish, and which, if >>> > any -h argument you use. >>> >>> One varnish doing about 4320 million req/day, peaks at 8K reqs/s >>> >>> [r...@dexter ~]# rpm -qa |grep varnish >>> varnish-2.1.0-2.vg >>> varnish-libs-2.1.0-2.vg >>> >>> [r...@dexter ~]# ps axu |grep varnish >>> varnish 1239 54.8 74.1 14895928 4526520 ? Sl May24 1053:21 >>> /usr/sbin/varnishd -P /var/run/varnish.pid -a :80 -f >>> /etc/varnish/vg.vcl -T 127.0.0.1:82 -t 600 -u varnish -g varnish -p >>> thread_pool_add_delay 5 -p thread_pool_timeout 120 -p thread_pools 4 >>> -w 200,3000,120 -s malloc,5G >>> >>> [r...@dexter ~]# varnishstat -1 -f n_object,n_objecthead >>> n_object 129723 . N struct object >>> n_objecthead 163562 . N struct objecthead >>> > > -- > Audun Ytterdal > http://audun.ytterdal.net > -- All the best, Angie _______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
