Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 108:34:55 |
Calls: | 290 |
Files: | 905 |
Messages: | 76,683 |
time frame. Nowadays, we have 22 bit pids, so it is even less likely (*).
"We" do? Offhand, I don't know the size of pid_t, much less how
much of its numerical range is actually used.
There are trivial concerns, such as how many columns PIDs take up in the >output of ps(1).
I thought random assignment of PIDs was standard by now.
In article <slrnvg2nc2.2dut.naddy@lorvorc.mips.inka.de>,
Christian Weisgerber <naddy@mips.inka.de> wrote:
...
time frame. Nowadays, we have 22 bit pids, so it is even less likely (*). >>"We" do? Offhand, I don't know the size of pid_t, much less how
much of its numerical range is actually used.
On Linux, check out: /proc/sys/kernel/pid_max
As I read the various posts on the subject, 15 bit is still the limit on 32 bit systems, 22 bit on 64 bit systems. But, of course, YMMV.
[...]
On Linux, check out: /proc/sys/kernel/pid_max
As I read the various posts on the subject, 15 bit is still the limit on 32 >> bit systems, 22 bit on 64 bit systems. But, of course, YMMV.
Hmm.. - my [a bit rusty] 64 bit Linux displays 32768 (15 bit).
On 05.10.2024 19:13, Kenny McCormack wrote:
In article <slrnvg2nc2.2dut.naddy@lorvorc.mips.inka.de>,
Christian Weisgerber <naddy@mips.inka.de> wrote:
...
time frame. Nowadays, we have 22 bit pids, so it is even less likely (*). >>>"We" do? Offhand, I don't know the size of pid_t, much less how
much of its numerical range is actually used.
On Linux, check out: /proc/sys/kernel/pid_max
As I read the various posts on the subject, 15 bit is still the limit on 32 >> bit systems, 22 bit on 64 bit systems. But, of course, YMMV.
Hmm.. - my [a bit rusty] 64 bit Linux displays 32768 (15 bit).
[...]
Personally, I don't really see the point (in increasing the max pid #).
For practical purposes, it seems unlikely you'll ever need it (*), but then again, maybe there really are big systems out there that need to be running more than 32K processes at a time.
(*) And, as noted earlier, having big pid numbers makes "ps" listings weird.
On 07.10.2024 13:53, Kenny McCormack wrote:
Personally, I don't really see the point (in increasing the max pid
#). For practical purposes, it seems unlikely you'll ever need it
(*), but then again, maybe there really are big systems out there
that need to be running more than 32K processes at a time.
Yes, any [multi-user] server system will likely need larger limits (nowadays). I forgot that my (de facto) "single-user" system is in
principle able to serve hundreds of users (or more) and must be
able to handle all their processes.
Since processes are handled by the OS kernel what does that imply...?
A common process/thread interface in Linux?