Bug 1754451 - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Summary: Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: 389-ds-base
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: mreynolds
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-23 09:53 UTC by Lukas Slebodnik
Modified: 2023-08-22 23:32 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-09-09 15:48:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 3673 0 None closed support cgroupv2 2021-01-01 20:39:18 UTC

Description Lukas Slebodnik 2019-09-23 09:53:35 UTC
Description of problem:
Fedora 31 switched to cgroups v2 by default
https://fedoraproject.org/wiki/Changes/CGroupsV2
and it seems 389-ds still try to use v1


Version-Release number of selected component (if applicable):
rpm -q 389-ds-base
389-ds-base-1.4.1.7-1.fc31.x86_64

How reproducible:
Deterministic

Steps to Reproduce:
1. #install and configure 389-ds on default f31 (freeIPA can be used as well)
2. # restart service and check errors reported by 389-ds
3. journalctl --boot -u dirsrv | grep ERR | grep "/cgroup/"

Actual results:
Sep 23 05:46:10 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:10.139146386 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:10 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:10.141847902 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:10 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:10.143083444 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.166850637 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.168268079 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.169192166 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.171585443 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.172463685 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.173283725 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.174156213 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.174966221 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.175851582 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.176852584 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.177723911 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.178553805 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.179445679 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.180277361 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.181099980 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.181969820 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.182796747 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.183646082 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.184519478 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.185346321 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.186158473 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.192186822 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2

Expected results:
No cgroups related errors.

Additional info:

Comment 1 mreynolds 2019-09-23 12:43:28 UTC
Upstream ticket:
https://pagure.io/389-ds-base/issue/50618

Comment 2 thierry bordaz 2020-02-19 08:36:09 UTC
Fixed upstream

Comment 3 Fedora Admin XMLRPC Client 2020-02-21 16:25:08 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 4 Fedora Admin XMLRPC Client 2020-02-22 04:16:33 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 5 ztywei 2023-08-22 04:50:30 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.