KB 02082016-001 : failed to map segment from shared object: Cannot allocate memory
Article keyword index
Sympton
If you get the following error while starting core-admin agent or core-admin server (turbulence process), or something similar:
ImportError: /usr/lib64/python2.6/lib-dynload/_hashlib.so: failed to map segment from shared object: Cannot allocate memory
If you already have checked your system have enough memory available, then possible there’s a ulimit configuration problem.
Affected releases
All releases may suffer this problem. It’s not a bug but a system resource configuration problem.
Background
The problem is caused by a system ulimit configuration that is limiting the amount of memory that can be used by the core-admin agent or the core-admin server (turbulence).
Solution
You can run the following commands to see if it solves the problem:
ulimit -m unlimited; ulimit -v unlimited
After that, try to restart the agent to see if the problem is solved.
Long term solution
Upgrade your core-admin packages. Since release rev5010, it is already included a fix to automatically correct this setting when starting the software.
Posted in: Administration, KB, Resource limits
Leave a Comment (0) →