<div dir="ltr"><font face="trebuchet ms,sans-serif">Thanks Abraham, long work day, is there any helpful rules for VCL can you share with us? am newbie with Varnish and looking to Speed my website for huge traffic, i have each day more than 30.000 and when the visitor comes to 2000 per second the web-server comes down, hence am looking for a good rules for VCL?</font><div>
<font face="trebuchet ms,sans-serif"><br clear="all"></font><div dir="ltr"><font face="'trebuchet ms', sans-serif"><div>Kind Regards,</div><div>-J</div></font></div></div><br>
<br><br><div class="gmail_quote">On Sun, Jul 29, 2012 at 9:01 AM, Abraham Cruz Sustaita <span dir="ltr"><<a href="mailto:abraham.sustaita@buscacorp.com" target="_blank">abraham.sustaita@buscacorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You are missing one \ after -s file... <span></span><br><br>El sábado, 28 de julio de 2012, GITSS escribió:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<font face="trebuchet ms,sans-serif">Hello,</font><div><font face="trebuchet ms,sans-serif"><br></font></div><div><font face="trebuchet ms,sans-serif">I'm using varnish-2.0.6-2.el5-x86_64 on CentOS 5.8 64-bit, when i run a restart command i recieve this error</font></div>
<div><font face="trebuchet ms, sans-serif"><br></font></div><div><font face="trebuchet ms, sans-serif"><div>root@orient [/etc/varnish]# service varnish restart</div><div>/etc/sysconfig/varnish: line 42: -p: command not found</div>
<div>Stopping varnish HTTP accelerator: [ OK ]</div><div>Starting varnish HTTP accelerator: [ OK ]</div><div>root@orient [/etc/varnish]#</div><div><br></div><div>to check /etc/sysconfig/varnish file</div>
<div><br></div><div><div>DAEMON_OPTS="-a :80 \</div><div> -T localhost:6082 \</div><div> -f /etc/varnish/orient.sameerbook.com.vcl \</div><div> -u varnish -g varnish \</div><div> -s file,/var/lib/varnish/varnish_storage.bin,1G"</div>
<div> -p thread_pools=8 \</div><div> -p thread_pool_max=5000 \</div><div> -p thread_pool_min=100 \</div><div> -p thread_pool_add_delay=2 \</div><div> -p sess_timeout=60"</div>
<div><br></div></div><div><br></div><div>The -p command i just add it from this thread: <a href="http://techshihab.wordpress.com/2012/03/05/install-varnish-cache/" target="_blank">http://techshihab.wordpress.com/2012/03/05/install-varnish-cache/</a></div>
<div><br></div><div>As i beleave these command to make the Varnish accept more connection quickly for servers who had a huge connection ( ex: my website had each day more than 30.000 visitor per day and a 1500/2000 live visitor sometimes per second ).</div>
<div><br></div><div>Hence i don't know if these commands are right or not as i see the error when i did restart for varnish.</div><div><br></div><div>*Please let me know if there any other commands/feature for Varnish to handle huge connection like mine.</div>
</font><div><font face="trebuchet ms,sans-serif"><br clear="all"></font><div dir="ltr"><font face="'trebuchet ms', sans-serif"><div>Kind Regards,</div><div>-J</div></font></div>
</div></div></div>
</blockquote><br><br></div></div>-- <br><br><div><div><table style="font-family:'Times New Roman';font-size:medium">
<tbody><tr><td style="vertical-align:top;width:27px" width="27"><img src="http://buscacorp.com/buscacorp-icon.png" style="margin-top:4px"></td><td style="font-family:Arial"><p style="font-weight:bold;font-size:18px;color:rgb(41,44,46);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Abraham Cruz Sustaita<br></p><p style="font-size:11px;color:rgb(92,98,103);margin-top:2px;margin-right:0px;margin-bottom:0px;margin-left:0px">Leader Development<span lang="en"><span></span><span></span></span></p><p style="font-size:12px;color:rgb(92,98,103);margin-top:6px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Mail: <a href="mailto:abraham.sustaita@buscacorp.com" style="color:rgb(250,166,26);text-decoration:none" target="_blank">abraham.sustaita@buscacorp.com</a><br>Ph: +52 (664) 200.2213<br>F: +52 (664) 200.2234<br>M: +52 (664) 123.0312<br>
Calle Brasil No. 8471. Col. Juárez, Tijuana Baja California, CP 22040</p>
<p style="font-size:12px;color:rgb(179,182,192);margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px"><a href="http://www.buscacorp.com/" style="color:rgb(250,166,26);text-decoration:none" target="_blank">BuscaCorp.com</a> | <a href="http://www.levelup.com/" style="color:rgb(250,166,26);text-decoration:none" target="_blank">LevelUp.com</a> | <a href="http://www.metatube.com/" style="color:rgb(250,166,26);text-decoration:none" target="_blank">MetaTube.com</a> | <a href="http://www.sandiegored.com/" style="color:rgb(250,166,26);text-decoration:none" target="_blank">SanDiegoRed.com</a> | <a href="http://www.tarreo.com/" style="color:rgb(250,166,26);text-decoration:none" target="_blank">Tarreo.com</a></p>
<p style="font-size:11px;color:rgb(179,182,192);margin:0px">This
e-mail message is intended only for the personal use of the
recipient(s) named above. This message may be an attorney-client
communication and as such privileged and confidential. If you are not an
intended recipient,you may not review, copy or distribute this message.
If you have received this communication in error, please notify us
immediately by e-mail and delete the original message.</p><p style="font-size:11px;color:rgb(179,182,192);margin:0px"><br></p><p style="font-size:11px;color:rgb(179,182,192);margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Este mensaje es para uso personal de(los) destinatario(s) a cuyos
nombres se dirige. Este mensaje puede ser comunicación abogado-cliente y
por tanto es privilegiado y confidencial. Si usted no es la persona a
quien se intentó enviar este mensaje, no debe revisarlo, copiarlo o
distribuirlo en forma alguna. Si ha recibido este mensaje por error, por
favor notifíquelo inmediatamente por email y destruya el mensaje
original.</p>
</td></tr></tbody></table></div></div><br>
</blockquote></div><br></div>