[PVE-User] Watchdog in containers?
Marco Gaiarin
gaio at sv.lnf.it
Fri Jan 10 15:39:47 CET 2020
> Clearly, i've to find the guilty process (probably it is Samba) but in
> the meantime... there's some sort of 'watchdog' for containers?
> I can safely install 'watchdog' on containers, disable /dev/watchdog
> and configure to do a reboot if load go too high? eg:
> max-load-1 = 24
> max-load-5 = 18
> max-load-15 = 12
I reply to myself. Yes, you can install 'watchdog' on containers and
use it, but you have to take care the fact that load are 'host load'
and there's no a real 'iron' reboot, so container with:
max-load-15 = 12
with a load-15 of 13 reboot, but very probably when they come back, load-15
is still 13. ;-)
I've had a container that do two reboots in a row.
Now i'm testing memory allocation in watchdog (load go high because of
memory exaustion), but indeed with some glitches use of watchdog in
container is doable. ;)
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the pve-user
mailing list