IBM Support

Configuration in limits.conf does not work in Redhat 7

Question & Answer


Question

Why configuration in limits.conf does not work in Redhat 7

Answer

Using limits.conf, you can limit how many resources various users and groups are allocated. However /etc/security/limits.conf does not work if systemd exists (it exists most of the time in Redhat 7). The files /etc/systemd/system.conf, /etc/systemd/user.conf, and /etc/systemd/<systemd_unit>/override.conf would control the limit. See systemd-system.conf man page for details.

[{"Product":{"code":"SSETD4","label":"Platform LSF"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF016","label":"Linux"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1026780