plainblack.com
Username Password
search
Bookmark and Share

    

"Alarm clock" message from wremonitor

User knowmad
Date 7/29/2010 10:21 pm
Views 481
Rating 0    Rate [
|
]
Previous · Next
User Message
knowmad

Has anyone seen wremonitor.pl output an email such as the following:

----------------------
Subject:   Cron <root@DOMAIN.COM> /data/wre/sbin/wremonitor.pl
Date:     Thu, 29 Jul 2010 00:00:13 -0400 (EDT)
To:     MYADDRESS@knowmad.com
From:     root@DOMAIN.COM (Cron Daemon)

Alarm clock

----------------------

I've grepped the entire /data dir and nothing comes up as a match for 'Alarm clock'.


William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 7/29/2010 11:21 pm [GMT-0400] by knowmad) ---



Back to Top
Rate [
|
]
 
 
bartjol

well, a grep through the rest of my server (debian lenny) gave

Binary file /lib/libc-2.7.so matches
/lib/modules/2.6.18.8.xs5.0.0.10.439/build/include/asm-mips/signal.h:#define SIGALRM            14      /* Alarm clock (POSIX).  */
Binary file /lib/klibc--IOwh0VR87LX1LY95rmnFLc1vuY.so matches
Binary file /lib/libc.so.6 matches

--- (Edited on 1-October-2010 10:20 [GMT+0200] by bartjol) ---



Back to Top
Rate [
|
]
 
 
preaction

wremonitor sets an alarm() (perldoc -f alarm) and handles SIGALRM to time out a check. So "Alarm Clock" should probably be quickly followed in the /data/wre/var/logs/wremonitor.log by a "Something reported down, starting critical monitor" or "Something is down, restarting".

So nothing to worry about, unless you see it all the time.

--- (Edited on 10/4/2010 11:57 am [GMT-0500] by preaction) ---



Back to Top
Rate [
|
]
 
 
perlDreamer

There's no string in the WRE that matches:

ack -i alrm

--- (Edited on 10/4/2010 7:34 pm [GMT-0700] by perlDreamer) ---



Back to Top
Rate [
|
]
 
 
preaction

Hmm... so that means it sets an alarm for no purpose whatsoever.

If only I knew what was trying to be accomplished by that alarm then... we could remove it or we could set up the timeout as mentioned in perldoc -f alarm.

--- (Edited on 10/5/2010 12:24 pm [GMT-0500] by preaction) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved