Varnish Error - Fresh install.

Abraham Cruz Sustaita abraham.sustaita at buscacorp.com
Sun Jul 29 08:40:28 CEST 2012


Are u using 4G or 1G?

El sábado, 28 de julio de 2012, GITSS escribió:

> 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 <gits.systems at gmail.com<javascript:_e({}, 'cvml', 'gits.systems at gmail.com');>
> > 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 <javi at lavandeira.net<javascript:_e({}, 'cvml', 'javi at lavandeira.net');>
>> > 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 <gits.systems at gmail.com<javascript:_e({}, 'cvml', 'gits.systems at gmail.com');>>
>>> 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 at 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 at 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
>>> varnish-misc at varnish-cache.org <javascript:_e({}, 'cvml',
>>> 'varnish-misc at varnish-cache.org');>
>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>>
>>>
>>
>

-- 

 Abraham Cruz Sustaita

Leader Development

Mail: abraham.sustaita at buscacorp.com
Ph: +52 (664) 200.2213
F: +52 (664) 200.2234
M: +52 (664) 123.0312
Calle Brasil No. 8471. Col. Juárez, Tijuana Baja California, CP 22040

BuscaCorp.com <http://www.buscacorp.com/>   |
LevelUp.com<http://www.levelup.com/>
|   MetaTube.com <http://www.metatube.com/>   |
SanDiegoRed.com<http://www.sandiegored.com/>
|   Tarreo.com <http://www.tarreo.com/>

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.


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120728/1ee9e79d/attachment-0001.html>


More information about the varnish-misc mailing list