It's now work fine Javi, thanks for your recommendation.... hence if there any good config for huge traffic i can use for my website? as i said above, the web-server is getting down when the visitor reach 2000 per second.
Kind Regards, -J On Sun, Jul 29, 2012 at 9:28 AM, GITSS <[email protected]> wrote: > Should i use Abraham config for huge traffic or i upgrade that 1G to 4 G? > or just remove it Javi? > > Kind Regards, > -J > > > > On Sun, Jul 29, 2012 at 8:41 AM, Javi Lavandeira <[email protected]>wrote: > >> Remove the quotation mark after "1G". >> >> -- >> Javi Lavandeira >> >> *Twitter*: @javilm >> *Blog*: http://www.lavandeira.net/blog >> >> On 2012/07/29, at 14:22, GITSS <[email protected]> wrote: >> >> Hello, >> >> 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 >> >> root@orient [/etc/varnish]# service varnish restart >> /etc/sysconfig/varnish: line 42: -p: command not found >> Stopping varnish HTTP accelerator: [ OK ] >> Starting varnish HTTP accelerator: [ OK ] >> root@orient [/etc/varnish]# >> >> to check /etc/sysconfig/varnish file >> >> DAEMON_OPTS="-a :80 \ >> -T localhost:6082 \ >> -f /etc/varnish/orient.sameerbook.com.vcl \ >> -u varnish -g varnish \ >> -s file,/var/lib/varnish/varnish_storage.bin,1G" >> -p thread_pools=8 \ >> -p thread_pool_max=5000 \ >> -p thread_pool_min=100 \ >> -p thread_pool_add_delay=2 \ >> -p sess_timeout=60" >> >> >> The -p command i just add it from this thread: >> http://techshihab.wordpress.com/2012/03/05/install-varnish-cache/ >> >> 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 ). >> >> Hence i don't know if these commands are right or not as i see the error >> when i did restart for varnish. >> >> *Please let me know if there any other commands/feature for Varnish to >> handle huge connection like mine. >> >> Kind Regards, >> -J >> >> _______________________________________________ >> varnish-misc mailing list >> [email protected] >> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >> >> >
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
