Technical Linux questions

Patrick R. McManus mcmanus at ducksong.com
Fri Feb 21 11:30:27 EST 2003


[Praveen Ray: Feb 21 11:24]
> > > 1] What is the default and theoretical maximum number of processes
> > > that you can run at once?
> >
> > default is limited to 32K by the pid space.. but the pid allocator
> > breaks down to be useless well before then. using a bigger pid space,
> > a new pid allocator, and the new 2.5 threading code people have run
> > 100,000 simultaneous threads which is probably a reasonable
> > approximation.
> 
> Probably a stupid question but what's PID space got to do with threads? Each 
> thread doesn't get it's own PID, does it?
> 

on linux (currently) each thread does get its own pid. I've always found that odd as well.



More information about the Discuss mailing list