pid_max madness
Let's do:
#echo "-1" >/proc/sys/kernel/pid_max
#cat /proc/sys/kernel/pid_max
-1
#
Madness, isn't ?
I guess that isn't what author ment it to behave like.
Anyway, does it mean that after max unsigned value is reached pids are going to be negative in value ??
--
GJ
Quoted 2 lines · Grzegorz Piotr Jaskiewicz
Anyway, does it mean that after max unsigned value is reached pids are going to be negative in value ??
No, because something in the /proc drivers will die of indigestion *much* sooner (I think it's some very low value like 64K or 128K on i386?)
Quoted 9 lines · Grzegorz Piotr Jaskiewicz
Let's do:
#echo "-1" >/proc/sys/kernel/pid_max
#cat/proc/sys/kernel/pid_max
-1
#
Madness, isn't ?
I guess that isn't what author ment it to behave like. Anyway, does it mean that after max unsigned value is reached pids are going to be negative in value ??
Kernel version please?
-- wli
Quoted 12 lines · William Lee Irwin III
Quoted 8 lines · Grzegorz Piotr Jaskiewicz
Let's do:
#echo "-1" >/proc/sys/kernel/pid_max
#cat/proc/sys/kernel/pid_max
-1
#
Madness, isn't ?
I guess that isn't what author ment it to behave like.
Anyway, does it mean that after max unsigned value is reached pids are going to be negative in value ??
Quoted 1 line
Kernel version please?
all 2.6.x on intel86, this exact one is 2.6.9.
on 2.6.10-rc1-mm4 it doesn't change it anymore.
--
GJ
-rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs
Quoted 1 line · William Lee Irwin III
Quoted 1 line
Kernel version please?
Quoted 2 lines · Grzegorz Piotr Jaskiewicz
all 2.6.x on intel86, this exact one is 2.6.9.
on 2.6.10-rc1-mm4 it doesn't change it anymore.
Okay, good to hear I didn't miss this piece of the fixes.
Thanks.
-- wli
Quoted 6 lines · Grzegorz Piotr Jaskiewicz
Let's do:
#echo "-1" >/proc/sys/kernel/pid_max
#cat/proc/sys/kernel/pid_max
-1
#
Quoted 8 lines
Madness, isn't ?
I guess that isn't what author ment it to behave like.
Anyway, does it mean that after max unsigned value is reached pids are going to be negative in value ??--
GJ
-
Seems to set them back to 300 on this system Linux-2.6.9. That's an interesting side-effect. I like it! They never get much over 300 either!
Cheers,
Dick Johnson
Penguin : Linux version 2.6.9 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by John Ashcroft.
98.36% of all statistics are fiction.