Why Do the Modifications to /etc/security/limits.conf Not Take Effect After the ECS Restarts?
Symptom
Modifications to the /etc/security/limits.conf file become invalid after the ECS restarts.
Possible Causes
In Linux, file /etc/security/limits.conf and directory /etc/security/limits.d/ are used to limit the amount of various system resources available to a process. The configuration files in the /etc/security/limits.d/ directory take priority over the settings in the /etc/security/limits.conf file.
If the modifications to file /etc/security/limits.conf become invalid after the ECS restarts, the modifications may be overwritten by the corresponding configurations in files located in directory etc/security/limits.d/.
Solution
Modify the files located in directory etc/security/limits.d/ or modify file /etc/security/limits.conf.
If the modifications to file /etc/security/limits.conf do not take effect, check the corresponding configurations in files located in the etc/security/limits.d/ directory.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot