Re: Safety of -j N when building kernels?

James Stevenson (mail-lists@stev.org)
Wed, 22 May 2002 21:03:08 +0100


> The only major issue I've seen is the build may fail if you run out
> of file handles, or other resources. The build will fail with an
> "unable to fork" error. When I was at VA Linux I often compiled kernel
> for use with a make -j 16, or -j 8. I seem to remember having to play
> with ulimit, and /proc/?/file-max to get enough file handles.
>
>
> PS- You should also consider logging the output of your compile to a
> file. As your other jobs will continue for sometime before the make
> fails. Often preventing you from easily finding the actual compile error.

of course you should only really need to log the stderr or redirect stderr
to somewhere you can see it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/