jellfin 10.5.5 cpu usage is keeping run about 18% on ubuntu 18.04.4 #1650

Closed
opened 2026-02-06 21:13:17 +03:00 by OVERLORD · 10 comments
Owner

Originally created by @kent79 on GitHub (May 4, 2020).

This is a new install machine. After I installed Jellyfin, I type "top" command. It find out jellfin process as below is keeping run.
/usr/bin/jellyfin --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg

Originally created by @kent79 on GitHub (May 4, 2020). This is a new install machine. After I installed Jellyfin, I type "top" command. It find out jellfin process as below is keeping run. /usr/bin/jellyfin --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
OVERLORD added the bugstale labels 2026-02-06 21:13:17 +03:00
Author
Owner

@plexxman commented on GitHub (May 4, 2020):

Provide more details, logs, use the template.

@plexxman commented on GitHub (May 4, 2020): Provide more details, logs, use the template.
Author
Owner

@kent79 commented on GitHub (May 4, 2020):

658 jellyfin 20 0 4422564 139156 69344 S 18.2 1.9 1:25.74 jellyfin

Above is the "top" command info. , 18.2 is 18.2% cpu usage. The server is idle, but the cpu is keeping ruuning. I try to kill the process, but it will be re run again. There is work fine for server, exception of this issue. I don't know is it normal.

Checked jellyfin20200504.log, there is any error or warning. My machine is NUC using intel J4105

@kent79 commented on GitHub (May 4, 2020): 658 jellyfin 20 0 4422564 139156 69344 S 18.2 1.9 1:25.74 jellyfin Above is the "top" command info. , 18.2 is 18.2% cpu usage. The server is idle, but the cpu is keeping ruuning. I try to kill the process, but it will be re run again. There is work fine for server, exception of this issue. I don't know is it normal. Checked jellyfin20200504.log, there is any error or warning. My machine is NUC using intel J4105
Author
Owner

@vlork commented on GitHub (May 6, 2020):

I have the same issue and think I have narrowed it down. By disabling UPnP, the CPU usage is down from twenty percent to below one when idle.

In settings.xml:

<EnableUPnP>false</EnableUPnP>
@vlork commented on GitHub (May 6, 2020): I have the same issue and think I have narrowed it down. By disabling UPnP, the CPU usage is down from twenty percent to below one when idle. In settings.xml: ``` <EnableUPnP>false</EnableUPnP> ```
Author
Owner

@kent79 commented on GitHub (May 7, 2020):

It works. Many Thanks

@kent79 commented on GitHub (May 7, 2020): It works. Many Thanks
Author
Owner

@jeroenev commented on GitHub (May 11, 2020):

had same issue, disabling UPnP fixed it for me as well.
Why does that feature consume so much CPU?

@jeroenev commented on GitHub (May 11, 2020): had same issue, disabling UPnP fixed it for me as well. Why does that feature consume so much CPU?
Author
Owner

@dchakro commented on GitHub (May 27, 2020):

In settings.xml:

<EnableUPnP>false</EnableUPnP>

This worked for me as well, although for me the setting was in system.xml. Thank you @mknart !

@dchakro commented on GitHub (May 27, 2020): > In settings.xml: > > ``` > <EnableUPnP>false</EnableUPnP> > ``` This worked for me as well, although for me the setting was in ```system.xml```. Thank you @mknart !
Author
Owner

@ThibaultNocchi commented on GitHub (Jul 8, 2020):

This also worked for me. I guess it is probably linked to #2589 and maybe the PR #3383 could somehow help resolving this.

@ThibaultNocchi commented on GitHub (Jul 8, 2020): This also worked for me. I guess it is probably linked to #2589 and maybe the PR #3383 could somehow help resolving this.
Author
Owner

@BaronGreenback commented on GitHub (Jul 9, 2020):

SSDP DeviceDiscovery isn't filtered. Whilst not a great CPU hog - it will be part.

We could be limitted down to urn:schemas-upnp-org:device:MediaRenderer and urn:schemas-upnp-org:device:MediaServer

Is there any other devices we need?

@BaronGreenback commented on GitHub (Jul 9, 2020): SSDP DeviceDiscovery isn't filtered. Whilst not a great CPU hog - it will be part. We could be limitted down to urn:schemas-upnp-org:device:MediaRenderer and urn:schemas-upnp-org:device:MediaServer Is there any other devices we need?
Author
Owner

@BaronGreenback commented on GitHub (Jul 9, 2020):

Been playing with implementing DLNA subscriptions.

DLNA PlayTo is currently setup to start a 1 second timer that polls the device, the moment a DLNA device is detected regardless of whether it is used or not. My forthcoming PR will delay this until the first interaction with the device.

Again, not a lot - but it's something.

@BaronGreenback commented on GitHub (Jul 9, 2020): Been playing with implementing DLNA subscriptions. DLNA PlayTo is currently setup to start a 1 second timer that polls the device, the moment a DLNA device is detected regardless of whether it is used or not. My forthcoming PR will delay this until the first interaction with the device. Again, not a lot - but it's something.
Author
Owner

@stale[bot] commented on GitHub (Nov 7, 2020):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Nov 7, 2020): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#1650