[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AssertException: at xmalloc.c:110 aborting..

From: Chris McKenzie
Subject: AssertException: at xmalloc.c:110 aborting..
Date: Wed, 31 Aug 2005 17:33:48 -0400

Hi everyone.

I've been playing with monit for a bit now, and have it monitoring a perl based daemon I wrote. I've got a monit rc for that process that alos performs a file check on the daemon's config file for changes since the last poll, and restarts the process.

What I'm finding is monit will restart the process fine, but throws a fatal exception and never recovers as a result.

I'm using Monit 4.5.1 for Linux (RedHat Enterprise 3.0), after the file change occurs (which I perform manually) monit will attempt the process restart and exit with dump the following:

AssertException: at xmalloc.c:110 aborting..

Here's the log:

Aug 31 11:50:16 chrisclub monit[19298]: Starting monit HTTP server at [localhost:2812]
Aug 31 11:50:16 chrisclub monit[19298]: monit HTTP server started
Aug 31 11:50:16 chrisclub monit: monit startup succeeded
Aug 31 11:52:16 chrisclub monit[19298]: 'proc1_updater_config' checksum was changed for /etc/proc1/config Aug 31 11:52:16 chrisclub monit[19298]: 'proc1_updater_config' trying to restart
Aug 31 11:52:16 chrisclub monit[19298]: 'proc1' stop: /etc/init.d/proc1
Aug 31 11:52:17 chrisclub proc1: shutdown succeeded
Aug 31 11:52:18 chrisclub monit[19298]: 'proc1' start: /etc/init.d/proc1
Aug 31 11:52:18 chrisclub monit[19298]: AssertException: at xmalloc.c:110 aborting..
Aug 31 11:52:19 chrisclub proc1: startup succeeded

Here's my rc entry:

check process proc1
  with pidfile /var/run/
  start program = "/etc/init.d/proc1 start"
  stop  program = "/etc/init.d/proc1 stop"
  if 3 restarts within 3 cycles then timeout
  depends on proc1_updater_config

check file proc1_updater_config path /etc/proc1/config
  if changed sha1 checksum
     then restart

I've also tried setting the check file to exec instead of restart for "/etc/init.d/proc1 restart" with no luck.

If I remove the file check and test killing proc1, monit will restart it fine. With the file check, it dies.

Any ideas or work arounds?! Thanks!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]