<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 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></div><div class="h5"><br><div class="gmail_quote">On Wed, May 26, 2010 at 1:18 AM, Audun Ytterdal <span dir="ltr"><<a 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 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 href="http://varnish-2.1.0-2.vg" target="_blank">varnish-2.1.0-2.vg</a><br>
<a 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 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></div><div><br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a 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>