Red Hat Bugzilla – Bug 1009972
[RFE] Utility to control file limits per user basis
Last modified: 2016-04-13 14:41:54 EDT
Description of problem: Currently, there is existing script/utility to control storage per user basis. The admin runs "oo-admin-ctl-user -l $USER --setmaxtrackedstorage $GB" once for each user.
Customer would like to have similar feature to control file limits.
It will be nice to have if we also extend the utility features to include controls of CPU, memory, or processes limits for a particular user.
Has this feature been addressed in OSE 2.x?
The number of files per gear is still only handled by the setting in /etc/openshift/resource_limits.conf. That means it's still Node-wide which tends to mean it will need to be the same for all Nodes in that profile.
That said, we understand this sort of flexibility is desired and as such are building much greater flexibility in to the 3.x codebase. In 3.x the inode limits won't really be needed simply because each container will have their own and won't share with the host system. However, limits like memory, cpu, etc will indeed be controllable per user.