Bug 1437610
Summary: | systemd does not appear to be updating LimitNPROC correctly | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michel van der List <michel> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 26 | CC: | cschalle, johannbg, lnykryn, msekleta, muadda, otaylor, ssahani, s, systemd-maint, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-10-27 13:48:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michel van der List
2017-03-30 16:18:44 UTC
Upgraded to F26. Same problem. Still a problem with systemd-233-6.fc26. Tried to turn off selinux with no luck. Did a strace on systemd and it appears the NPROC value does not get propagated. Can you try a fresh Fedora system in a VM and see what you see there? on a system where I haven't modified anything, I see: $ cat /etc/system-release Fedora release 26 (Twenty Six) $ ulimit -u 77888 So I'm not sure where the small limit you are seeing is coming from - perhaps there's something you have modified in the system configuration or some leftover from an upgrade. Well, I started a liveCD on a different box and get: [liveuser@localhost-live ~]$ cat /etc/system-release Fedora release 26 (Twenty Six) [liveuser@localhost-live ~]$ ulimit -u 63764 [liveuser@localhost-live ~]$ I'm pretty sure I tried this on the box in question with a LiveCD with F25 and it had the same problem, but I'm not near that particular system, so I won't be able to boot that one with a LiveCD until tomorrow. However, I have another F26 box sitting here with the same problem, so let me boot that one up with the LiveCD and see what it does. For the record, both have been upgraded and doing a clean install would be painful at best, so I'd like to track down what is actually causing this. I'll be back... Booting up the system that also has the problem with a LiveCD results in: [liveuser@localhost-live ~]$ cat /etc/system-release Fedora release 26 (Twenty Six) [liveuser@localhost-live ~]$ ulimit -u 30453 [liveuser@localhost-live ~]$ So it would appear this is some sort of configuration of my current installation(s). I'm open to any suggestions that would help me find it. For now I'll also remove all of the config stuff I put into the /etc/systemd directory. After removing all customizations and rebooting, I'm back to square 1 (or perhaps square 1024). Logging in with SSH results in the same, using the text console results in the same. Turned selinux to permissive, and it result in the same. I'm lost. If there are no suggestions I guess I'll just rebuild the system from scratch. Well, re-built the system(s) keeping the user files only and the problem went away. Something must have been interfering, though I still don't know what. |