Tools

Error: No Daemon Activity Detected in Web Help Desk (WHD)

This article addresses a daemon activity error that displays in the Web Help Desk console. Error: "No daemon activity detected. Check that at least one instance of the application has been configured as a dedicated or background daemon. For Tomcat deployments, this is done with the WHDDaemonMode environment entry in web.xml. For details, see the README.txt file in the Web Help Desk program folder, or FAQ 103 on the Web Help Desk Support site."

First published date

11/8/2018 1:14 PM

Last published date

11/8/2018 1:14 PM

Overview

The following error displays in the Web Help Desk messages: 
No daemon activity detected. Check that at least one instance of the application 
has been configured as a dedicated or background daemon. 
For Tomcat deployments, this is done with the WHDDaemonMode environment entry in 
web.xml. For details, see the README.txt file in the Web Help Desk program folder, 
or FAQ 103 on the Web Help Desk Support site. 

 

Product section

Web Help Desk

Cause

1. Insufficient memory allocated to the Java Virtual Machine (JVM)
2. Problematic Emails such as corrupted, having invalid ASCII/XML format, and have larger attachment stuck in Web Help Desk Inbox and are not being processed to create tickets.
3. Looping tickets
4.Looping emails

Resolution

  1. Calculate the JVM memory for your deployment.
  2. Increase the JVM Memory allocated to Web Help Desk.

Calculate the JVM memory for your deployment 

Calculate the JVM memory using the following formula:

  • Assign 3 GB (for the first 10 technicians)
  • Add 1 GB for every 10 additional technicians

By default, Web Help Desk is allocated 512 MB of memory for the Java Virtual Machine Heap Space.

For example, if you have 20 concurrent techs, the MAXIMUM_MEMORY setting should be:

  • 3 GB + 1 GB = MAXIMUM_MEMORY
  • 3072 +1024 = 4096 or 4 GB

Due to the memory limitations of 32-bit Java (1500 MB maximum heap size), deployments that require more than 10 simultaneous users logged in must install the Web Help Desk 64-bit version.

  • Increase the JVM memory allocated to Web Help Desk 

  1. Log in to the Web Help Desk server.
  2. Open the WHD installation directory.

    macOS:     Library\WebHelpDesk\conf

    Windows:   *:\Program Files\WebHelpDesk\conf

    Linux:          /usr/local/webhelpdesk/con

  3. Open the whd.conf file in a text-editing program (such as Notepad).
  4. Locate the MAXIMUM_MEMORY configuration setting.
  5. Enter the new value for the MAXIMUM_MEMORY setting.
  6. Save the file.
  7. Stop and start Web Help Desk 
  • Remove the problematic Emails from Web Help Desk Inbox
  1. Stop and start Web Help Desk .
  2. Log in to the mailbox WHD is monitoring.
  3. Move the oldest email out of the INBOX folder to a different folder.
  4. Start WHD

The remaining email should start getting processed. Wait until the the mailbox is empty before you attempt to move the email removed earlier back into the INBOX folder. If it doesn't get processed, remove it permanently. The email may have been corrupted in transit.

Increasing the Database Connection can also be done.


​​​​​​​Check the email address in the E-mail Notification section and ensure that it is not the WHD email address or an auto mailer.