Deutsch English Français Italiano |
<vdviph$1io9a$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.unix.shell Subject: Re: pid ranges (Was: (bash) How (really!) does the "current job" get determined?) Date: Mon, 7 Oct 2024 04:58:56 +0200 Organization: A noiseless patient Spider Lines: 23 Message-ID: <vdviph$1io9a$1@dont-email.me> References: <vdn864$2p69n$1@news.xmission.com> <slrnvg0s5f.1qk1.naddy@lorvorc.mips.inka.de> <vdrkel$2r9tv$1@news.xmission.com> <slrnvg2nc2.2dut.naddy@lorvorc.mips.inka.de> <vdrs2u$2rdb7$1@news.xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 07 Oct 2024 04:58:57 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5f5acbc78a353cdf8f36934af485fb2c"; logging-data="1663274"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yyRBlGdMH7YHJJ9KXPQyn" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:5p/sfPrLVoOrKiVTV/AO2U3oQrs= In-Reply-To: <vdrs2u$2rdb7$1@news.xmission.com> X-Enigmail-Draft-Status: N1110 Bytes: 2022 On 05.10.2024 19:13, Kenny McCormack wrote: > In article <slrnvg2nc2.2dut.naddy@lorvorc.mips.inka.de>, > Christian Weisgerber <naddy@mips.inka.de> wrote: > ... >>> time frame. Nowadays, we have 22 bit pids, so it is even less likely (*). >> >> "We" do? Offhand, I don't know the size of pid_t, much less how >> much of its numerical range is actually used. > > On Linux, check out: /proc/sys/kernel/pid_max > > As I read the various posts on the subject, 15 bit is still the limit on 32 > bit systems, 22 bit on 64 bit systems. But, of course, YMMV. Hmm.. - my [a bit rusty] 64 bit Linux displays 32768 (15 bit). (Not that I had anytime needed more than a fraction of these; currently "only" about 2%.) Janis > [...]