RE: Child dying with "Too many open files"

2008-02-20 Thread Andrew Knapp
Here's the output: $ sysctl fs.file-max fs.file-max = 767606 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Michael S. Fischer > Sent: Wednesday, February 20, 2008 5:48 PM > To: Andrew Knapp > Cc: varnish-misc@projects.linpro.no > Subject: Re: Chil

Re: Child dying with "Too many open files"

2008-02-20 Thread Michael S. Fischer
Does 'sysctl fs.file-max' say? It should be >= the ulimit. --Michael On Wed, Feb 20, 2008 at 4:04 PM, Andrew Knapp <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > > I'm getting this error when running varnishd: > > > > >> > > Child said (2, 15369): < 217: > > Condition((pipe(w->pipe)) == 0)

RE: Child dying with "Too many open files"

2008-02-20 Thread Andrew Knapp
That was stupid...I forgot to say that I'm using the varnish 1.1.2-5 rpm's from sf.net, running on centos 5. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Knapp Sent: Wednesday, February 20, 2008 4:04 PM To: varnish-misc@projects.linpro.no Subject: Child dying with "Too

Child dying with "Too many open files"

2008-02-20 Thread Andrew Knapp
Hello, I'm getting this error when running varnishd: >> Child said (2, 15369): > Cache child died pid=15369 status=0x6 uname -a: Linux 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:55 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

Re: still trying to purge

2008-02-20 Thread Charlie Farinella
As long as I'm being a pain in the neck and asking a lot of questions, I have another: Sometimes ( not always ), purging the cache crashes Varnish. I have it monitored by monit which restarts it, but it would be better if I could prevent that. Is this a known issue? Misconfiguration? Vers

Re: still trying to purge

2008-02-20 Thread Charlie Farinella
On Wednesday 20 February 2008, Charlie Farinella wrote: In case anyone has the same problem, this will work: # scriptname #!/bin/sh host=127.0.0.1 port=6082 cmd="url.purge" echo open ${host} ${port} sleep 1 echo ${cmd} \* sleep 3 echo exit $: ./scriptname | telnet > Hi all, > > For the momen

Re: still trying to purge

2008-02-20 Thread Eirik Øverby
On Feb 20, 2008, at 9:46 PM, Charlie Farinella wrote: Hi all, For the moment I have given up trying to do the http purge thing and am trying to find a workaround. I have the following shell script: == #!/bin/sh host=127.0.0.1 port=6082 cmd="url.purge" param=".*" Try escaping the * there.

still trying to purge

2008-02-20 Thread Charlie Farinella
Hi all, For the moment I have given up trying to do the http purge thing and am trying to find a workaround. I have the following shell script: == #!/bin/sh host=127.0.0.1 port=6082 cmd="url.purge" param=".*" echo open ${host} ${port} sleep 1 echo ${cmd} ${param} sleep 3 echo exit == The resu