On Sat, Apr 29, 2017 at 11:21:25PM +0900, Bryan Linton wrote:
> On 2017-04-29 15:48:51, Ingo Schwarze <schwarze@usta.de> wrote:
> >
> > Chris Bennett wrote on Sat, Apr 29, 2017 at 07:10:05AM -0500:
> >
> >> Firefox [...] takes a long period to actually finish crashing
> >
> > It dumps core. That takes a long time because firefox tends
> > to waste huge amounts of memory [...]
> >
>
> One hack I've done when I don't care about actually getting or
> using a corefile from large programs is to do the following:
>
> # rm progname.core
> # touch progname.core
> # chflags uchg progname.core
>
> Of course, I'd only recommend doing so if one is absolutely
> certain they don't want a corefile from said program ever again,
> and will remember to unset that flag should they ever change their
> mind.
>
If you want to disable core dump for a program, you could (should ?)
configure your RLIMIT_CORE to 0.
$ ulimit -c 0
$ firefox
--
Sebastien Marie
No comments:
Post a Comment