When upgrading JunOS SPACE, the applications installed on it need to be upgraded as well. I’ve seen jboss crash and restart when several applications are upgraded in a row. This happened after moving to SPACE 16.1r2 and then again when upgrading to 17.1r1.
JTAC advised that the issue is that Java runs out of “PermGen” memory. Assuming that SPACE is installed on a JA2500 or a VM with 32GB of memory, these changes should resolve the issue. They may have to be reapplied after each upgrade of the core SPACE software.
- stop jboss and watchdog
service jmp-watchdog stop
service jmp-watchdog status (make sure it has stopped)
service jboss stop
service jboss status (make sure it has stopped) - edit /var/jboss/domain/configuration/host.xml.slave and change
<option value=”-XX:MaxPermSize=512m”/>
to
<option value=”-XX:MaxPermSize=1025m”/> - start watchdog
service jmp-watchdog start
service jmp-watchdog statusThe watchdog process will restart jboss so there is no need to restart jboss manually.