This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with the cpp change after 2000-06-18


On Mon, Jul 03, 2000 at 10:22:01AM -0700, Zack Weinberg wrote:
> On Mon, Jul 03, 2000 at 10:09:19AM -0700, H . J . Lu wrote:
> > Hi, Zack,
> > 
> > I am not sure if I like the cpp change after 2000-06-18 when cpp keeps
> > so many files open. The problem is on a 4way SMP machie, I can do
> > 
> > # make MAKE="make -j 8"
> > 
> > in the Linux kernel build. My system file descriptor limit is reached
> > in minutes. Then other processes on my machine start dying. I know you
> > put in a fix so that cpp won't die. But it doesn't help other processes.
> > I think you should put a limit on the number of opened files in cpp.
> 
> Try using ulimit -n.

To clarify a bit.  I agree this is a problem.  I want you to try
ulimit -n and see if that is an effective workaround.  That will help
me figure out how to fix the problem in the code.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]