# KNIME Server - Vanished status

**URL:** <https://forum.knime.com/t/knime-server-vanished-status/79642>\
**Category:** KNIME Server\
**Created:** [May 22, 2024, 7:20am UTC](https://forum.knime.com/t/knime-server-vanished-status/79642 "2024-05-22T07:20:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjkim](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@mjkim](https://forum.knime.com/u/mjkim)\
**Post date:** [May 22, 2024, 7:20am UTC](https://forum.knime.com/t/knime-server-vanished-status/79642/1 "2024-05-22T07:20:32Z")

</div>

Hello,

I have a question about the ‘vanished’ status of the KNIME Server.

I restart the knime-executor service every two weeks to initialize the server memory.  
After restarting, some schedules that were completed as finished are changed to vanished status.

I looked at the ‘KNIME Server Administration Guide’ and there is an option for this,

- com.knime.server.executor.watchdog.interval

is this an option to prevent this from happening?

Thank you for your response.

---

<div class="post-metadata">

**Author:** ![marvin\_kickuth](https://forum-cdn.knime.com/user_avatar/forum.knime.com/marvin_kickuth/32/24811_2.png) [@marvin\_kickuth](https://forum.knime.com/u/marvin_kickuth)\
**Post date:** [May 22, 2024, 8:18am UTC](https://forum.knime.com/t/knime-server-vanished-status/79642/2 "2024-05-22T08:18:02Z")

</div>

Hi @mjkim,

Yes, this setting is related. The [Executor Watchdog](https://docs.knime.com/latest/server_admin_guide/index.html#executor-watchdog) runs on the KNIME Server and regularly listens to check-ins from executors to confirm that they are still running. If an executor crashes (or _vanishes_ for some other reason), the watchdog will mark all jobs that were loaded in the executor as vanished. This also includes jobs that already completed, but were still kept on the executor. How long an executor keeps a job in memory after executing nodes can be configured with these parameters:

- com.knime.server.job.max\_time\_in\_memory
- com.knime.server.job.webportal.max\_time\_in\_memory

Note that the WebPortal parameter should not be set too short, as execution is also paused while waiting for user interaction in the WebPortal.

When the executor is shut down (via Windows services or `systemctl stop knime-executor`) it should swap all its still open jobs back to the server, but it seems this didn’t work in this case. If currently set to the default, 1 minute, it may make sense to slightly bump the swap timeout parameter to ensure jobs have enough time to be swapped to disk:

- com.knime.server.job.default\_swap\_timeout

Lastly, the watchdog is a completely optional feature. While it is nice to know when jobs vanished due to a crash, it is really only a visual information. Should this not be needed, or if undesired false positives come up, you can fully disable the watchdog by setting the com.knime.server.executor.watchdog.interval to 0s.

Kind regards  
Marvin

---

<div class="post-metadata">

**Author:** ![mjkim](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@mjkim](https://forum.knime.com/u/mjkim)\
**Post date:** [May 23, 2024, 1:15am UTC](https://forum.knime.com/t/knime-server-vanished-status/79642/3 "2024-05-23T01:15:13Z")

</div>

Hi, Marvin

Thank you so much for your detailed response.

Would changing the values of the options below be the best way to go?  
If I change it, can you suggest what value to set it to?  
(Restarting the knime-executor usually takes less than 3-5 minutes.)

- com.knime.server.job.default\_swap\_timeout

Am I correct that setting com.knime.server.executor.watchdog.interval to 0s means that if the job disappears, it will not change to a status of vanished?

Best Regards,  
MJ

---

<div class="post-metadata">

**Author:** ![marvin\_kickuth](https://forum-cdn.knime.com/user_avatar/forum.knime.com/marvin_kickuth/32/24811_2.png) [@marvin\_kickuth](https://forum.knime.com/u/marvin_kickuth)\
**Post date:** [May 27, 2024, 1:40pm UTC](https://forum.knime.com/t/knime-server-vanished-status/79642/4 "2024-05-27T13:40:43Z")

</div>

Hi MJ,

Yes, I would recommend these changes in most cases. The swap timeout is per job, so in theory a server shutdown can take swap\_timeout \* number\_of\_loaded\_jobs minutes, but this is an extreme case. I’d say it is safe to set `com.knime.server.job.default_swap_timeout` to 5 or 10 minutes, even longer if you have any single, very large jobs.

Yes, without the watchdog active (set to 0s), jobs will not be marked as vanished.

Kind regards  
Marvin

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [August 25, 2024, 1:41pm UTC](https://forum.knime.com/t/knime-server-vanished-status/79642/5 "2024-08-25T13:41:16Z")

</div>

Closed on August 25, 2024, 1:41pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
