mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 22:17:54 +00:00
parallel: Fixed https://savannah.gnu.org/bugs/?36942
This commit is contained in:
parent
7a2e3d731b
commit
5c557c0973
|
@ -2659,6 +2659,10 @@ sub processes_available_by_system_limit {
|
||||||
" jobs in parallel. Raising ulimit -u may help.\n");
|
" 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()) {
|
if($Global::JobQueue->empty()) {
|
||||||
$system_limit ||= 1;
|
$system_limit ||= 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue