From owner-freebsd-questions@FreeBSD.ORG Fri Jun 18 19:34:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 004E2106564A for ; Fri, 18 Jun 2010 19:34:06 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id CEDC88FC14 for ; Fri, 18 Jun 2010 19:34:06 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OPhKD-000PZU-7z; Fri, 18 Jun 2010 15:34:04 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 3D0D4417C0A6; Fri, 18 Jun 2010 15:34:01 -0400 (EDT) Message-ID: <4C1BCA27.5090702@FreeBSD.org> Date: Fri, 18 Jun 2010 15:33:59 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Tim Daneliuk References: <4C1BB9D9.10704@tundraware.com> <4C1BBA99.9010705@gmail.com> <4C1BBB4E.8080907@tundraware.com> <4C1BBC19.8030007@gmail.com> <4C1BC075.4030903@tundraware.com> <4C1BC15A.5020301@tundraware.com> <4C1BC454.4060505@infracaninophile.co.uk> <4C1BC73B.1030400@tundraware.com> In-Reply-To: <4C1BC73B.1030400@tundraware.com> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) Cc: FreeBSD Mailing List Subject: Re: Followup On Perl Dumping Core X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2010 19:34:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tim Daneliuk wrote: > On 6/18/2010 2:09 PM, Matthew Seaman wrote: >> On 18/06/2010 19:56:26, Tim Daneliuk wrote: >>> I should mention that I don't think it is actually "dumping core". >>> It's just reporting the problem in /var/log/messages... >> You'll only get a core file if the current working directory of the >> process is writable by the process. Normally. There are various >> sysctls you can use to affect core-dumping: >> >> kern.corefile: process corefile name format string >> kern.coredump: Enable/Disable coredumps >> kern.sugid_coredump: Enable coredumping set user/group ID processes >> >> See core(5). It is possible to set kern.corefile to an absolute path -- >> eg /tmp/%N.core -- to always record corefiles in a writable directory. >> Also, look at setrlimit values for the maximum size core file permitted. >> >> Cheers, >> >> Matthew >> > > > Well ... I've figured out what's causing it, but I still don't know why. This > is caused when '/usr/local/etc/rc.d/mailscanner restart' is issued from a script > I run to reset the mail system. However, it does not happen every time ... go > figure. Hi Tim, I apologize if you mentioned this before, but are you using Spamassassin with mailscanner? This message describes a problem that sounds very similar to yours, and there's a solution included: http://old.nabble.com/Re%3A-amavisd---exited-on-signal-11---FreeBSD-8-with-Perl-5.10-p28627858.html Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMG8on0sRouByUApARAmSwAKCnYeOhGo4OOKFGr2irxGAEJadVewCgh4aC 8XQhVF7fINhH5ADDOjNhTCg= =FriQ -----END PGP SIGNATURE-----