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

Re: Increase maximum allowed POSIX threads

On Sun, 23 Jan 2005, Jacob Friis Larsen wrote:
> > > I would like to increase the maximum allowed POSIX threads on my server.
> > > Does anyone know how?
> > 
> > Have you tried adjusting /proc/sys/kernel/max-threads?
> I have tried this:
> echo 30000 >/proc/sys/kernel/threads-max
> Would that solve it for POSIX threads?

In 2.6, yes.  I don't know about 2.4.  But anyone that needs to ask for more
threads, REALLY should be running 2.6 due to NPTL anyway...

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Reply to: