From owner-freebsd-questions@freebsd.org Fri Jun 29 15:56:45 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 D38A1EFC376 for ; Fri, 29 Jun 2018 15:56:44 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com [IPv6:2607:f8b0:400d:c0d::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79AA470315 for ; Fri, 29 Jun 2018 15:56:44 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qt0-x244.google.com with SMTP id z6-v6so8245004qti.2 for ; Fri, 29 Jun 2018 08:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=472skaBKpY/NaKybwEokeZ/Mt/QG7OoA4H3FyAIVomk=; b=y37ibioaYMxn0L1j3uL+EvJjwd9i432bBKz4gHO8TNZZiZEJkZc0ci8ATK19GC6zFd c9BkHQqlKikMJ04ZbCiyYfkRqJiJr1aB+O+T9/9DxR29/a27Ya3DqnhM1PYAfNC3Voal olIF9UVsCw92Ohjf2qNVCFBwVuQqwWQpnzsypeGW/Ygs8SzYgatWScMfXsTsr4loE8bS EzkpyGCkleezEca4A6EnyV/dyLI4FO8L37st3p51aukOWbWpXddqAp21T13jAY0ZCUs7 zqqK+nnkHvRRGxOigDtmgRiJhkOaeeAMR22Z+IZjJDYWCBaP3moSYr1UXhKYF/MF0ywB CjwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=472skaBKpY/NaKybwEokeZ/Mt/QG7OoA4H3FyAIVomk=; b=iFH3/VIizde09aR6bNJifqBKRYVE4YsqNZq+sxEcRM1n/9hQ3ZIsFbumQDHo+W1dOr QnnZY+zcv/OKr8xZ5XdPNJb3UuDSqMe45wT91jJhma/T6/99bT6aGb6iLCxRYEO/gWUm KE5KYSiT2WBLi/lE++iGpxhJs5xd2Vn1O6OTXnkSjaP9t0NVy0yBHRFyJbQdXNgnlkPu VX5bc2Ks3/eheOf7mWjam0eGODGCnzgFBLfvw83G9KQ+5Psr1RBV/8dAxmJj+a9Kst+f JoY6VDQbAxcX59d2ABDN1hP1WEJIi8B9pAyqqenZVTwM9LL8BQC59uZsaqJoPbTBpHTa Dj2g== X-Gm-Message-State: APt69E1a9UozoHWKXzRtffNv/emEfqB/bG39vwV0+yNfC2n8EP5iAR17 sOA20x1+pNImZsnfXkYIZql2xrYqJ7ix95lSw66nbk9r X-Google-Smtp-Source: AAOMgpef65tKQzPoVlQPwOMIzPI1KctyciBc8VusNoSxhY0oVBry4XS4+Qp6HaY72FCEgC2aqnkke0Btd38gYshMN5U= X-Received: by 2002:ac8:2bc7:: with SMTP id n7-v6mr14406423qtn.293.1530287803770; Fri, 29 Jun 2018 08:56:43 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac8:297d:0:0:0:0:0 with HTTP; Fri, 29 Jun 2018 08:56:43 -0700 (PDT) In-Reply-To: <0D66C7A3-EBE6-475C-8360-CAFEAEA4D328@mail.sermon-archive.info> References: <0D66C7A3-EBE6-475C-8360-CAFEAEA4D328@mail.sermon-archive.info> From: Michael Sierchio Date: Fri, 29 Jun 2018 08:56:43 -0700 Message-ID: Subject: Re: Signal 6 To: Doug Hardie Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 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:56:45 -0000 Are there process limits? malloc() will call abort() if internal structures are munged (e.g., by heap overflow). calling free() on a corrupted pointer does that reliably is the root partition big enough for the dump? =3D M On Fri, Jun 29, 2018 at 8:40 AM, Doug Hardie wrote: > 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 kern= el > 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 kern= el > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > --=20 "Well," Brahma said, "even after ten thousand explanations, a fool is no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata