Post Reply 
Heavy CPU load by browsing Komposers
15-03-2021, 16:38
Post: #14
RE: Heavy CPU load by browsing Komposers
Thansk for this log. It is very useful and shows that one of the MinimServer threads is looping, hence the high CPU. The log file doesn't have quite enough information to show exactly what is causing the loop.

To find the problem that is causing the loop, I need to see a thread dump taken while the loop is happening. Please do the following:

1) Start MinimServer update 189
2) Login to the NAS in a Terminal window as admin using ssh, putty or similar
3) In the Terminal window: run this command: ps -ef | grep mserver.jar | head -1
4) This will produce output like like the following:
Code:
root      7419  7417  1 15:15 ?        00:00:08 /volume1/@appstore/MinimServer/lib/minimjre(linux-arm64)-14.0.1.dir/jre/bin/java -jar /volume1/@appstore/MinimServer/lib/mserver.jar --launchrc --noprompt --nohup --noconsole
5) The first number in this line (7419) is the process ID for MinimServer
6) Start the LUMIN app, open the Composer index and select the F folder
7) MinimServer will become unresponsive. In the Terminal window, run this command:
sudo kill -quit 7419
with 7419 replaced with the number you found in step 5. It is a good idea to have this command typed in and ready to run before you do step 6. Enter your admin password when prompted.
8) Despite what you might expect intuitively, this doesn't kill MinimServer or cause it to quit. Instead, it writes a thread dump to the minimserver-out.log file in the MinimServer/appData shared folder.
9) Wait a few seconds and run the kill command a second time. Wait a few more seconds and run it a third time.
10) Zip the minimserver-out.log file and attach it to a post here.

Thanks very much for your help with this.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Heavy CPU load by browsing Komposers - simoncn - 15-03-2021 16:38

Forum Jump:


User(s) browsing this thread: 2 Guest(s)