Re: linux-kernel-digest V1 #122

Rob Janssen reading Linux mailinglist (linux@pe1chl.ampr.org)
Fri, 21 Jul 1995 23:21:34 +0200 (MET DST)


According to owner-linux-kernel-digest@vger.rutgers.edu:
> From: "Michael J. Drons" <pa_mjd@meceng.coe.neu.edu>
> Date: Tue, 18 Jul 1995 13:25:08 -0400 (EDT)
> Subject: Dosemu 0.60.3
>
> When Compiling Dosemu 0.60.3 it dies after 20 minutes because of too many open
> files. Has anyone had this problem??? Can I fix it bby increasing the number of > open files in limits.h or resource.h???
>
> Currently limits.h defines it as follows:
> #define OPEN_MAX 256 /* # open files a process may have */
> and I find it hard to believe that "make most" on the dosemu side had 256 files
> open.

Such errors can be caused by an infinite loop of include files including
eachother. When the preprocessor keeps processing the #includes, at some
time the max number of opens will be reached.

Rob

-- 
+------------------------------------+--------------------------------------+
| Rob Janssen         rob@knoware.nl | AMPRnet:   rob@pe1chl.ampr.org       |
| e-mail: pe1chl@wab-tis.rabobank.nl | AX.25 BBS: PE1CHL@PI8WNO.#UTR.NLD.EU |
+------------------------------------+--------------------------------------+