Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Web Help Desk (WHD) > Schedule Web Help Desk for restart to clear JVM Heap Memory on Mac OS X

Schedule Web Help Desk for restart to clear JVM Heap Memory on Mac OS X

Table of contents
No headers
Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 14 Votes: 0 Revisions: 8

This procedure requires WHD version 8.4.6.8 or later.

To schedule the WHD application for a nightly restart:

  1. Login to your OS as root or admin.
  2. Copy the /Library/WebHelpDesk/bin/ com.macsdesign.WebHelpDeskAutoRestart.plist file into your /Library/LaunchDaemons folder.
  3. Execute this command: launchctl load com.macsdesign.WebHelpDeskAutoRestart.plist
  4. You can verify that the plist was loaded successfully with this command: launchctl list
  5. To unload the LaunchDaemon, use this command: launchctl unload com.macsdesign.WebHelpDeskAutoRestart.plist

The plist file provided is configured to restart Web Help Desk each night at 1AM. You can change the schedule by editing the StartCalendarInterval property in the plist. See the Mac OS X documentation for details.

Notes:

  • This launch daemon works only with the standard Tomcat deployment of Web Help Desk. WebObjects Monitor deployments use the Monitor tool to configure automatic restarts.
  • When scheduling with the Monitor, make sure to clear Is Graceful to force the instances to restart.
Last modified
04:46, 23 Jun 2016

Tags

Classifications

Public