[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Serious problems with Java & threads on stable & unstable... (?)



On Tue, Jun 11, 2002 at 10:07:35PM -0500, Adam Majer wrote:
> On Thu, May 16, 2002 at 10:32:06AM -0700, A.J. Rossini wrote:
> > >>>>> "tony" == tony mancill <tony@mancill.com> writes:
> > 
> >     tony> For both cases, would it possible to post the kernel version of the test
> >     tony> box?  Maybe it's part of the equation.
> > 
> > (I actually did, privately, to Bill, forgot to cc the list).
> > 
> > I'm running 2.4.18, on a dual P2 1.0 Ghz box, 512Mb/2Gb swap.
> > 
> > turns out it might be a process limit problem.  
> 
> 
> Yes. By deafault the max number of threads is set to 320. Well, at least on my
> 486 box. On Athlon I have it as 8k.
> 
> 
> /proc/sys/kernel/threads-max
> 
> 
> If it says it can't fork, then it is threads-max that's the problem.

It even might be the shell, my standard debian zsh e.g. limits the
number um threads to 256:

billy@farpoint:~/ > ulimit -u
256

It might help to set it higher:

billy@farpoint:~/ > ulimit -u 8192



My 0.02,
	-billy.

-- 
Meisterbohne       Söflinger Straße 100          Tel: +49-731-399 499-0
   eLösungen       89077 Ulm                     Fax: +49-731-399 499-9

Attachment: pgpn54zCh0EOK.pgp
Description: PGP signature


Reply to: