The PAView cannot discover any instances and the embedded fglam cannot be started. In the logs it shows:
YYYY-MM-DD HH:MM:SS.SSS ERROR [main] com.quest.common.util.SysInfo - An unexpected error occurred which may cause undesired behavior. You may want to contact Quest Software customer support if you see this error again: Could not load environment
java.io.IOException: Cannot run program "/usr/bin/env": error=12, Not enough space
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at com.quest.common.util.SysInfo.loadEnvironment(SysInfo.java:804)
at com.quest.common.util.SysInfo.getEnvironmentMap(SysInfo.java:628)
at com.quest.nitro.startup.FoglightServer.start(FoglightServer.java:212)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 8 more
This is related to the memory allocation used by the Foglight Management Server (FMS)
FMS allocates default size of memory for JVM which is 75 % of available memory.
If the amount of physical memory is too small, it is possible after creating other JVM components (such as PAView, fglam) that there is not enough available memory.
We can see the size of in t in the Management server log:
For example in the management logs it shows the amount of JVM memory allocated:
VM Options:
-dsa
-da
-Djava.net.preferIPv4Stack=true
-Xrs
-XX:+UseAltSigs
-Dquest.state.dir=/wload/of5t/app/management/quest_software/foglight_server/state
-Dsun.java.command=org.jboss.Main
-Xms24570m
-Xmx24570m
in this case is 24570 MB
To solve the problem it is necessary to decrease the JVM size by modifying config/foglight.config file and define the following lines:
foglight.vm.option0 = "-Xms<value>"
foglight.vm.option1 = "-Xmx<value>"
Example:
To use 8 GB as a JVM parameters are as follow:
foglight.vm.option0 = "-Xms8G"
foglight.vm.option1 = "-Xmx8G"
The values can be vary depends on many factors.
Generally speaking the values should be as small as possible (to save physical memory)
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center