Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137194 - sys-apps/watchdog-5.2.5_p1 interval time 50% longer than "interval" setting in watchdog.conf
Summary: sys-apps/watchdog-5.2.5_p1 interval time 50% longer than "interval" setting i...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Henrik Brix Andersen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-18 11:43 UTC by sfp-a7x
Modified: 2006-07-04 09:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sfp-a7x 2006-06-18 11:43:03 UTC
watchdog's actual interval between checks is 50% longer than the "interval" setting in /etc/watchdog.conf.

In my watchdog.conf I have "interval = 10" and "logtick = 60".  This should mean that watchdog checks every 10 seconds and logs every 60*10 = 600 seconds = 10 minutes.  However, this is what I get in my logs:

Jun 18 13:23:29 watchdog[8321]: still alive after 600 seconds = 60 interval(s)
Jun 18 13:38:32 watchdog[8321]: still alive after 1200 seconds = 120 interval(s)

Notice that 15 minutes are passing between log entries.  If I set "interval" to 15 seconds and keep logtick at 60, it logs every 22.5 minutes instead of 15 minutes.

I do not know if this problem exists in previous versions -- this latest version fixed verbose mode (-v) for me, so I am only now able to watch my logs for how often watchdog cycles.
Comment 1 Henrik Brix Andersen 2006-07-04 09:28:13 UTC
Please report this issue upstream.