I did this on my boxes, but it does not help.
Again a device is _pingable_, but all daemons are
not responding anymore:
So either:
- watchdog was killed and this just disabled the watchdog timer altogether.
- watchdog was not killed for some reason (e.g. because the kernel
considered that it
would'nt it be senseful to adjust START=01 to
/etc/init.d/watchdog
and place something like this?
pid=$( pidof watchdog )
echo 1000 /proc/$pid/oom_score_adj
yeah, could do this.
I did this on my boxes, but it does not help.
Again a device is _pingable_, but all daemons are
not
On Thu, 29 Dec 2011 06:52:18 +
Bastian Bittorf bitt...@bluebottle.com wrote:
A better way would be IMHO to use a cron.minutely which fire's
an ioctl to /dev/watchdog. if crond is removed, the device
should
reboot. so i need a way to invoke an ioctl from shellscript.
I
Hello Bastian,
On 12/28/11 11:39, Bastian Bittorf wrote:
hi devs,
for having a better way not to lost a router i like to
use /dev/watchdog from a shell script. the reason is this:
Sometimes the oom-killer removes important tasks like
ssh + httpd + routing + cron but leaves the
On 28.12.2011 12:21, Florian Fainelli wrote:
I do not think this will work better. If crond is not killed by the OOM
killer, then the watchdog keeps being kept alive, and you end up in the
same situation. Rather I think we need some kind of software monitoring
by a daemon like upstart which
On Wed, 28 Dec 2011 10:39:33 +
Bastian Bittorf bitt...@bluebottle.com wrote:
for having a better way not to lost a router i like to
use /dev/watchdog from a shell script. the reason is this:
Sometimes the oom-killer removes important tasks like
ssh + httpd + routing + cron but leaves
I think jow wrote something like this already, see:
http://luci.subsignal.org/trac/browser/luci/trunk/contrib/package/freifunk-watchdog
Interesting, but has the same design-issue like already mentioned:
if the oom-killer is working it will likely kill the freifunk-watchdog and
crond,
so to
A better way would be IMHO to use a cron.minutely which fire's
an ioctl to /dev/watchdog. if crond is removed, the device
should
reboot. so i need a way to invoke an ioctl from shellscript.
I think this doesn't work.
in our special case it would work, because all daemon-checking
is done