Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

lsof pegging my cpu and temps every minute or so

Featured Replies

This is the only thing I can point to that is causing the issue I am having. I run htop, sort by cpu and it shows most times between 80-90% CPU usage. My temps climb RAPIDLY to almost 80C even though it is only pegging (typically) 2 cores at 100%. Every minute or couple minutes, the cycle repeats.
I just updated to Unraid 7.2 yesterday.
I would really appreciate a hand in figuring this out as my server keeps sounding like a jet readying for take-off where before it would only do so under actual heavy load.

Attached are my diags as of a minute ago.

tower-diagnostics-20251101-1225.zip

Solved by Squid

  • Community Expert

Try rebooting in safe mode to see if it stil happens.

  • Author

Thanks Jorge, I will give that a try and check back in. No idea why my temps are so consistently high all of the sudden.

  • Author

Ok just gave it a try and while my fans are still going full tilt, the CPU temp according to the dynamics plugin I had to install shows normal temps at 36C.
What do I do now?

  • Community Expert

Post new diags from safe mode.

  • Author

I still have a lot of people streaming from the server. I will reboot into safe mode and pull diags as soon as I am able. Thank you again Jorge.

  • Community Expert

According to your average CPU load it's very low: 12:25:51 up 10:44, 0 users, load average: 1.11, 1.13, 1.06 Cores: 24

top also reports your average idle time is 95%: %Cpu(s): 0.4 us, 0.4 sy, 0.0 ni, 95.1 id, 4.2 wa, 0.0 hi, 0.0 si, 0.0 st

You're also running a 12900K which is a CPU that is known to run hot.

The suggestion would be to run in safe mode for a little while because you do have quite the collection of plugins and any number of them could be causing an issue for you. My guess is the File Integrity plugin was running calculating file hashes which is sort of CPU heavy.

  • Author

My main issue is the temperatures. There is plenty of overhead on the proc, for sure. Temps hitting 80+C regularly every few minutes is not at all normal behaviour for my system.
I will go through and remove things as I can.

  • Community Expert

What kind of CPU cooler are you running? 12900K CPUs when they turbo boost can get very hot.

Edit, what are your normal idle temps?

Edited by MowMdown

  • Author

360mm Lian Li Gallahad 2/3 AIO with Noctua 3k rpm fans controlled via IPMi

Normally runs 32C at idle with fans @500 RPM

Edited by LordShad0w

  • Community Expert

The only things I can suggest right now would be to verify the AIO pump is functioning and to double check that you mounted the cooler to the CPU properly and didn't forget to remove any plastic peels that often come on the copper cold plate.

Hitting 5.0GHz on a 12900K even on a single CPU core pushes enough wattage to hit really high CPU temps depending on where you are measuring the temp from (the specific sensor).

You could also temporarily disable turbo boosting in the BIOS to see what it behaves like.

I am not entirely surprised you're hitting 80C if your CPU is hitting 80-90% utilization. I would expect these kinds of temps even with an AIO cooler.

Edited by MowMdown

  • Author

Turbo has been disabled since I built it and it is also on the power saver profile in the Unraid UI. The cooler is securely and properly mounted and secured and I used Cryonaut thermal paste at build time. (3 years ago) I doubt it has degraded in that short period of time?
This literally just started after I updated to 7.20 the day before my first post. This is why I am confused and lost as to a cause and possible solution.
Please understand I am not at all trying to be argumentative, I am only trying to address your suggestions. :)
I sincerely appreciate your help.

Edited by LordShad0w

  • Community Expert

No worries I was just spitballing anything I could think of.  The only thing I remember at some point during one of the unraid updates was they changed the CPU frequency driver which changes the way the CPU changes it's clockspeeds and turbo boosting. Depending on which version you upgraded from this could be the result of that.

  • Author

I went from 7.1.4 iirc

  • Community Expert

I still do think the CPU getting hit hard was possibly from the file integrity plugin so maybe check the schedule it was supposed to run and see if that coincides with the time this was occurring on your system.

That plugin does go through FUSE which causes heavy reads(lsof) and hash calculations (CPU utilization). It's very plausible.

Edited by MowMdown

  • Author

I disabled the file integrity plugin scheduler and deleted the plugins I do not use.

Now, lsof still runs constantly? Either way, the behavior seems to have stopped as now CPU usage still pegs cores at 100% as it was previously but I am not getting the massive temperature spikes any longer.
I apologize that I did not go one at a time when deleting unused plugins so that I could point to something specifically as being the culprit.
I wonder if @JorgeB or yourself looked at the difference between my initial diags and the Safe mode diags? You guys would likely be able to point to the plugin that was causing it.
Perhaps (just an idea) someone could make a pinned post on how to actually read diags so that as users we could do more of our own troubleshooting so as not to be such a bother. Though I assume not, since it likely requires a much more in-depth knowledge of Linux systems. However, it would just be nice knowledge to have :) .

If it would be helpful I will attach my current diags for further inspection.tower-diagnostics-20251106-1346.zip

Edited by LordShad0w
more info

  • Solution

Do from the terminal

ps -auxf

Scrolling through the list, find lsof and the parent tree will be shown that'll have what script is issuing it

  • Author

Thank you @Squid ! I will give it a go 😊

This is the one currently using the most at 40 and 50% respectively on 2 instances.

\_ /usr/libexec/samba/rpcd_lsad --configfile=/etc/samba/smb.co

Edited by LordShad0w

  • Author

Ok, it seems this issue is solved now after removing unused plugins pretty much.

One other question as now I constantly see "shfs" running constantly. Is this normal and should it be constantly running 24-7?

  • Community Expert

shfs is the process that provides /mnt/user i.e. merges the filesystems for all disks and pools. So yeah it's always there.

  • Author
Just now, Kilrah said:

shfs is the process that provides /mnt/user i.e. merges the filesystems for all disks and pools. So yeah it's always there.

Ok, thanks much, that was all I needed to know 😁👍

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.