6 ms·
I didn't go into the details, because, well, that was more a side aspect of the blogpost. Technically you're right. However how you're setting these things dep
by hannob 9y ago
I didn't go into the details, because, well, that was more a side aspect of the blogpost.
Technically you're right. However how you're setting these things depends on your needs. Let's assume you have a server where several people develop software on. You may want to allow them to create core dumps for debugging purposes. Whether you set a hard or soft limit thus depends on your use case.
I'd say usually setting a soft limit is good enough. Yes, this means users can lift the limit, however if they play with the ulimit coredump setting I assume they know what a coredump is, thus it should be okay.
- cuckcuckspruce 9y ago>Let's assume you have a server where several people develop software on. You may want to allow them to create core dumps for debugging purposes. Then set the hard core size limit for the user you're deploying as (you don't deploy as your development user, right?) and then set the soft limit for everyone else.
- cpantoga 9y agoFair enough, I just wanted to point out the difference between soft and hard limits.