void the pitfalls of infinite nproc hard limit in Linux. This patch
should be included in 4.1.1.