numad service failed to initialize on RHEL6
Environment
- Red Hat Enterprise Linux 6
- numad
Issue
- The numad service failed to initialize:
[root@test ~]# /etc/init.d/numad start
Starting numad:
Are CPUSETs enabled on this system?
They are required for /usr/bin/numad to function.
Check manpage CPUSET(7). You might need to do something like:
# mkdir <DIRECTORY_MOUNT_POINT>
# mount cgroup -t cgroup -o cpuset <DIRECTORY_MOUNT_POINT>
where <DIRECTORY_MOUNT_POINT> is something like:
- /sys/fs/cgroup/cpuset
- /cgroup/cpuset
and then try again...
Or, use '-D <DIRECTORY_MOUNT_POINT>' to specify the correct mount point
[FAILED]
Resolution
- Start the cgconfig service and after numad service.
1) Start the cgconfig service
[root@test ~]# /etc/init.d/cgconfig start
Starting cgconfig service: [ OK ]
2) Start the numad service.
[root@test ~]# /etc/init.d/numad start
Starting numad: [ OK ]
3) Persists the services with chkconfig.
[root@test ~]# chkconfig numad on
[root@test ~]# chkconfig cgconfig on
Root Cause
- The numad required work with cgroups and the cgroups are not fully "initialized".
Diagnostic Steps
- The following are other Knowledge Base solutions that can be useful:
Why do I want to use numad service?
Automatically Improve NUMA System Performance with numad
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
