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:[EMAIL PROTECTED] > Sent: Tuesday, October 18, 2005 10:41 AM > To: David Masterson > Cc: Martin, Jason H; [email protected] > 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 > > _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
