Better HN
topnewbestaskshowjobs
Log inSign up

cpantoga

4 karma · joined Jun 16, 2017 (9y ago) · 2 submissions

Submissions

comment 9y ago · link · parent

Fair enough, I just wanted to point out the difference between soft and hard limits.

comment 9y ago · link · parent

I just want to point out that the article says you should disable coredumps by putting "* soft core 0" in your limits.conf file. You should actually put "* hard core 0" in your limits.conf file. The soft limit is user configurable, meaning applications that have code which changes the ulimit for coredumps will still create coredumps. You can test this yourself by typing "ulimit -c unlimited" in your terminal -- you will not be able to create coredumps of unlimited size. Limits have a soft and hard value. The soft value is the user-configurable max. Meaning, users can reconfigure this. The hard value is the system limit, meaning if you set the hard value to 0 no user will be able to change it.