From owner-freebsd-questions@freebsd.org Fri Jun 29 15:40:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E95F1EFB6DE for ; Fri, 29 Jun 2018 15:40:25 +0000 (UTC) (envelope-from srs0=vqyv=jp=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 7E89B8F808 for ; Fri, 29 Jun 2018 15:40:25 +0000 (UTC) (envelope-from srs0=vqyv=jp=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 41HLSf29wjz2fjSV for ; Fri, 29 Jun 2018 08:40:18 -0700 (PDT) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Signal 6 Message-Id: <0D66C7A3-EBE6-475C-8360-CAFEAEA4D328@mail.sermon-archive.info> Date: Fri, 29 Jun 2018 08:40:17 -0700 To: freebsd-questions X-Mailer: Apple Mail (2.3445.8.2) X-Virus-Scanned: clamav-milter 0.99.4 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 15:40:26 -0000 I have a daemon process that runs forever (almost). Something is = killing it with a signal 6, but no core dump is done. If I manually = kill it with kill -6, then the log message shows core dumped and a core = file is created. The process has no reference to SIG_ABRT, so I suspect = the kernel is doing the kill and is overriding the core dump. I have = previously encountered a similar issue where swap space was running out = and the kernel killed this process without a core dump. In that case = there were quite a few messages logged about swap space issues before = the process was killed. There are no swap messages logged this time. /etc/sysctl.conf contains: kern.sugid_coredump=3D1 kern.corefile=3D/crash/%N.core /crash is a directory in the root file system. Other than swap issues, when would the kernel kill a process without a = core dump? -- Doug