[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: human-friendly ulimit values?
From: |
Dale R. Worley |
Subject: |
Re: human-friendly ulimit values? |
Date: |
Wed, 28 Feb 2024 22:59:52 -0500 |
Christian Convey <christian.convey@gmail.com> writes:
> When setting memory-size limits via "ulimits", users have to manually
> convert from their intuitive units.
>
> E.g., for limiting virtual memory to 8 gigabytes, the invocation is "ulimit
> -v 8388608", rather than something like "ulimit -v 8gb".
>
> If I were to submit a patch for this, is there any chance of it getting
> accepted?
I can see value in this, but you'd need to show that you had carefully
designed the change. Most importantly, has any other shell implemented
syntax like that, and are you compatible with that? Which values do you
provide alternative syntax for and why? What position does it take on
the "GB" vs. "GiB" business?
Dale