Requesting real-world stats, please

Angie T. Muhammad angie.tawfik at gmail.com
Wed May 26 12:22:50 CEST 2010


# ps aux | grep varnish
varnish   3772  0.1  1.6 21146720 411640 ?     Sl   May08  42:28
/usr/sbin/varnishd -P /var/run/varnish.pid -a :80 -T localhost:6082 -f
/etc/varnish/default.vcl -u varnish -g varnish -p thread_pools 4 -p
thread_pool_min 500 -p thread_pool_max 4000 -p thread_pool_add_delay 2 -p
listen_depth 4096 -p lru_interval 60 -p session_linger 100 -h classic,169313
-p sess_workspace 262144 -p log_hashstring off -p sess_timeout 10 -p
shm_workspace 32768 -p connect_timeout 600 -p max_restarts 6 -s malloc,2G

# varnishstat -1 -f n_object,n_objecthead
n_object                 9596          .   N struct object
n_objecthead             8216          .   N struct objecthead

# rpm -qa | grep varnish
varnish-libs-2.1.2-1
varnish-2.1.2-1

serving around 70,000 requests / day with a peak of 12 req / sec


On Wed, May 26, 2010 at 12:22 PM, Angie T. Muhammad
<angie.tawfik at gmail.com>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 <audun at ytterdal.net>wrote:
>
>> On Tue, May 25, 2010 at 2:28 PM, Poul-Henning Kamp <phk at phk.freebsd.dk>
>> 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
>>
>> [root at dexter ~]# rpm -qa |grep varnish
>> varnish-2.1.0-2.vg
>> varnish-libs-2.1.0-2.vg
>>
>> [root at 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
>>
>> [root at dexter ~]# varnishstat -1 -f n_object,n_objecthead
>> n_object               129723          .   N struct object
>> n_objecthead           163562          .   N struct objecthead
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
>>
>
>
>
> --
> All the best,
> Angie
>



-- 
All the best,
Angie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100526/0424c5f1/attachment-0003.html>


More information about the varnish-misc mailing list