descriptors was less than four times the reservedFD limit. On
small-FD systems, we will never keep a pconn open because reservedFD
is set to numberFD/4.
Lets try twice the reserved FD limit.
/*
- * $Id: pconn.cc,v 1.24 1998/09/04 23:04:56 wessels Exp $
+ * $Id: pconn.cc,v 1.25 1999/01/14 23:15:43 wessels Exp $
*
* DEBUG: section 48 Persistent Connections
* AUTHOR: Duane Wessels
int *old;
LOCAL_ARRAY(char, key, SQUIDHOSTNAMELEN + 10);
LOCAL_ARRAY(char, desc, FD_DESC_SZ);
- if (fdNFree() < (RESERVED_FD << 2)) {
+ if (fdNFree() < (RESERVED_FD << 1)) {
debug(48, 3) ("pconnPush: Not many unused FDs\n");
comm_close(fd);
return;