Re: Redhat

2007-08-19 Thread Anup Shukla
jdouglas wrote: > Are there instructions on installing this on Redhat systems? > > I am able to get it working on FreeBSD 6.2 but not RHEL 4 with a 2.6 > Kernel. > > When I try to build an rpm from spec i get: > > Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.27483 > + umask 022 > + cd /usr/src/red

Re: Varnish shutting down under heavy load

2007-07-06 Thread Anup Shukla
Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Anup Shukla writes: > >> Anup Shukla wrote: >> > > >> Did not take it long to go down again. >> But i am not able to find any "core" dumps. >> Some help as to how

Re: Varnish shutting down under heavy load

2007-07-06 Thread Anup Shukla
Anup Shukla wrote: > Poul-Henning Kamp wrote: > >> I've seen the automatic restart of the worker process fail here >> during my testing, and I suspect you hit the same thing. >> >> I have it on my list of things to investigate RSN. >> >> Do you

Re: Varnish shutting down under heavy load

2007-07-06 Thread Anup Shukla
Poul-Henning Kamp wrote: > I've seen the automatic restart of the worker process fail here > during my testing, and I suspect you hit the same thing. > > I have it on my list of things to investigate RSN. > > Do you have any corefiles from varnishd by any chance ? > > I just set ulimit -c unlim

Varnish shutting down under heavy load

2007-07-05 Thread Anup Shukla
Hi All, This is in continuation of the previous thread "Best Practices - Suggestion Request" The problem of varnish shutting down every 7-10 days still continues. This resulted in significant amount of downtime, and hence i shifted all but one server to "pound". pound has been working fine.. bu

Problems with revision 1643.

2007-07-04 Thread Anup Shukla
Hi All, A few things are causing trouble in r1463 Varnish always uses uid nobody and gid nogroup. i did this: #useradd varnish #varnishd -u varnish -g varnish But, it still complained about group: nogroup not being present. I added a group nogroup, just to keep varnish happy. Varnish the

Re: Failure cenarios?

2007-07-03 Thread Anup Shukla
James Quacinella wrote: > I use monit for monitoring programs. Here is a snippet I had used when > monitoring a varnish install (too bad it never went into production; > change values to you liking / environment): > A Billion thanks to you :) I have been looking for a tool that could do this

Re: Problem with varnish and caching

2007-07-03 Thread Anup Shukla
Manuel Amador (Rudd-O) wrote: > The optimum behaviour would be Varnish caching static files > (img,css,jpg,png, based on response HTTP headers) and not caching > dynamic ones. But as it currently stands, Varnish configuration > language doesn't allow caching to be controlled based on the response

Re: Problem with varnish and caching

2007-07-02 Thread Anup Shukla
Manuel Amador (Rudd-O) wrote: > site is cached according to Varnish default policies. You have not > provided a single counterexample or a single snippet of VCL that could > solve the problems I have, or a single snippet of VCL that you guys are > actually using on production servers. > > "man

Re: setting varnish storage size

2007-06-29 Thread Anup Shukla
jean-marc pouchoulon wrote: > Hi , > I'm a bit confused about /var/lib/varnish/varnish_storage.bin > I use varnish 1.0.0.4 under linux fedora 6 ( using a vserver ). > > I set in /etc/sysconfig varnish VARNISH_STORAGE_SIZE=2G > and the size of the file still remains to one GIGA > > -rw--- 1 ro

Re: Best Practices - Suggestions Request

2007-06-29 Thread Anup Shukla
Hi All. Apologies for not being able to respond to my own problems ;) I would personally like to give the latest SVN version a try. I had encountered a situation where the /tmp was mounted noexec and varnish failed to load. This made me aware that Varnish uses /tmp to keep the compiled VCL. I h

Re: Best Practices - Suggestions Request

2007-06-27 Thread Anup Shukla
Anup Shukla wrote: > Dag-Erling Smørgrav wrote: > >> Still, only the child should die, the parent should automatically >> restart it. He says he has to restart it manually, which worries me... >> >> Anup, what version are you running? >> >> DES >

Re: Best Practices - Suggestions Request

2007-06-27 Thread Anup Shukla
Dag-Erling Smørgrav wrote: > Still, only the child should die, the parent should automatically > restart it. He says he has to restart it manually, which worries me... > > Anup, what version are you running? > > DES > I am running version 1.0.4 Is that too old to use? If so, i will update it

Re: Best Practices - Suggestions Request

2007-06-26 Thread Anup Shukla
Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Anup Shukla writes: > >> Poul-Henning Kamp wrote: >> > > >> I have put the cache file (or whatever its called as) under /cache/varnish >> the parameters are -s >

Re: Best Practices - Suggestions Request

2007-06-26 Thread Anup Shukla
Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Anup Shukla writes: > > >> I understand that running both services on the same server is probably a >> bad idea, but due to time constraints i had no option but to go ahead >> with the current setup. &

Best Practices - Suggestions Request

2007-06-26 Thread Anup Shukla
Hi All, We have been running varnish for over a month on our production servers now. We are using the default configuration with a small change, that is to cache request with Cookies. We have a number of web servers behind a load balancer, each web server running varnish + apache. I understand

Re: Newbie : Static content caching

2007-06-11 Thread Anup Shukla
Hi Dag-Erling Smørgrav, Thank you for your response. It was the cookies. Forcing varnish to cache requests even if cookies are present does the trick. Thank you again. Dag-Erling Smørgrav wrote: > Anup Shukla <[EMAIL PROTECTED]> writes: >> If i request, say for example, a static

Re: Newbie : Static content caching

2007-06-11 Thread Anup Shukla
ot being responsible enough before posting. Just that, in this case, the light flickered, almost immediately after i hit the send button. Thank you. Anup Shukla wrote: > Hello all, > > I have been using Varnish with its "default configuration" for quite > sometime now. &

Newbie : Static content caching

2007-06-11 Thread Anup Shukla
Hello all, I have been using Varnish with its "default configuration" for quite sometime now. Absolutely nothing has changed except for the backed servers port number (set to 8000). Needless to say that it has been performing brilliantly and has reduced the load on our webservers considerably.