Tomcat auto restart when it crash on VM | Watchdog

Опубликовано: 11 Август 2026
на канале: Notjustrestart
227
4

#devops #sre #watchdogs #bash #script #tomcat #automation #autorestart

Watch dog script will monitor the tomcat and it restart if it crashed .

In addition when tomcat cpu/mem is above 75% and connection count is above 500. It will restart automatically.


The watchdog scripts run every few minutes from cron . Their function is to monitor their corresponding management component, and to restart it if necessary. You can add watchdog scripts for the Channel Manager programs to the crontab for the pvuser on each host on which you installed a DataChannel component.


https://github.com/testingaws90/tomca...