From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 21 21:19:13 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF88A1065670 for ; Tue, 21 Sep 2010 21:19:13 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out1.libero.it (cp-out1.libero.it [212.52.84.101]) by mx1.freebsd.org (Postfix) with ESMTP id 88BFA8FC0A for ; Tue, 21 Sep 2010 21:19:13 +0000 (UTC) Received: from wmail54 (172.31.0.245) by cp-out1.libero.it (8.5.115) id 4AB2342314BE45C4; Tue, 21 Sep 2010 23:19:11 +0200 Message-ID: <17218941.4570191285103951897.JavaMail.defaultUser@defaultHost> Date: Tue, 21 Sep 2010 23:19:11 +0200 (CEST) From: Barbara To: MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 87.3.232.36 Cc: Subject: nspluginwrapper(-devel) and core dumps X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Barbara List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 21:19:14 -0000 >Rick C. Petty wrote: > > Barbara 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