Redpeaks V6.8
Trouble shooting
Monitors Guide
Trouble shooting
Monitors Guide
Defines procedures which can be helpful for troubleshooting problems with the application
bin
folder, which is not always in the PATH.bin
folder, execute the below command# ls -l /etc/alternatives/java > /etc/alternatives/java -> /usr/lib/jvm/java-17-openjdk-17.0.0.0.35-1.rolling.el7.x86_64/bin/java
# systemctl status promonitor
Heap dump creates a file allowing to inspect memory usage of the application This is helpful for investigating problems such as memory leaks
[JAVA BIN PATH]/jmap -dump:live,format=b,file=heapdump.hprof [PID]
Note:
well-known file /tmp/.java_pid22502 is not secure: file should be owned by the current user (which is 0) but is owned by 994
sudo -u promonitor
, such assudo -u promonitor [JAVA BIN PATH]/jmap -dump:live,format=b,file=heapdump.hprof [PID]
Stack traces helps understanding what the application is doing at a given time. This helps investigating performance issues, such as slow startup
[JAVA BIN PATH]/jstack PID > stacktrace.log
stacktrace.log
to a ticket