Date: Sat, 28 Mar 2020 19:53:32 +0100 From: Andrea Brancatelli <abrancatelli@schema31.it> To: freebsd-stable@freebsd.org Subject: BSNMPD crashing Message-ID: <3618d2f5680d312235ee77fb0c570ae2@schema31.it>
index | next in thread | raw e-mail
Hello everybody, I'm not very sure this is the correct place to ask, in case it's not please point me to the correct place. >From time to time my BSNMPD instance randomly crash without any apparent reason. It happens on different machines and different FreeBSD releases. It happened tonight as well on one of our servers. Usually I just delete the bsnpmd.core file and restart the service, but I thought there may be someone interested in looking at the core to understand what the reason may be? The bsnmpd daemon is in a private network so malicious stuff is not the case, and is used by a central Cacti instance to do usual graphs to monitor cpus, disks, memory, lan cards and whatever. The servers usually have high uptimes and quite solid network traffic. The core file is 1.3GB with seems pretty a lot to me, so maybe it died because it's leaking memory? If anyone is interested please feel free to contact me otherwise I'll just delete it :-) -- Andrea Brancatelli From owner-freebsd-stable@freebsd.org Sat Mar 28 21:28:48 2020 Return-Path: <owner-freebsd-stable@freebsd.org> Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F40E7266B3D for <freebsd-stable@mailman.nyi.freebsd.org>; Sat, 28 Mar 2020 21:28:47 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48qWzp6lNNz43lk for <freebsd-stable@freebsd.org>; Sat, 28 Mar 2020 21:28:22 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pj1-x1044.google.com with SMTP id w9so5668093pjh.1 for <freebsd-stable@freebsd.org>; Sat, 28 Mar 2020 14:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uG2+Fm5uOrz2cQHtIRoT9AqX9nbuZUUqyKSrWkWpXJc=; b=pImAVgDvkG1Sn1AJcmXWkI1lF5d+6uUASyB+MZ9fPPbbwH2L362MtVhrQlK3h2/j7x phXmpv2Fjos0D9vbdC4C9HwwTMDeHXKrpBDgbuDwh3wP1qQONf0CFQftnmEv/7+lZUr5 HxbFFToNkyGy0qkJ4gczJzXsOJoVH7wll1aTWF/t1qFPKuZv3JUqaU/dI9DKMFE2Dk9T /70ta1weu2w/kWiiMvnBltoZSohErmp3JlSD3ihDFKyoWxSPbXPBaaNaWwxurlaIhUhC KnP5VWy9vMTONMQ1DwiurRYwjifdG1uyZMp4joCvzQmsagTkkBSHudrmZYzIbacjHGSv 57oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=uG2+Fm5uOrz2cQHtIRoT9AqX9nbuZUUqyKSrWkWpXJc=; b=L3lO1VcKA+AHLno3t6fsN7EV26wRI2iHWHwZXu9PRXo6EW9P+kOTrzAK6D5ABoTQZe 2Fq3rdeYjTWf/WjxarjFARV1za2oIOlXwU6gxrwiXsz7b/ZGds83CgrR4EXwn/QzvKHM /+gWgzLg7rPg3PmoXUhaSCmTJnVmjfzRQpV30kl2TxYuFgpdaFm+1oFtlMW9PxX7BMYc y81UJDGfOdXOO7LqDl6aYMZzA2fkrFadfV8aDyLpL45VRwo3GE7JyitbqfN94jIMe8Z8 1hLYxxeKYdAZxxBpeF9ANCDsOrntKB+tlYzrfWY2rfvVcpB312LW7Ur0NABwdXK1lO20 nJUA== X-Gm-Message-State: ANhLgQ05Z5oSciEaCso+fKTKfly3l/0PBM2LlcBB/gOMDpALUgi9R1aV eBdXbl7nJoP80QFxSO6hyOeW8JJR X-Google-Smtp-Source: ADFU+vuw8Ie47VvGqEyzrr5qxmLcLfYt868vV3PWNrB36VwmooKW8XQeFuX4tfDCfK3IRg5S2BKkGQ== X-Received: by 2002:a17:90a:33d1:: with SMTP id n75mr6828597pjb.167.1585430893039; Sat, 28 Mar 2020 14:28:13 -0700 (PDT) Received: from [192.168.1.103] (180-150-68-130.b49644.syd.nbn.aussiebb.net. [180.150.68.130]) by smtp.gmail.com with ESMTPSA id y19sm4157033pfe.9.2020.03.28.14.28.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 28 Mar 2020 14:28:12 -0700 (PDT) Sender: Kubilay Kocak <koobs.freebsd@gmail.com> Reply-To: koobs@FreeBSD.org Subject: Re: BSNMPD crashing To: Andrea Brancatelli <abrancatelli@schema31.it>, freebsd-stable@freebsd.org References: <3618d2f5680d312235ee77fb0c570ae2@schema31.it> From: Kubilay Kocak <koobs@FreeBSD.org> Message-ID: <add85bd0-3ad5-e4ad-7db0-eb8d2de08e64@FreeBSD.org> Date: Sun, 29 Mar 2020 08:28:09 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Thunderbird/75.0 MIME-Version: 1.0 In-Reply-To: <3618d2f5680d312235ee77fb0c570ae2@schema31.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48qWzp6lNNz43lk X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pImAVgDv; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::1044 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-0.88 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; HFILTER_HELO_IP_A(1.00)[mail-pj1-x1044.google.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; HFILTER_HELO_NORES_A_OR_MX(0.30)[mail-pj1-x1044.google.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.4.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 28 Mar 2020 21:28:48 -0000 On 29/03/2020 5:53 am, Andrea Brancatelli via freebsd-stable wrote: > Hello everybody, > > I'm not very sure this is the correct place to ask, in case it's not > please point me to the correct place. If the systems are running *-STABLE branches, perhaps, but freebsd-net may be better > From time to time my BSNMPD instance randomly crash without any apparent > reason. > > It happens on different machines and different FreeBSD releases. It > happened tonight as well on one of our servers. Usually I just delete > the bsnpmd.core file and restart the service, but I thought there may be > someone interested in looking at the core to understand what the reason > may be? > > The bsnmpd daemon is in a private network so malicious stuff is not the > case, and is used by a central Cacti instance to do usual graphs to > monitor cpus, disks, memory, lan cards and whatever. > > The servers usually have high uptimes and quite solid network traffic. > The core file is 1.3GB with seems pretty a lot to me, so maybe it died > because it's leaking memory? > > If anyone is interested please feel free to contact me otherwise I'll > just delete it :-) > Hi Andrea, Can you obtain a backtrace? If so, please include it as an attachment Can you post your snmp config (sanitized if necessary) ? Do any of these look relevant? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221487 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233431 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=152259help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3618d2f5680d312235ee77fb0c570ae2>
