<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
# varnishstat -V<br>
varnishstat (varnish-2.0.5)<br>
Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS<br>
<br>
# varnishstat -1 -f n_object,n_objecthead<br>
n_object 441847 . N struct object<br>
n_objecthead 203761 . N struct objecthead<br>
<br>
# ps aux | grep varnish<br>
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<br>
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<br>
-------------------------------------<br>
# varnishstat -V<br>
varnishstat (varnish-2.1.1 SVN )<br>
Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS<br>
<br>
# varnishstat -1 -f n_object,n_objecthead<br>
n_object 594432 . N struct object<br>
n_objecthead 364887 . N struct objecthead<br>
<br>
# ps aux | grep varnish<br>
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<br>
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<br>
<br>
<br>
<br>
<br>
Angie T. Muhammad wrote:
<blockquote
cite="mid:AANLkTinCzJUcOxbpN3JV4337g_Oe5nu6lQ15T1WavDHP@mail.gmail.com"
type="cite">
<div dir="ltr"># ps aux | grep varnish<br>
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<br>
<br>
# varnishstat -1 -f n_object,n_objecthead<br>
n_object 9596 . N struct object<br>
n_objecthead 8216 . N struct objecthead<br>
<br>
# rpm -qa | grep varnish<br>
varnish-libs-2.1.2-1<br>
varnish-2.1.2-1<br>
<br>
serving around 70,000 requests / day with a peak of 12 req / sec<br>
<br>
<br>
<div class="gmail_quote">On Wed, May 26, 2010 at 12:22 PM, Angie T.
Muhammad <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:angie.tawfik@gmail.com">angie.tawfik@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Adun, may I ask about apache's configuration running
behind this varnish installation and HW specs too if you don't mind ?<br>
Thank you :) <br>
<div>
<div class="h5"><br>
<div class="gmail_quote">On Wed, May 26, 2010 at 1:18 AM, Audun
Ytterdal <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:audun@ytterdal.net" target="_blank">audun@ytterdal.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Tue, May 25, 2010 at 2:28 PM, Poul-Henning Kamp <<a
moz-do-not-send="true" href="mailto:phk@phk.freebsd.dk" target="_blank">phk@phk.freebsd.dk</a>>
wrote:<br>
><br>
</div>
<div>> I may have "misunderestimated" the dynamics of how
objects live in<br>
> Varnish caches and thus taken a wrong optimization decision with<br>
> the critbit hasher.<br>
><br>
> I am looking for data to figure this out, specifically the values
of<br>
> the two varnishstat counters:<br>
><br>
> "N struct objecthead."<br>
> and<br>
> "N struct object"<br>
><br>
> Along with information about which version of varnish, and which,
if<br>
> any -h argument you use.<br>
<br>
</div>
One varnish doing about 4320 million req/day, peaks at 8K reqs/s<br>
<br>
[root@dexter ~]# rpm -qa |grep varnish<br>
<a moz-do-not-send="true" href="http://varnish-2.1.0-2.vg"
target="_blank">varnish-2.1.0-2.vg</a><br>
<a moz-do-not-send="true" href="http://varnish-libs-2.1.0-2.vg"
target="_blank">varnish-libs-2.1.0-2.vg</a><br>
<br>
[root@dexter ~]# ps axu |grep varnish<br>
varnish 1239 54.8 74.1 14895928 4526520 ? Sl May24 1053:21<br>
/usr/sbin/varnishd -P /var/run/varnish.pid -a :80 -f<br>
/etc/varnish/vg.vcl -T <a moz-do-not-send="true"
href="http://127.0.0.1:82" target="_blank">127.0.0.1:82</a> -t 600 -u
varnish -g varnish -p<br>
thread_pool_add_delay 5 -p thread_pool_timeout 120 -p thread_pools 4<br>
-w 200,3000,120 -s malloc,5G<br>
<br>
[root@dexter ~]# varnishstat -1 -f n_object,n_objecthead<br>
n_object 129723 . N struct object<br>
n_objecthead 163562 . N struct objecthead<br>
<div>
<div><br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a moz-do-not-send="true"
href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a moz-do-not-send="true"
href="http://lists.varnish-cache.org/mailman/listinfo/varnish-misc"
target="_blank">http://lists.varnish-cache.org/mailman/listinfo/varnish-misc</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
</div>
</div>
-- <br>
All the best,<br>
Angie<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
All the best,<br>
Angie<br>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
varnish-misc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a>
<a class="moz-txt-link-freetext" href="http://lists.varnish-cache.org/mailman/listinfo/varnish-misc">http://lists.varnish-cache.org/mailman/listinfo/varnish-misc</a></pre>
</blockquote>
<br>
</body>
</html>