genv
genv copied to clipboard
--max-memory-per-user --max-memory-for-user ?
🐞 Problem genv already supports memory exceeded enforcement, but user can always bypass the limits. A user can override or increase their own limits in their config, bypassing intended quotas.
🎯 Feature Request
Introduce new enforcement flags for genv enforce, analogous to the existing device limits:
--max-memory-per-user
These flags should:
- Set a global upper bound on GPU memory consumption per Linux user.
- Prevent any environment configurations (e.g., via .genv) from exceeding that cap.
- Ensure that the enforcer daemon terminates processes or detaches devices if a user exceeds memory usage limits.