Quickly hit nproc limit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Most stock Linux systems come with a soft limit of nproc set to 1024, which can be low now due to threads_per_disk giving us an effective multiplier on total number of object server processes. If workers * threads_per_disk * disks > 1024, we get this error:
Dec 26 03:49:28 object-server ERROR __call__ error with HEAD /d95/236790/
Since Swift already raises/sets nofile and data limits for the processes at startup, add some logic to do the same to nproc. The 8192 choice is arbitrary on my part, but seems a reasonable number.
Changed in swift: | |
milestone: | none → 1.12.0 |
status: | Fix Committed → Fix Released |
https:/ /review. openstack. org/#/c/ 64297/