public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: darren kirby <bulliver@badcomputer.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] kernel.pid_max
Date: Sat, 16 Sep 2006 23:53:56 -0700	[thread overview]
Message-ID: <200609162353.56602.bulliver@badcomputer.org> (raw)

Hello,

>From /etc/sysctl.conf:

# Allow for more PIDs (cool factor!); may break some programs
#kernel.pid_max = 999999

I though it may be neat to have a bigger pid pool, So I edited the file to 
change the value to 99999 and run:

#  sysctl -p
error: "Invalid argument" setting key "kernel.pid_max"
# cat /proc/sys/kernel/pid_max
32768
# echo "99999" > /proc/sys/kernel/pid_max
bash: echo: write error: Invalid argument
# echo 99999 > /proc/sys/kernel/pid_max
bash: echo: write error: Invalid argument
# sysctl -w kernel.pid_max="99999"
error: "Invalid argument" setting key "kernel.pid_max"
# sysctl -w kernel.pid_max=99999
error: "Invalid argument" setting key "kernel.pid_max"

How do you get this to work? I do have sysctl support in the kernel:

# cat /usr/src/linux/.config | grep SYSCTL
CONFIG_SYSCTL=y

Also, assuming you can help me get this sorted does anyone know which programs 
this may break?

Thanks for consideration,
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2006-09-17  6:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-17  6:53 darren kirby [this message]
2006-09-17 15:48 ` [gentoo-user] kernel.pid_max Richard Fish
2006-09-17 16:49 ` Drew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200609162353.56602.bulliver@badcomputer.org \
    --to=bulliver@badcomputer.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox