Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #66435

Re: increase kernel.pid_max?

From Ian Campbell <ijc@debian.org>
Newsgroups linux.debian.kernel
Subject Re: increase kernel.pid_max?
Date 2020-03-01 02:50 +0100
Message-ID <zFlTX-71Z-3@gated-at.bofh.it> (permalink)
References <zFfOx-3ou-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 2020-02-29 at 20:14 +0100, Harald Dunkel wrote:
> Hi folks,
> 
> looking at the number of cores and highly parallel applications
> I wonder if it would be reasonable to increase the default
> kernel.pid_max (currently 0x8000) to lets say 0x3fffff?
> 
> Do you expect negative side effects?

It's already 0x400000 on my machine and everything is fine. I haven't
(knowingly) tweaked anything so I guess this is the default on recent
machines, this laptop is running 5.4.0-3-amd64 (testing userspace,
although not updated for a little bit).

I can't actually find when/where this changed in recent history -- I've
only noticed these large pids in recent months, but it's entirely
possible I'm simply not that observant.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=72680a191b934377430032f93af15ef50aafb3a8 was in 2010 and a 2.6.x
kernel.

Ian.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

increase kernel.pid_max? Harald Dunkel <harri@afaics.de> - 2020-02-29 20:20 +0100
  Re: increase kernel.pid_max? Ian Campbell <ijc@debian.org> - 2020-03-01 02:50 +0100
    Re: increase kernel.pid_max? Ben Hutchings <ben@decadent.org.uk> - 2020-03-01 18:00 +0100
      Re: increase kernel.pid_max? Ian Campbell <ijc@debian.org> - 2020-03-02 00:20 +0100
      Re: increase kernel.pid_max? Harald Dunkel <harri@afaics.de> - 2020-04-12 17:50 +0200

csiph-web