From: Matthew W. <mat...@us...> - 2006-12-10 17:27:21
|
Jim Duda wrote: > This is somewhat of a continuation of thread on Internet_Weather. I've > been finding that mh is crashing/hanging quite often. Many times, the > last thing I see in my logs file is the analyze_rrd_rain trigger event. > To make sure that &analyze_rrd_rain in mh/code/common/weather_rrd_update.pl isn't the problem, add a return to the start of this subroutine. It could simply be that as analyze_rrd_rain is run every 10 minutes, it's log message coincidentally happens to be there before your issues. Of course, there are known issues with the rrd stuff, so you may be running into a bug. You should see 4 log lines each time analyze_rrd_rain is run, like in the following example. Do you see all 4 lines before the crash? 2006-12-09 03:10:00 Running trigger code for: update rain totals from RRD database 2006-12-09 03:10:00 analyze_rrd_rain: updating $Weather{RainLast{x}Hours} 2006-12-09 03:10:00 analyze_rrd_rain: complete 2006-12-09 03:10:00 Finished running trigger code for: update rain totals from RRD database Matt |