# varnishstat -V
varnishstat (varnish-2.0.5)
Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS

# varnishstat -1 -f n_object,n_objecthead
n_object               441847          .   N struct object
n_objecthead           203761          .   N struct objecthead

# ps aux | grep varnish
root 9418 0.0 0.0 110724 744 ? Ss May11 0:10 /usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -f /etc/varnish/prod/master.vcl -T 127.0.0.1:6082 -t 120 -w 200,4000,120 -s malloc,10G nobody 9419 5.7 83.4 20961460 10289712 ? Sl May11 1265:05 /usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -f /etc/varnish/prod/master.vcl -T 127.0.0.1:6082 -t 120 -w 200,4000,120 -s malloc,10G
-------------------------------------
# varnishstat -V
varnishstat (varnish-2.1.1 SVN )
Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS

# varnishstat -1 -f n_object,n_objecthead
n_object               594432          .   N struct object
n_objecthead           364887          .   N struct objecthead

# ps aux | grep varnish
root 1500 0.0 0.0 112948 1212 ? Ss May06 0:02 /usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -f /etc/varnish/prod/master.vcl -T 127.0.0.1:6082 -t 120 -w 200,4000,120 -s malloc,9G nobody 1501 21.1 91.2 23466228 11252380 ? Sl May06 6098:29 /usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -f /etc/varnish/prod/master.vcl -T 127.0.0.1:6082 -t 120 -w 200,4000,120 -s malloc,9G




Angie T. Muhammad wrote:
# 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 <[email protected] <mailto:[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] <mailto:[email protected]>> wrote:

        On Tue, May 25, 2010 at 2:28 PM, Poul-Henning Kamp
        <[email protected] <mailto:[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 <http://varnish-2.1.0-2.vg>
        varnish-libs-2.1.0-2.vg <http://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 <http://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

        _______________________________________________
        varnish-misc mailing list
        [email protected]
        <mailto:[email protected]>
        http://lists.varnish-cache.org/mailman/listinfo/varnish-misc




-- All the best,
    Angie




--
All the best,
Angie
------------------------------------------------------------------------

_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc

Reply via email to