From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 21 11:07:25 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 80153106566C for ; Tue, 21 Sep 2010 11:07:25 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id EEAC88FC0C for ; Tue, 21 Sep 2010 11:07:24 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o8LB77VN034460; Tue, 21 Sep 2010 13:07:22 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o8LB77M3034459; Tue, 21 Sep 2010 13:07:07 +0200 (CEST) (envelope-from olli) Date: Tue, 21 Sep 2010 13:07:07 +0200 (CEST) Message-Id: <201009211107.o8LB77M3034459@lurza.secnetix.de> From: Oliver Fromme To: freebsd-emulation@FreeBSD.ORG, rick-freebsd2009@kiwi-computer.com, barbara.xxx1975@libero.it In-Reply-To: <20100921022504.GA92263@rix.kiwi-computer.com> X-Newsgroups: list.freebsd-emulation User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Tue, 21 Sep 2010 13:07:22 +0200 (CEST) Cc: Subject: Re: nspluginwrapper(-devel) and core dumps X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-emulation@FreeBSD.ORG, rick-freebsd2009@kiwi-computer.com, barbara.xxx1975@libero.it 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 11:07:25 -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 -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "If you aim the gun at your foot and pull the trigger, it's UNIX's job to ensure reliable delivery of the bullet to where you aimed the gun (in this case, Mr. Foot)." -- Terry Lambert, FreeBSD-hackers mailing list.