Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #66436
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Newsgroups | linux.debian.kernel |
| Subject | Re: increase kernel.pid_max? |
| Date | 2020-03-01 18:00 +0100 |
| Message-ID | <zFA6B-7rw-9@gated-at.bofh.it> (permalink) |
| References | <zFfOx-3ou-5@gated-at.bofh.it> <zFlTX-71Z-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sun, 2020-03-01 at 09:24 +0800, Ian Campbell wrote:
> 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.
This was a change in systemd 243:
* On 64 bit systems, the "kernel.pid_max" sysctl is now bumped to
4194304 by default, i.e. the full 22bit range the kernel allows, up
from the old 16bit range.
Ben.
> 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.
>
--
Ben Hutchings
It is a miracle that curiosity survives formal education.
- Albert Einstein
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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