Rethinking race-free process signaling
Rethinking race-free process signaling
Posted Apr 5, 2019 1:45 UTC (Fri) by Cyberax (✭ supporter ✭, #52523)In reply to: Rethinking race-free process signaling by Fowl
Parent article: Rethinking race-free process signaling
Posted Apr 5, 2019 16:40 UTC (Fri)
by smurf (subscriber, #17840)
[Link] (8 responses)
Posted Apr 7, 2019 1:09 UTC (Sun)
by stephen.pollei (subscriber, #125364)
[Link] (7 responses)
4901 processes ought to be enough for most people.
Lager systems might need to increase pid_max further, and have bigger rlimits.
In either case it seems like it can mostly be solved with saner configuration.
Posted Apr 8, 2019 1:21 UTC (Mon)
by dvdeug (guest, #10998)
[Link] (6 responses)
Arbitrary limits are a pain in the ass, and increasing the number of them and the odds you're going to hit them is not user-friendly.
Posted Apr 8, 2019 1:59 UTC (Mon)
by ebiederm (subscriber, #35028)
[Link] (5 responses)
There is the other issue with more pids that if they get too large they get ungainly and difficult
Posted Apr 8, 2019 5:54 UTC (Mon)
by eru (subscriber, #2753)
[Link] (4 responses)
Posted Apr 8, 2019 7:27 UTC (Mon)
by rbanffy (guest, #103898)
[Link] (3 responses)
Posted Apr 10, 2019 5:15 UTC (Wed)
by eru (subscriber, #2753)
[Link] (2 responses)
Posted Apr 10, 2019 18:07 UTC (Wed)
by rbanffy (guest, #103898)
[Link] (1 responses)
Posted Apr 12, 2019 6:19 UTC (Fri)
by massimiliano (subscriber, #3048)
[Link]
You have to let your imagination fly higher, eru. 290,000 years is a blink of an eye in cosmic terms...
If I let my imagination fly just a bit higher, in such a system this issue will be solved just like the current 2038 problem.
At some point the system will do a live migration to a 128 bit architecture, with conversion of the persistent state to appropriately sized values, and the "actor IDs" in the distributed systems will get a bit of fresh air with a wraparound time of 2^32*290k years, whatever that means...
Rethinking race-free process signaling
Rethinking race-free process signaling
70% of people would be ok with max login of 3
95% of people would be ok with max login of 8
99% of people would be ok with max login of 13
70% of people should be ok with a max of 89 processes per login
95% of people should be ok with max of 144 processes per login
99% of people should be ok with max of 377 processes per login
If you raise pid_max to 99999 on small system and set these limits does it strongly reduce the issues?
Rethinking race-free process signaling
Rethinking race-free process signaling
not properly running programs that consume a few more resources than normal.
to use. Which argues against making 4 million the default. But otherwise something like 4 million
would probably be a fine default for a limit like that.
If the pid limit is 4 million, problems due to wraparound are rare, but they may occasionally happen, causing hard to trace bugs. Same with MAXINT. But if pid were a 64-bit number, and the limit the maximum of that, wraparound would never happen, so software could safely assume that pids are always unique.
Rethinking race-free process signaling
Rethinking race-free process signaling
> But if pid were a 64-bit number, and the limit the maximum of that, wraparound would never happen
Cue to a meeting room with a dozen people dressed like characters from Things to Come trying to figure out why The Google stopped answering their questions.
Fine. It'll be a looooong time.
Rethinking race-free process signaling
Rethinking race-free process signaling
Rethinking race-free process signaling