pam_limits and OpenSSH

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Thu Sep 6 00:17:25 EST 2001


I suggest you try OpenSSH 2.9p2 release

- Ben

On Wed, 5 Sep 2001, Ognyan Kulev wrote:

> 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