help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Max cfservd connections


From: Martin, Jason H
Subject: RE: Max cfservd connections
Date: Tue, 18 Oct 2005 10:57:35 -0700

I actually came upon it while looking at Stunnel since it has a
compiled-in maximum number of file descriptors it will use. That got me
to thinking about cfservd and I checked the code to see if there was a
maximum. I haven't actually hit that number, but wanted to be aware of
what the limit was and why.

-Jason Martin

> -----Original Message-----
> From: Mark Burgess [mailto:Mark.Burgess@iu.hio.no] 
> Sent: Tuesday, October 18, 2005 10:41 AM
> To: David Masterson
> Cc: Martin, Jason H; help-cfengine@gnu.org
> Subject: RE: Max cfservd connections
> 
> 
> Fair enough - it was meant to be a silly number. I did not 
> anticipate anyone contemplating this. I would be interested 
> to know he circumstances in which it is actual to expect 1000 
> simulaneous connections to a single machine.
> 
> M
> 
> M
> 
> On Tue, 2005-10-18 at 10:13 -0700, David Masterson wrote:
> > Arbitrary numbers should be configuration items.  ;-)
> > 
> > Mark Burgess wrote:
> > > This is just an arbitrary number. Most systems will not 
> want to go 
> > > higher -- but if you do, then change it. M
> > > 
> > > On Mon, 2005-10-17 at 16:14 -0700, Martin, Jason H wrote:
> > >> I'm curious, does anyone know why cfservd is limited to 1000 
> > >> concurrent connections?
> > >> 
> > >>> From the latest cfservd.c:
> > >> if ((CFD_MAXPROCESSES < 1) || (CFD_MAXPROCESSES > 1000))       {
> > >>       FatalError("cfservd MaxConnections with silly 
> value");       }
> > >> 
> > >> Thank you,
> > >> -Jason Martin
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]