[torqueusers] ulimit in prologue

Rahul Nabar rpnabar at gmail.com
Sat Jun 19 08:58:12 MDT 2010


On Sat, Jun 19, 2010 at 5:45 AM, Lawrence Lowe <L.S.Lowe at bham.ac.uk> wrote:
>> The "ulimit -l unlimited" I've put in torque prologue is ignored. Is
>> there any reason for that ?
>
> hi, I guess the reason is that a ulimit is set for a process, and inherited
> by its daughter processes, but the user job is run as a different process
> and not a daughter of the prologue :-)
>
> Another thing to look at maybe (apart from the pbs_mom startup script) is
> /etc/security/limits.conf (and limits.d/*) if you have that on your system.
> Can't say I've tried it myself though.

In addition to these suggestions be careful if you are using pam. I
remember  another setting in the sshd that dealt with the privilege
escalation in there.

Maybe this helps:

http://kbase.redhat.com/faq/docs/DOC-6246

 --
Rahul


More information about the torqueusers mailing list