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: 917 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.
Viewing 2 of 2 comments: view all
Interspire author is Meryl Wilk
Posted 19:24, 26 Jun 2015
Interspire author is Meryl Wilk
Posted 19:41, 14 Aug 2015
Viewing 2 of 2 comments: view all
You must to post a comment.
Last modified
10:46, 23 Jun 2016

Tags

Classifications

Public