This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Does cpp still open many files.
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: Does cpp still open many files.
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Mon, 31 Jul 2000 12:14:01 -0700
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <20000727183822.A4501@lucon.org>
On Thu, Jul 27, 2000 at 06:38:22PM -0700, H . J . Lu wrote:
> Hi, Zack,
>
> Have you fixed
>
> http://gcc.gnu.org/ml/gcc/2000-07/msg00037.html
>
> The gcc from CVS has been killing my machine left and right when
> I do parallel Linux kernel build on my SMP machines.
It does still open many files. It is supposed to close them all if
open() fails, but you might run out of system file slots first and
have some other program be affected. Setting rlimits such that
(number of per-process files allowed) * (number of parallel gcc
instances) < (total number of open files supported) should fix that
problem.
I've been meaning to fix this for awhile but other things are higher
priority. I'll bump it up a few levels.
zw