On Mon, 20 Sep 2004 16:54:37 +0100, Niall O Broin <niall at linux.ie> wrote:
> ls -lu seems to indicate that neither /etc/security/limits.conf nor /lib/
> security/pam_limits.so are being read and lsof doesn't show /lib/security/
> pam_limits.so to be opened by any process, although quite a few other /lib/
> security/pam_XXXX.so files are.
>> Do any of you have an idea what I might be missing here ?
ls and lsof suggest PAM isn't being applied to your process.
(Obviously it won't apply to daemons started up by init scripts.).
Does it work If you logon at the console?
Are you connecting over ssh? Did you set /etc/pam.d/sshd too?
I vaguely recall a problem getting PAM to apply core file limits
to root, but that was a long time ago and I may be mistaken.
How are you querying the current limits?
Are you doing it in a login shell?
Can you up the limits with ulimit, or equivalent if you don't use bash?
If PAM is being applied, is there a ulimit override in /etc/profile or ~/* ?
(Above is a composite of stuff I sent Niall off-list but meant to post here.).
Kieran Tully, Software Developer and Tenor
Reply to Kieran.Tully AT acm.org
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!