Tag Info

New answers tagged

1

/me wished he could comment sshd needs to (typically, but though you didn't specifiy the exact use case(s) etc.) allocate a pty per login, however, in your case, ssh "echo hi; sleep 100s" does NOT allocate a pty, so no need for the kernel.pty.max setting... unless you want thousands of users loggedin*... to test that, you'll need to add the -t option to ...


0

ulimit can be two things: a POSIX 7 C API interface that was deprecated in favor of getrlimit(): http://pubs.opengroup.org/onlinepubs/9699919799/functions/ulimit.html Applications should use the getrlimit() or setrlimit() functions instead of the obsolescent ulimit() function. This was not the case when sim answered on POSIX 6. On GNU/Linux, ...


0

Shell Session Limit The limits set via ulimit only affects processes created by the current shell session. The "soft limit" is the actual limit that is used. It could be set, as far as it is not greater than the "hard limit". The "hard limit" could also be set, but only to a value less than the current one, and only to a value not less than the "soft ...



Top 50 recent answers are included