Re: fork: Resource temporarily unavailable / cant start new threads

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: mark <markkicks@...>
Cc: <linux-kernel@...>
Date: Wednesday, May 21, 2008 - 5:32 pm

On Wed, 21 May 2008 14:08:53 -0700 mark wrote:


Total number of threads currently running is in /proc/loadavg:

1.56 0.58 0.27 2/203 28500

It's the number following the '/', e.g., 203 on my desktop system.

max_threads allowed is a sysctl, so you can tune it if needed.
It's in /proc/sys/kernel/threads-max:

32624

I sort of doubt that one is the problem, but you can tell us.


I can send you some debug patches that will print out the specific
problem area.  Do you want to do that?  Can you rebuild and install
a new kernel?




---
~Randy
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: fork: Resource temporarily unavailable / cant start new ..., Randy Dunlap, (Wed May 21, 5:32 pm)