flyize Posted December 28, 2021 Share Posted December 28, 2021 (edited) I'm hoping someone can help me out. I've recently noticed shfs taking a ton of CPU. In my searches, I found reference to a caching plugin that can cause this issue, but I don't have that plugin installed. What else could I look at? truffle-diagnostics-20211228-0903.zip Edited December 28, 2021 by flyize Quote Link to comment
flyize Posted December 29, 2021 Author Share Posted December 29, 2021 Attaching another diag from today, in hopes that someone can shed some light on this. Whatever is going on is crushing the server. truffle-diagnostics-20211229-1313.zip Quote Link to comment
sage2050 Posted December 30, 2021 Share Posted December 30, 2021 im battling this myself, dug through a bunch of old threads and still no answers. I'm not using the folder cache plugin people have talked about in the past. Quote Link to comment
flyize Posted December 30, 2021 Author Share Posted December 30, 2021 I saw your post in the other thread. Hopefully someone will have an idea. I've got a 20 core Xeon CPU that's getting absolutely crushed at times. Quote Link to comment
flyize Posted December 30, 2021 Author Share Posted December 30, 2021 While probably not the best answer, I'm going to try 6.10 RC2. This is driving me crazy. Quote Link to comment
JonathanM Posted December 30, 2021 Share Posted December 30, 2021 Have you checked how much CPU usage was IOWAIT? If that's the majority of it, then your solution is faster disks or interface, because IOWAIT is the CPU waiting for disks, not actual work being done. It's included in the usage because that portion of the CPU can't work on anything else while it's waiting. Quote Link to comment
flyize Posted December 30, 2021 Author Share Posted December 30, 2021 I did some quick Googles and came up blank. How do I see IOWAIT? Quote Link to comment
JonathanM Posted December 31, 2021 Share Posted December 31, 2021 top command in the console. wa number on the cpu line Quote Link to comment
JonathanM Posted December 31, 2021 Share Posted December 31, 2021 9 hours ago, sage2050 said: way too high Show the cpu detail line, also, 70% is meaningless without core count, as it's only 70% of one core, so the total cpu % could be minuscule if this was on a threadripper or other high core count CPU. Quote Link to comment
flyize Posted December 31, 2021 Author Share Posted December 31, 2021 Here's what I see. Unraid was reporting ~75% utilization when I snapped this screenshot. Quote Link to comment
Squid Posted December 31, 2021 Share Posted December 31, 2021 The % is nothing as it's only a core and a half on a 20 core system. On your diagnostics originally posted, It looks like your currently running a parity check Dec 27 11:20:27 Truffle emhttpd: unclean shutdown detected 65% CPU usage A home assistant VM 200% usage SHFS is taking 126% Ubuntu VM 47% NZBGet is currently unpacking something 54% Plex is running @54% A trim is currently in operation 21% ********** And you have a tab sitting on the docker page in advanced view - 12% Tautulli, Sonarr, Ombi etc are also all taking ~20% each So, there's nothing out of the ordinary at all in terms of CPU usage. But, as noted this is IOWAIT Now, you're running a trim operation on the filesystem every hour. This is extreme. You only need to run it say weekly and only during times when nothing else is going on. While a trim is in operation the system will massively compete for IO time to the SSD's, and when trim has the CPU cycles, nothing else is allowed at all to utilize the IO to any device There average time it is taking to do the trims across all the supported filesystems / devices is ~4 minutes. But, with the perfect storm you've got at the moment its been running for 13 minutes on just the first device it finds (since nothing has been logged yet), so responsiveness is horrendous As an aside, the best way in my opinion to look at IO wait is via the NetData container as you'll be able to see it graphed nicely over time Set your trim frequency to be something sane. 2 Quote Link to comment
flyize Posted December 31, 2021 Author Share Posted December 31, 2021 Oh wow. Thank you! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.