Skip to main content
cmaheu
Staff
Staff
November 20, 2019

Technical Tip: Services restart due to low memory

  • November 20, 2019
  • 0 replies
  • 1094 views

Description

System restarts unexpectedly due to a process allocating more memory than necessary.


Scope
Version: 8.2.x - 8.6.1

Solution

Workaround:  Contact Support for assistance.
 
Solution:  Addressed in versions 8.5.4 and 8.6.2
 
Workaround:  Applies to 8.5 and higher versions only and must be done to all appliances. 
 

1. Edit /bsc/campusMgr/bin/internal/CM

Replace:
sudo -u nac sh -c "/usr/bin/java -server -classpath $CLASSPATH \

With:
sudo -u nac sh -c "/usr/bin/java -server -Xms32m -Xmx${JVM_MX:-768m} -classpath $CLASSPATH \

2. Restart FortiNAC management process
 shutdownCampusMgr
 
<wait 10 seoconds>
 
 shutdownCampusMgr -kill
 
<wait 20 seconds>
 
startupCampusMgr