Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 23:19:11 +0200 (CEST)
From:      Barbara <barbara.xxx1975@libero.it>
To:        <freebsd-emulation@FreeBSD.ORG>
Subject:   nspluginwrapper(-devel) and core dumps
Message-ID:  <17218941.4570191285103951897.JavaMail.defaultUser@defaultHost>

next in thread | raw e-mail | index | archive | help


>Rick C. Petty wrote:
> > Barbara <barbara.xxx1975@libero.it> wrote:
> > > 
> > > I tried adding "-c 1" to the ulimit line, but I got (note -m):
> > >     $ du -m npviewer.bin.core 
> > >     1126    npviewer.bin.core
> > > 
> > > Do you thing that changing the value for -s can help?
> > > Which value would you suggest to try?
> > 
> > Hmm, have you tried "-c 0" instead?  Another place to fix it system-wide 
is
> > in /etc/login.conf.  I've sometimes changed or added the line:
> >         :coredumpsize=0:\
> > 
> > Of course that only affects subsequent logins, not current ones.  I 
believe
> > in either case if you set it to zero, you get no core dump file at all.
>
>If you don't need coredumps at all, you can easily disable
>them globally (i.e. system-wide) with this sysctl command
>(as root).  It takes effect immediately.
>
># sysctl kern.coredump=0
>
>To do that automatically every time the machine boots, add
>this line to /etc/sysctl.conf:
>
>kern.coredump=0
>
>Best regards
>   Oliver

Thank you Oliver, but as I explained I don't want to disable coredump.
I just want to do it for npviewer, because I don't know how useful they are 
and because they are VERY big.

Cheers
Barbara




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17218941.4570191285103951897.JavaMail.defaultUser>