on Sun, Mar 03, 2002, Balazs Javor ([EMAIL PROTECTED]) wrote:
> Hi,
> 
> When I try to ssh from one of my Woody boxes into the other
> (using OpenSSH) I am able to connect but I get the following message:
> 
> bash: fork: Resource temporarily unavailable
> 
> The same message then appears each time I try to run something
> that tries to fork a new shell e.g. less
> 
> Any ideas why this happens and how I could solve this?

For a fork, I'd suspect you're out of user processes, though checking
other resource limits (generally memory and filehandles) is adviseable.

There are hard-compiled limits of 256 user, and 512 system, processes,
in the 2.2.x kernels. These limits are raised in the 2.4 kernels, though
I don't know the values offhand.

The value can be raised, but you have to edit sources to do so at least
through 2.2.x -- there is _no_ configuration option for this value.

I ran into similar issues with exim, procmail, and spam-filtering
software a few weeks ago.  I tuned my mail configuration to keep from
launching a large number of exim processes and the problem went away.
Multi-threaded applications are particularly prone to this issue.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpSfnlp9ZUoW.pgp
Description: PGP signature

Reply via email to