3 ms·
Wow, I'll remember this the next time someone tells me memory allocations can't fail. Seems like a great design overall, but I'm not sure how I feel about the
by btrask 11y ago
Wow, I'll remember this the next time someone tells me memory allocations can't fail.
Seems like a great design overall, but I'm not sure how I feel about the fixed 512MB limit. That's too high in almost all cases, and too low for a few exceptions (e.g. browsers). Not that I have any suggestions for how to do it better, while still being reliable/predictable.
- anjbe 11y agoThe limit is configurable, and is also set per login class. System daemons run with lower limits. If you create a user while installing, it’s added to the “staff” user class, which has higher limits than users added later—this works pretty well for the common use‐cases of “single user desktop” and “server meant to be accessed by multiple unprivileged users”. Of course, you can always configure these limits in login.conf if your situation doesn’t match up well.