tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: max open files



> Date: Fri, 29 Sep 2017 13:13:42 +0100
> From: Robert Swindells <rjs%fdy2.co.uk@localhost>
> 
> coypu%sdf.org@localhost wrote:
> >this number is way too easy to hit just linking things in pkgsrc. can we
> >raise it? things fail hard when it is hit.
> >
> >ive seen people say 'when your build dies, restart it with MAKE_JOBS=1
> >so it doesn't link in parallel'.
> 
> I saw this for the first time today too.
> 
> Maybe something has started leaking file descriptors.

Run a build with a lot of jobs in parallel, and it's not hard to hit
the process and file descriptor limit.  I started seeing this a few
years ago when I began using a 24-core machine for pkgsrc builds.
Maybe there are also some things that leak file descriptors, but the
maximum number of processes and descriptors should really be scaled by
available RAM by default.


Home | Main Index | Thread Index | Old Index