Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209843
| From | Reco <recoverym4n@enotuniq.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to disable automatic core dumps in Debian 9? |
| Date | 2019-06-12 16:40 +0200 |
| Message-ID | <y8czT-8sa-5@gated-at.bofh.it> (permalink) |
| References | <y883g-5Is-5@gated-at.bofh.it> <y8a53-6St-1@gated-at.bofh.it> <y8cgx-8lB-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi. On Wed, Jun 12, 2019 at 05:14:09PM +0300, Martin T wrote: > Reco, > > thanks for reply! > > > rgrep core /etc/security/limits* > > Would be more correct. Files at /etc/security/limits.d/ can override limits.conf. > > Indeed. Output of "rgrep core /etc/security/limits*" is following: > > $ rgrep core /etc/security/limits* > /etc/security/limits.conf:# - core - limits the core file size (KB) > /etc/security/limits.conf:* hard core 0 > /etc/security/limits.conf:root hard core 0 > /etc/security/limits.conf:#root hard core 100000 > $ > > So in short, the configuration in my initial e-mail was enough to > disable core dumps? I prefer to do it this way, but that's a matter of a personal preference (note that it works for root too): * - core 0 Overriding kernel.core_pattern is way too limiting for me. I need those core files in certain cases (but live happily without them by default). > After reading the "man 5 core", I also set the "kernel.core_uses_pid" to 0. Zero is a default value for this in Debian anyway. So - can't hurt, but I doubt it'll change something for you. Reco
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
How to disable automatic core dumps in Debian 9? Martin T <m4rtntns@gmail.com> - 2019-06-12 11:50 +0200
Re: How to disable automatic core dumps in Debian 9? Reco <recoverym4n@enotuniq.net> - 2019-06-12 14:00 +0200
Re: How to disable automatic core dumps in Debian 9? Martin T <m4rtntns@gmail.com> - 2019-06-12 16:20 +0200
Re: How to disable automatic core dumps in Debian 9? Reco <recoverym4n@enotuniq.net> - 2019-06-12 16:40 +0200
csiph-web