WCS CPU high

Max

Administrator
Staff member
Hello

We need
1. All logs in the folder WCS_HOME/logs for last 24 hours
2. All configs in the folder WCS_HOME/conf
3. Heap dump
Please zip this and send download link to logs@flashphoner.com for analyzing

How to get the heap dump:
1. Execute jps and find out PID of server process:
Code:
# jps
22336 Server
22292 wcs_manager-1.0.jar
32741 Jps
2. Create server heap-dump with jmap:
Code:
# jmap -dump:file=/tmp/server.hprof 22336
Dumping heap to /tmp/server.hprof ...
Heap dump file created
3. Dump may have over 1 Gb size, so you can share it with i.e. google drive.
 

Angel Lu

New Member
Hi Support,
This log we found in flashphoner.log. Seems one thread close.
And after this log, the server CPU and memory will start higher then before.
05:27:18,534 INFO WSClient - WS-pool-6-thread-1 Close connection for channel [id: 0x305b4f2f, /36.76.151.96:8222 => /10.1.81.34:8080] with status code: 1000
 

Max

Administrator
Staff member
Hello
Please install latest JDK 8, latest update from here:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Here you can find JDK installation instruction:
https://flashphoner.com/docs/wcs5/w...eparing_for_installation-jdk_installation.htm
Once it is installed
1. Make sure it was installed properly
Code:
java -version
2. Try to run jmap
Code:
ln -s /usr/java/default/bin/jmap /usr/bin/jmap
jmap
3. Try to run jstack
Code:
ln -s /usr/java/default/bin/jstack /usr/bin/jstack
jstack
4. Restart wcs server on the new java
Code:
service webcallserver restart
If you encounter CPU or memory grow again, please execute jstack.
Code:
jstack 12345 >> 12345.txt
here 12345 is process ID

Please zip and send
1. 12345.txt jstack file
2. WCS_HOME/conf
3. WCS_HOME/logs (last 24 hours)
4. Heap dump.
We need all these files
 
Top