<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/">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>