Bug 1009972

Summary: [RFE] Utility to control file limits per user basis
Product: OpenShift Container Platform Reporter: dchia
Component: RFEAssignee: jofernan
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2.0CC: bleanhar, nicholas_schuetz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-13 18:41:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description dchia 2013-09-19 15:42:08 UTC
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.

Additional info:
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.

Comment 2 nicholas_schuetz 2014-09-22 18:17:09 UTC
Has this feature been addressed in OSE 2.x?

Comment 3 Brenton Leanhardt 2014-10-16 20:39:07 UTC
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.