From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 20C081FDC431 for ; Mon, 22 Jul 2024 10:10:59 -0400 (EDT) (envelope-from tsoome@me.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id D52620A0BDA; Mon, 22 Jul 2024 10:10:59 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1721657459; b=ejNOq3629TO72WcjBrsTCjWrrMhJiEywVevgdcpXgbbH/wIAfo 0TGPLVkLVfMASFohSYk9uQgjiHSXLTHqDr1D9lMfKJC+OhtW7s7va6b4f9YtaKvi Ufhetrww0nS0YswuU4C0wzw5BY/+NNsJJgdvIjGIZ4JgyQyomfdkRgFbjlepj5qD +AXwW06SzKMFmR9wYxqkrrxv+6HuyswBLgZ439TBzqkebS/MLI/npl+8n/YRmkZf ej9du6M5uQvwkIIkUzPTctWgji8me+i1ekmU0dVVQbjGvqTSNeW5VP/v3G4kFHmo MbNBZaSDMGmtnYklwmla+IHMWWZn6MNL3wzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:mime-version:subject:date :references:to:in-reply-to:message-id; s=arcseal; t=1721657459; bh=dI+sxgWh/QGA29xXmPtx5Sx5ORqMn7TOV6wk3VqiMc0=; b=TASP1aF+zP91 7c/G9Tliltlz3Hyu/RstcAqoKXLPg8dxodTK6cUYewBGAetDROkL3ky6UrtGTofd PXUCiwwWlxqJW2Ck0RECBWqyEiAc/PT4a9Lnfhz6/iuo5b/AoYI4uMU1DjOTeXv+ ZdUTL9OM3MTomjdhQjojAWIgA2wFlunWaxc1IiaG/gRzxuGFJdDy2+Ujgn62mlzU wTxCUQjfYXePT9sc2/0jTXnqFiAS2EOfezw175ZRLRQ0kwuQNmW2Y8qzqZ2aHqpw T6aF8DoFk1ZaN1Y0k4+wWifs0FchrKtyaeXLCFwAa7JBgZfvY+SPcV/1dHin7GSp F5zh/PHHXQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=declined (Domain declined to participate); dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=iI34mr3L header.a=rsa-sha256 header.s=1a1hai x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=me.com; iprev=pass smtp.remote-ip=17.58.6.40 (pv50p00im-ztdg10011301.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=pv50p00im-ztdg10011301.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=pv50p00im-ztdg10011301.me.com policy.ptr=pv50p00im-ztdg10011301.me.com; x-return-mx=pass header.domain=me.com policy.is_org=yes (MX Records found: mx02.mail.icloud.com,mx01.mail.icloud.com); x-return-mx=pass smtp.domain=me.com policy.is_org=yes (MX Records found: mx02.mail.icloud.com,mx01.mail.icloud.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=declined (Domain declined to participate); dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=iI34mr3L header.a=rsa-sha256 header.s=1a1hai x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=me.com; iprev=pass smtp.remote-ip=17.58.6.40 (pv50p00im-ztdg10011301.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=pv50p00im-ztdg10011301.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=pv50p00im-ztdg10011301.me.com policy.ptr=pv50p00im-ztdg10011301.me.com; x-return-mx=pass header.domain=me.com policy.is_org=yes (MX Records found: mx02.mail.icloud.com,mx01.mail.icloud.com); x-return-mx=pass smtp.domain=me.com policy.is_org=yes (MX Records found: mx02.mail.icloud.com,mx01.mail.icloud.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeeftddrheejgdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhtggguffffhfvjgfkofesrgdtmherhhdtvdenucfh rhhomhepvfhoohhmrghsucfuohhomhgvuceothhsohhomhgvsehmvgdrtghomheqnecugg ftrfgrthhtvghrnhepkefftdefhfetheeuiefhjeeuledvgefhheevieffheevffdtueek kefhffetueffnecuffhomhgrihhnpehorhgrtghlvgdrtghomhdpshhonhhitghlvgdrtg homhdpghgrsghrihgvlhgvsghulhhfohhnrdgtohhmpdgsrghnuggtrghmphdrtghomhdp thhophhitggsohigrdgtohhmnecukfhppedujedrheekrdeirdegtddpudejrdehiedrle druddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudejrdeh kedriedrgedtpdhhvghlohepphhvhedtphdttdhimhdqiihtughguddttdduudeftddurd hmvgdrtghomhdpmhgrihhlfhhrohhmpeeothhsohhomhgvsehmvgdrtghomheqpdhnsggp rhgtphhtthhopedupdhrtghpthhtohepoeguvghvvghlohhpvghrsehlihhsthhsrdhilh hluhhmohhsrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (me.com: 17.58.6.40 is authorized to use 'tsoome@me.com' in 'mfrom' identity (mechanism 'ip4:17.58.0.0/16' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="tsoome@me.com"; helo=pv50p00im-ztdg10011301.me.com; client-ip=17.58.6.40 Received: from pv50p00im-ztdg10011301.me.com (pv50p00im-ztdg10011301.me.com [17.58.6.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for ; Mon, 22 Jul 2024 10:10:58 -0400 (EDT) (envelope-from tsoome@me.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1721657457; bh=dI+sxgWh/QGA29xXmPtx5Sx5ORqMn7TOV6wk3VqiMc0=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=iI34mr3Lm+O8U68yiZlgnFDeyuAY2hV+jyz+TqjIa1xRFYdgBcN53+EqtoOjGJT94 R568QgtdpMCUj9EMOf2P9FM3ZlVlrdjSeKZgpv4ZmRkID66i/kB7cn62Nntxri6Wy0 JWqGeXntIMAS7MvyDj80Sz5UDdQkliIUeIWnIwtoXg6Ffo6eaa2pTbViP8x9xe8l+3 GDhO+f9vVsdKkHJ5tcB43+WLbaJuVP/hpKq8gaFOaTvte2KWWpi8L0dsZnK3OA1Ree IfhxSp095psT4u7ACSANrWXuHkkyOsmh3Ug7kkek+IlS9J+LHn32r6pXjJBd5MtM6C RAIM9u+1X3ZiA== Received: from smtpclient.apple (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10011301.me.com (Postfix) with ESMTPSA id 9963E1803F6 for ; Mon, 22 Jul 2024 14:10:55 +0000 (UTC) From: Toomas Soome Content-Type: multipart/alternative; boundary="Apple-Mail=_B53A0EA0-90AD-4FD3-9169-2F8EC8A84DFA" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: [developer] fmd core dump Date: Mon, 22 Jul 2024 17:10:42 +0300 References: <1321589141.1162.1721656889320@www> To: illumos-developer In-Reply-To: <1321589141.1162.1721656889320@www> Message-Id: X-Mailer: Apple Mail (2.3774.600.62) X-Proofpoint-GUID: wGsrz_pLxkreRqnYCdqXdj-JV999SPaf X-Proofpoint-ORIG-GUID: wGsrz_pLxkreRqnYCdqXdj-JV999SPaf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-22_10,2024-07-22_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 suspectscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 clxscore=1015 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2407220107 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 3c9c406a-4834-11ef-8f14-38cf018c7b06 --Apple-Mail=_B53A0EA0-90AD-4FD3-9169-2F8EC8A84DFA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 22. Jul 2024, at 17:01, Gabriele Bulfon via illumos-developer = wrote: >=20 > Hi, I have a couple of systems, installed in 2012 and updated up to = illumos 2019 (will have to update to 2024 later). > They periodically (every 3-4 months, sometimes earlier) create a core = dump under /var/fm/fmd. > Looks like fmd core dumped, so no email notice is sent, and we end up = filling the rpool. > I found this link: = https://support.oracle.com/knowledge/Sun%20Microsystems/1020519_1.html > So here I attach the pstack of one of the dumps. > =20 > Any idea? >=20 fmd_alloc() does panic when we are out of memory: if (data =3D=3D NULL) fmd_panic("insufficient memory (%u bytes needed)\n", = size); You can try adding some more swap space perhaps? rgds, toomas > Gabriele > =20 > =20 > Sonicle S.r.l. : http://www.sonicle.com > Music: http://www.gabrielebulfon.com > eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets > =20 > illumos / illumos-developer / = see discussions + = participants + = delivery=C2=A0options = Permalink = --Apple-Mail=_B53A0EA0-90AD-4FD3-9169-2F8EC8A84DFA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On 22. Jul 2024, at 17:01, Gabriele Bulfon via = illumos-developer <developer@lists.illumos.org> wrote:

Hi, I have a couple of systems, installed in 2012 and updated up = to illumos 2019 (will have to update to 2024 later).
They periodically (every 3-4 months, = sometimes earlier) create a core dump under /var/fm/fmd.
Looks like fmd core dumped, so no email = notice is sent, and we end up filling the rpool.
So here I = attach the pstack of one of the dumps.
 
Any = idea?


fmd_alloc(= ) does panic when we are out of memory:

    =     if (data =3D=3D = NULL)

                = fmd_panic("insufficient memory (%u bytes needed)\n", size);


You can try adding some more swap space = perhaps?


rgds,
toomas

<core.fmd.dump.pstack.txt= >

= --Apple-Mail=_B53A0EA0-90AD-4FD3-9169-2F8EC8A84DFA--