Open EricR86 opened 6 years ago
Original report (BitBucket issue) by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).
On job resubmission, segway-wrapper.sh attempts to raise both the hard and soft limits of virtual and resident set size memory.
If the hard limit of memory is not unlimited, only root users may increase the hard memory limit requested even after it has been lowered.
Perhaps a proprosal to fallback to attempting to change only the soft limit after failing to set both hard and soft limit.
e.g:
#!bash ulimit -c 0 -v "$mem_limit_kb" -m "$mem_limit_kb" || ( ulimit -S -c 0 -v "$mem_limit_kb" -m "$mem_limit_kb" || exit 201)
Original report (BitBucket issue) by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).
On job resubmission, segway-wrapper.sh attempts to raise both the hard and soft limits of virtual and resident set size memory.
If the hard limit of memory is not unlimited, only root users may increase the hard memory limit requested even after it has been lowered.
Perhaps a proprosal to fallback to attempting to change only the soft limit after failing to set both hard and soft limit.
e.g: