* pid_max madness
@ 2004-11-17 20:12 Grzegorz Piotr Jaskiewicz
2004-11-17 20:41 ` linux-os
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Grzegorz Piotr Jaskiewicz @ 2004-11-17 20:12 UTC (permalink / raw)
To: kernel list
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
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: pid_max madness
2004-11-17 20:12 pid_max madness Grzegorz Piotr Jaskiewicz
@ 2004-11-17 20:41 ` linux-os
2004-11-17 20:47 ` Valdis.Kletnieks
2004-11-17 20:50 ` William Lee Irwin III
2 siblings, 0 replies; 6+ messages in thread
From: linux-os @ 2004-11-17 20:41 UTC (permalink / raw)
To: Grzegorz Piotr Jaskiewicz; +Cc: kernel list
On Wed, 17 Nov 2004, Grzegorz Piotr Jaskiewicz wrote:
> 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
> -
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.
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: pid_max madness
2004-11-17 20:12 pid_max madness Grzegorz Piotr Jaskiewicz
2004-11-17 20:41 ` linux-os
@ 2004-11-17 20:47 ` Valdis.Kletnieks
2004-11-17 20:50 ` William Lee Irwin III
2 siblings, 0 replies; 6+ messages in thread
From: Valdis.Kletnieks @ 2004-11-17 20:47 UTC (permalink / raw)
To: Grzegorz Piotr Jaskiewicz; +Cc: kernel list
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
On Wed, 17 Nov 2004 21:12:07 +0100, Grzegorz Piotr Jaskiewicz said:
> 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?)
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pid_max madness
2004-11-17 20:12 pid_max madness Grzegorz Piotr Jaskiewicz
2004-11-17 20:41 ` linux-os
2004-11-17 20:47 ` Valdis.Kletnieks
@ 2004-11-17 20:50 ` William Lee Irwin III
2004-11-17 20:59 ` Grzegorz Piotr Jaskiewicz
2 siblings, 1 reply; 6+ messages in thread
From: William Lee Irwin III @ 2004-11-17 20:50 UTC (permalink / raw)
To: Grzegorz Piotr Jaskiewicz; +Cc: kernel list
On Wed, Nov 17, 2004 at 09:12:07PM +0100, Grzegorz Piotr Jaskiewicz wrote:
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pid_max madness
2004-11-17 20:50 ` William Lee Irwin III
@ 2004-11-17 20:59 ` Grzegorz Piotr Jaskiewicz
2004-11-17 21:09 ` William Lee Irwin III
0 siblings, 1 reply; 6+ messages in thread
From: Grzegorz Piotr Jaskiewicz @ 2004-11-17 20:59 UTC (permalink / raw)
To: William Lee Irwin III; +Cc: kernel list
William Lee Irwin III wrote:
> On Wed, Nov 17, 2004 at 09:12:07PM +0100, Grzegorz Piotr Jaskiewicz wrote:
>
>>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?
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-11-18 2:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-17 20:12 pid_max madness Grzegorz Piotr Jaskiewicz
2004-11-17 20:41 ` linux-os
2004-11-17 20:47 ` Valdis.Kletnieks
2004-11-17 20:50 ` William Lee Irwin III
2004-11-17 20:59 ` Grzegorz Piotr Jaskiewicz
2004-11-17 21:09 ` William Lee Irwin III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox