# What situation does watchdog cover on Managed Server?

**URL:** <https://community.dynatrace.com/t/what-situation-does-watchdog-cover-on-managed-server/20664>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed\
**Created:** [October 27, 2020, 12:51am UTC](https://community.dynatrace.com/t/what-situation-does-watchdog-cover-on-managed-server/20664 "2020-10-27T00:51:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yohnishi](https://avatars.discourse-cdn.com/v4/letter/y/258eb7/32.png) [@yohnishi](https://community.dynatrace.com/u/yohnishi)\
**Post date:** [October 27, 2020, 12:51am UTC](https://community.dynatrace.com/t/what-situation-does-watchdog-cover-on-managed-server/20664/1 "2020-10-27T00:51:02Z")

</div>

Hi,

We are installing and testing the Managed Server for Production environment.

So we are killing some processes in the Managed Server in anticipation of a process failure, but the watchdog doesn’t seem to be working and the process is not being restarted. Is this a specification?

We killed the following process with “kill -9 \<PID\>”, based on the PIDs available in “dynatrace.sh status”.

- activegate

- nginx

- elasticsearch

Under what situations would nodekeeper or watchdog work to restart the process and keep it healthy?

Best Regards,  
Yasuo Ohnishi

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 27, 2020, 10:27am UTC](https://community.dynatrace.com/t/what-situation-does-watchdog-cover-on-managed-server/20664/2 "2020-10-27T10:27:10Z")

</div>

Watchdog checks every 1 minute if its main process (Cassandra, Elasticsearch, Security-gateway (ActiveGate), Nodekeeper) is running. If it is not, then the restarts is triggered.

Nginx is a bit different here. It consists of a “primary” process and “secondary” processes.&nbsp;Primary is kind like a watchdog here. If you kill the&nbsp;primary process, nothing will happen and it won’t start automatically. If you kill a secondary process, a new one should be spawned by the&nbsp;primary process. Anyway, we haven’t observed in our production systems&nbsp;primary process crashes.

I’m not sure what specifically test you have executed, but it’s important to understand what processes you kill to know the expectation.

What is more, you should get some alerting visible in CMC → Events, if a processes is down.

---

<div class="post-metadata">

**Author:** ![yohnishi](https://avatars.discourse-cdn.com/v4/letter/y/258eb7/32.png) [@yohnishi](https://community.dynatrace.com/u/yohnishi)\
**Post date:** [October 27, 2020, 2:13pm UTC](https://community.dynatrace.com/t/what-situation-does-watchdog-cover-on-managed-server/20664/3 "2020-10-27T14:13:56Z")

</div>

Hi, Radoslaw-san,

Thank you for your replay.

I killed the process of the “Main PID”, so I think I killed the watchdog side. I’ll check again.

Best Regards,  
Yasuo Ohnishi
