Friday, January 31, 2020

Re: Resource temporarily unavailable: have to recompile?

Sorry. It seems to have been just a ulimit and a login.conf value
that I had not increased enough.

On 01-31 13:20, Luke A. Call wrote:
> [....]
> I am getting "Resource temporarily unavailable" in
> /var/log/authlog when I try to open too many "ssh [-X] user@localhost"
> connections, or even "fork: retry: Resource temporarily unavailable" when
> running "$ cat > /tmp/somefile".
>
> In "man 3 __tfork" I see:
> [EAGAIN] Resource temporarily unavailable. The system-imposed
> limit on the total number of threads under execution
> would be exceeded. This limit is configuration-
> dependent.
>
> [EAGAIN] Resource temporarily unavailable. The system-imposed
> limit MAXUPRC on the total number of threads under
> execution by a single user would be exceeded. MAXUPRC
> is currently defined in <sys/param.h> as CHILD_MAX,
> which is currently defined as 80 in <sys/syslimits.h>.

No comments:

Post a Comment