Re: /proc/sys/kernel/pid_max issues

From: Anton Blanchard
Date: Sun Sep 12 2004 - 07:33:12 EST



> there are a lot of other reasons why you can't go over 64k threads ;)
> (esp on a 32 bit machine)

After all the effort of going to 4kB stacks on x86? :)

> such as all the 16 bit counters in rwsems etc etc...
> Just Say No(tm) :)

Hmm can you point the 16bit counter out? I can create 1 million NPTL
threads on ppc64 easily, so why not?

As Ingo points out the same proc inode overflow happens with
applications with lots of FDs.

Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/