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 == NULL)

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


You can try adding some more swap space perhaps?


rgds,
toomas

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