On Thu, Nov 30, 2000 at 11:42:37AM +1000, Matthew Melvin <[EMAIL PROTECTED]> 
wrote:
| On Wed, 29 Nov 2000, Todd A. Jacobs wrote:
| > Is there a /proc entry for increasing the number of PID's a system will
| > support before recycling? By default, the system seems to support 32,768
| > PID's before recycling. I'd like to increase that as much as possible.
| 
| Not really.  The max value of PID is a result of the variable type used to
| store the pid.  The kernel and glibc both define pid_t as being an int so
| you're pretty stuck.  I suppose diffrent kernels (2.4 for instance)  might
| define pid_t as something else but there is still no way you can take
| advantage of it without a recompile.  And even then only if your glibc also
| redefined it.

And even so, it is a known fact that PIDs repeat. They are stable only
for the lifetime of a process. A better question is: _why_ do you want
to do this? There's probably a better way for do whatever you're
trying.

Cheers,
--
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

I myself have never been able to find out precisely what feminism is : I only
know that people call me a feminist whenever I express sentiments that
differentiate me from a doormat.        - Rebecca West



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to