|
|
Log in / Subscribe / Register

PID

PID

Posted Oct 8, 2011 1:14 UTC (Sat) by neilbrown (subscriber, #359)
In reply to: PID by Richard_J_Neill
Parent article: A Plumber's Wish List for Linux

Is "echo 4000000 > /proc/sys/kernel/pid_max" enough for you?

Though to be fair I don't fully understand the memory usage implications of doing this. A quick look suggests that most things scale with the number of processes, not the number of possible processes.
There is a bitmap to track which pids are used, so if used-pids are not dense you would get more wastage in that data structure.

You could try it and see (??).


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds