axinnice 2 Posted April 5, 2024 Posted April 5, 2024 Why is the CPU usage of this process so high, causing my entire service to freeze? My emby server is installed on ubuntu23.10
axinnice 2 Posted April 5, 2024 Author Posted April 5, 2024 /opt/emby-server/system/EmbyServer -programdat/var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb This process consumes too much CPU and causes the entire service to freeze. What is the reason and what is the solution?
Luke 42077 Posted April 5, 2024 Posted April 5, 2024 HI there, let's look at an example of when this happened: How to Report a Problem Thanks.
Happy2Play 9780 Posted April 8, 2024 Posted April 8, 2024 It would appear you have a network issue and cannot talk to TVDB, TMDB. 2024-04-08 00:00:09.148 Error HttpClient: Error getting response from https://api4.thetvdb.com/v4/login *** Error Report *** Version: 4.7.12.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.5.0-26-generic (buildd@lcy02-amd64-070) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.4 Framework: .NET 6.0.14 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 80 Data path: /var/lib/emby Application path: /opt/emby-server/system System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Network is unreachable (api4.thetvdb.com:443) ---> System.Net.Sockets.SocketException (101): Network is unreachable at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Net.Sockets.SocketException: Network is unreachable Source: System.Net.Sockets TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) Is there a reason you have not updated Emby (4.7.12.0)?
axinnice 2 Posted April 8, 2024 Author Posted April 8, 2024 (edited) 8 minutes ago, Happy2Play said: 您似乎遇到了网络问题,无法与TVDB,TMDB通话。 2024-04-08 00:00:09.148 Error HttpClient: Error getting response from https://api4.thetvdb.com/v4/login *** Error Report *** Version: 4.7.12.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.5.0-26-generic (buildd@lcy02-amd64-070) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.4 Framework: .NET 6.0.14 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 80 Data path: /var/lib/emby Application path: /opt/emby-server/system System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Network is unreachable (api4.thetvdb.com:443) ---> System.Net.Sockets.SocketException (101): Network is unreachable at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Net.Sockets.SocketException: Network is unreachable Source: System.Net.Sockets TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) 您没有更新Emby(4.7.12.0)是有原因的吗? So the reason for the high occupation of server CPU is the inability to access tmdb and tvdb? Edited April 8, 2024 by axinnice
axinnice 2 Posted April 8, 2024 Author Posted April 8, 2024 8 minutes ago, Happy2Play said: It would appear you have a network issue and cannot talk to TVDB, TMDB. 2024-04-08 00:00:09.148 Error HttpClient: Error getting response from https://api4.thetvdb.com/v4/login *** Error Report *** Version: 4.7.12.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.5.0-26-generic (buildd@lcy02-amd64-070) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.4 Framework: .NET 6.0.14 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 80 Data path: /var/lib/emby Application path: /opt/emby-server/system System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Network is unreachable (api4.thetvdb.com:443) ---> System.Net.Sockets.SocketException (101): Network is unreachable at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Net.Sockets.SocketException: Network is unreachable Source: System.Net.Sockets TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) Is there a reason you have not updated Emby (4.7.12.0)? So the reason for the high occupation of server CPU is the inability to access tmdb and tvdb?
Lessaj 467 Posted April 8, 2024 Posted April 8, 2024 While not guaranteed to be the problem it is basically all the log is full of, so it should be resolved as a first step.
Happy2Play 9780 Posted April 8, 2024 Posted April 8, 2024 (edited) 6 minutes ago, axinnice said: So the reason for the high occupation of server CPU is the inability to access tmdb and tvdb? Probably not but makes it really hard to go through the log. All I am seeing is a lot of playback sessions and provider failures. Edited April 8, 2024 by Happy2Play
axinnice 2 Posted April 8, 2024 Author Posted April 8, 2024 3 minutes ago, Happy2Play said: 可能不是,但很难浏览日志。 我所看到的只是很多播放会话和提供商故障。 I will solve this problem.
axinnice 2 Posted April 8, 2024 Author Posted April 8, 2024 This is the latest log. Users reported that watching high-bitrate movies would cause lag, but the server bandwidth is sufficient and all server hardware is normal. embyserver.txt
Luke 42077 Posted April 14, 2024 Posted April 14, 2024 On 4/8/2024 at 11:42 AM, axinnice said: This is the latest log. Users reported that watching high-bitrate movies would cause lag, but the server bandwidth is sufficient and all server hardware is normal. embyserver.txt 94.09 MB · 3 downloads Hi, what device did they report this on? Are you able to update to Emby Server 4.8 and see how things compare?
axinnice 2 Posted April 15, 2024 Author Posted April 15, 2024 18 hours ago, Luke said: Hi, what device did they report this on? Are you able to update to Emby Server 4.8 and see how things compare? There is a problem. This is the log after upgrading to 4.8.3. After the upgrade, emby-server will crash and automatically shut down. embyserver-63848821015.txt
Luke 42077 Posted April 24, 2024 Posted April 24, 2024 On 4/15/2024 at 11:55 AM, axinnice said: There is a problem. This is the log after upgrading to 4.8.3. After the upgrade, emby-server will crash and automatically shut down. embyserver-63848821015.txt 68.14 MB · 1 download @axinnicePlease update to Emby Server 4.8.5, then, please remove these plugins: 2024-04-15 20:07:15.914 Info App: Loading InfuseSync, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/InfuseSync.dll 2024-04-15 20:07:15.914 Info App: Loading playback_reporting, Version=2.1.0.5, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/playback_reporting.dll Then please let us know if you're still having an issue after that. Thanks.
axinnice 2 Posted April 29, 2024 Author Posted April 29, 2024 On 4/24/2024 at 8:09 AM, Luke said: @axinnicePlease update to Emby Server 4.8.5, then, please remove these plugins: 2024-04-15 20:07:15.914 Info App: Loading InfuseSync, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/InfuseSync.dll 2024-04-15 20:07:15.914 Info App: Loading playback_reporting, Version=2.1.0.5, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/playback_reporting.dll Then please let us know if you're still having an issue after that. Thanks. After upgrading to 4.8.5, CPU memory overflow still occurs, causing the server to crash. embyserver-63850028949.txt
Luke 42077 Posted April 30, 2024 Posted April 30, 2024 13 hours ago, axinnice said: After upgrading to 4.8.5, CPU memory overflow still occurs, causing the server to crash. embyserver-63850028949.txt 190.59 MB · 2 downloads @axinnicecan you please attach the complete emby server log? thanks.
axinnice 2 Posted April 30, 2024 Author Posted April 30, 2024 4小时前,卢克说: @axinnice您能否附上完整的 EMBY 服务器日志?谢谢。 The total size exceeds 190mb, I will send it in two parts embyserver-63850028949.txt
axinnice 2 Posted April 30, 2024 Author Posted April 30, 2024 4小时前,卢克说: @axinnice您能否附上完整的 EMBY 服务器日志?谢谢。 2 embyserver-63850028949-1.txt
Luke 42077 Posted May 7, 2024 Posted May 7, 2024 Hi, have you updated to Emby Server 4.8.6? Has that helped?
axinnice 2 Posted June 12, 2024 Author Posted June 12, 2024 On 6/2/2024 at 11:18 AM, Luke said: @axinnice There will still be situations where it is stuck and cannot be accessed normally. The CPU, memory, and hard disk are all working normally, and the load is not too high. However, emby cannot enter normally and stays on the logo page. The log file is too large and cannot be uploaded. You can use this Link to download: http://us.axemby.top/embyserver-63853827191.txt
axinnice 2 Posted June 12, 2024 Author Posted June 12, 2024 11分钟前,卢克说: 你能把它拉上拉链并贴在这里吗? embyserver-63853827191.rar
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now