pam_limits and OpenSSH
Ognyan Kulev
ogi at fmi.uni-sofia.bg
Wed Sep 5 23:53:05 EST 2001
Hi,
I have an account server with many users. It uses pam_limits module to
limit memory usage etc. The problem is that sometimes SSH rejects
connection after the password is entered. In syslog it prints something
like "fork: Resource temporary unavailable". After killing some root
processes it works perfectly.
Perhaps the daemon first sets process limits and then switches to the
user and/or fork(). But fork() cannot succeed because there is a
process number limit to 40 that is applied to root. This is my
hypothesis. I didn't look at sources. What you think about all this?
Do you need more information? I use Debian GNU/Linux potato and OpenSSH
1.2.3-9.3.
Regards
--
Ognyan Kulev <ogi at fmi.uni-sofia.bg>, "\"Programmer\""
More information about the openssh-unix-dev
mailing list