Introscope WebView Service is getting stopped automatically and not restarting
book
Article ID: 92392
calendar_today
Updated On:
Products
CA Application Performance Management Agent (APM / Wily / Introscope)INTROSCOPE
Issue/Introduction
Introscope WebView is configured to run as a Windows Service. Since few days ago, the service has stopped automatically for several times a day, and does not restart itself, as what it used to do. When try to start the service manually, it wouldn't start up completely, or it would stop again immediately.
Environment
CA Application Performance Management (APM) 10.5 afterwards.
Cause
According to WVService.log, it indicated that the service failed to start due to JVM running out of memory. It did try to restart automatically as you can see "Restarting JVM" but the heap is just too low for it to proceed:
STATUS | wrapper | 2018/04/17 10:44:02 | The JVM has run out of memory. Restarting JVM. INFO | jvm 1 | 2018/04/17 10:44:02 | java.lang.OutOfMemoryError STATUS | wrapper | 2018/04/17 10:44:02 | The JVM has run out of memory. Restarting JVM. ERROR | wrapper | 2018/04/17 10:44:03 | JVM exited unexpectedly. STATUS | wrapper | 2018/04/17 10:44:03 | <-- Wrapper Stopped
Resolution
If memory resource on the physical server permits, please increase the JVM heap by modifying following properties in the <WebView_Home>\bin\WVService.conf file:
For example, this settings increase the initial heap size to 1024MB and the maximum heap size to 2048MB from the default values:
# Initial Java Heap Size (in MB) wrapper.java.initmemory=1024
# Maximum Java Heap Size (in MB) wrapper.java.maxmemory=2048
Restart the WebView service after making the changes. Review and repeat the steps if necessary.
Note: If Introscope WebView is started with Introscope_WebView.exe, the heap setting is configured in the Introscope_WebView.lax file instead.