Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

--max-memory-per-user --max-memory-for-user ? #76

@shambu2k

Description

@shambu2k

🐞 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
--max-memory-for-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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions