Re: Monit crash on OpenBSD 7.6

Timo Pallach <[email protected]> Wed, 15 Jan 2025 03:52:26 +0100
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------AE4XxJSKyyzyA0RnJ7RAU5SU
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Andreas,

I am running monit on 17 OpenBSD hosts (arm64 and amd64) but I do not see this message in my /var/log/messages.

The Mem_calloc seams to be unable to allocate memory.

Did you check if there is enough free memory on the OpenBSD system.

Regards,

Timo.

On 14/01/2025 10:02, Andreas Menge wrote:
> Hello everyone,
>
> I have Monit 5.33.0 on OpenBSD 7.6. It crashes at least once per week with this message in /var/log/messages:
>
> AssertException: count > 0  raised in Mem_calloc at src/system/Mem.c:61
>
> Does anyone know what might be the issue? Somebody also running monit on OpenBSD?
>
> Thanks in advance.
>
> -Andreas
--------------AE4XxJSKyyzyA0RnJ7RAU5SU
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Andreas,</p>
    <p>I am running monit on 17 OpenBSD hosts (arm64 and amd64) but I 
      do not see this message in my /var/log/messages.</p>
    <p>The <span style="white-space: pre-wrap">Mem_calloc seams to be unable to allocate memory.</span></p>
    <p><span style="white-space: pre-wrap">Did you check if there is enough free memory on the OpenBSD system.</span></p>
    <p><span style="white-space: pre-wrap">Regards,</span></p>
    <p><span style="white-space: pre-wrap">Timo.</span></p>
    <p><span style="white-space: pre-wrap">
</span></p>
    <p> </p>
    <div class="moz-cite-prefix">On 14/01/2025 10:02, Andreas Menge
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <pre class="moz-quote-pre" wrap="">Hello everyone,

I have Monit 5.33.0 on OpenBSD 7.6. It crashes at least once per week with this message in /var/log/messages:

AssertException: count &gt; 0  raised in Mem_calloc at src/system/Mem.c:61

Does anyone know what might be the issue? Somebody also running monit on OpenBSD?

Thanks in advance.

-Andreas </pre>
    </blockquote>
  </body>
</html>

--------------AE4XxJSKyyzyA0RnJ7RAU5SU--