On Sat, Apr 29, 2017 at 05:28:33PM +0200, Sebastien Marie wrote:
> On Sat, Apr 29, 2017 at 11:21:25PM +0900, Bryan Linton wrote:
> > On 2017-04-29 15:48:51, Ingo Schwarze <schwa...@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
> 

That's great. I was traveling a few months ago and I had a box of
hard drives I was using stolen. Temporarily, I really need to not have
any of those huge core files eating up space.
Saddest thing is I know they probably just opened the box and threw them
away.

Chris Bennett


Reply via email to