This commit is contained in:
Ole Tange 2012-10-01 21:00:20 +02:00
parent 7a2e3d731b
commit 5c557c0973

View file

@ -2659,6 +2659,10 @@ sub processes_available_by_system_limit {
" jobs in parallel. Raising ulimit -u may help.\n");
}
}
if($] == 5.008008 and $system_limit > 1000) {
# https://savannah.gnu.org/bugs/?36942
$system_limit = 1000;
}
if($Global::JobQueue->empty()) {
$system_limit ||= 1;
}