SUMMARY inetd[528]: accept: Too many open files

From: Ragnar Lonn (prl@algonet.se)
Date: Thu Mar 09 1995 - 15:21:28 CST


Here is a summary, finally, of my problem with inetd.

I got suggestions to "increase the NOPEN" value in the kernel
and also to increase the "nprocs" and "nfiles" values. These
aren't included in the standard configuration file but I saw
that they were set in param.c:
        #define NPROC (10 + 16 * MAXUSERS)
        nfile = 16 * (NPROC + 16 + MAXUSERS) / 10 + 64;
and they were dependent upon the "maxusers" value you set in
the standard configuration file so, as I needed to increase
that value anyhow, I didn't bother to change nproc or nfile
individually. Just increasing the 'maxusers' value was also
suggested to me, by the way.

Now, I'm sorry to say I don't know exactly what fixed the
problem because I did another thing at the same time: I installed
a patch that were suggested to me that claimed it would fix this
particular problem. It is patch #101618 as follows:

Patch-ID# 101618-01
Keywords: broken server detection increase fd limit
Synopsis: SunOS 4.1.3_U1: inetd "broken server detection" breaks on fast
machines
Date: Apr/01/94

Solaris Release: 1.1.1
 
SunOS release: 4.1.3_U1
 
Unbundled Product:
 
Unbundled Release:
 
Topic: Increase fd limint on inetd
 
BugId's fixed with this patch: 1030599 1112111

Architectures for which this patch is available: sun4 sun4c sun4m

Patches which may conflict with this patch:

Obsoleted by: SunOS 5.0

        Notes: For the same problem in 4.1.1, 4.1.2,4.1.3, please see
patch
               100178-09
_________________________________________________________________________

Problem Description:

Bugid 1112111:
The file descriptor limit on inetd is too low. This patch of inetd
make use of the hardlimit for the number of file descriptor which
is 1024.

Bugid 1030599:
inetd refuses to accept more than 40 connects per minute on a
particular socket (loop detection)

...

(continued but I cut here)

Many thanks to Rob Vahsen, Pablo Ruiz, Eric Rosen, Barry Donovan,
Morten K. Barfoed, and Anders Jansson.

   +-------------------------------------------------------------------+
  / Ragnar Lonn <--> prl@algonet.se <--> Phone int +46-8-7993011 /
 / Algonet AB Public Access Site, Stockholm /
+-------------------------------------------------------------------+



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:18 CDT