2024-10-17, 02:41 PM
I understand that the Raspberry Pi 4 isn't the most powerful hardware for this purpose, but it should be able to handle the task. I'm using Jellyfin in a Docker container on a Raspberry Pi running Raspbian OS, with storage connected via a NAS. The database, I believe, is stored on the Raspberry Pi itself.
The issue only occurs occasionally. For example, I recently tested playing a 4K movie. Initially, the CPU usage was at maximum, and the playback started lagging. After stopping the movie and starting it again, the playback was smooth, and the CPU usage was normal. This is strange, especially since transcoding is disabled.
Perhaps I should consider using Jellyfin only with an external player like VLC. That way, I can be sure that no unnecessary transcoding is taking place.
Please review my logs and CPU usage data.
The issue only occurs occasionally. For example, I recently tested playing a 4K movie. Initially, the CPU usage was at maximum, and the playback started lagging. After stopping the movie and starting it again, the playback was smooth, and the CPU usage was normal. This is strange, especially since transcoding is disabled.
Perhaps I should consider using Jellyfin only with an external player like VLC. That way, I can be sure that no unnecessary transcoding is taking place.
Please review my logs and CPU usage data.
Code:
[2024-10-17 16:14:07.851 +02:00] [INF] [3] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.197" request
[2024-10-17 16:14:32.608 +02:00] [INF] [12] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-10-17 16:15:02.608 +02:00] [INF] [3] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-10-17 16:15:21.048 +02:00] [INF] [15] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "123". EnablePlaybackRemuxing: False EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False
[2024-10-17 16:15:43.170 +02:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-10-17 16:15:44.046 +02:00] [WRN] [10] Microsoft.AspNetCore.Server.Kestrel: As of "10/17/2024 14:15:43 +00:00", the heartbeat has been running for "00:00:16.3524602" which is longer than "00:00:01". This could be caused by thread pool starvation.
[2024-10-17 16:16:54.202 +02:00] [INF] [19] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-17 16:16:54.203 +02:00] [INF] [19] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-10-17 16:16:54.319 +02:00] [INF] [19] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-17 16:17:29.555 +02:00] [INF] [12] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-10-17 16:17:29.706 +02:00] [WRN] [10] Microsoft.AspNetCore.Server.Kestrel: As of "10/17/2024 14:17:29 +00:00", the heartbeat has been running for "00:00:27.4382438" which is longer than "00:00:01". This could be caused by thread pool starvation.
[2024-10-17 16:18:02.409 +02:00] [INF] [12] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-10-17 16:18:02.534 +02:00] [WRN] [10] Microsoft.AspNetCore.Server.Kestrel: As of "10/17/2024 14:18:02 +00:00", the heartbeat has been running for "00:00:12.6974712" which is longer than "00:00:01". This could be caused by thread pool starvation.
[2024-10-17 16:18:32.410 +02:00] [INF] [24] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-10-17 16:19:44.597 +02:00] [INF] [11] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.17.6" playing "ABC". Stopped at "106777" ms