axinnice 0 Posted April 5 Share Posted April 5 Why is the CPU usage of this process so high, causing my entire service to freeze? My emby server is installed on ubuntu23.10 Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 5 Author Share Posted April 5 请看图片 Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 5 Author Share Posted April 5 /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? Link to comment Share on other sites More sharing options...
jaycedk 402 Posted April 5 Share Posted April 5 Dev's need logs. Link to comment Share on other sites More sharing options...
Luke 37272 Posted April 5 Share Posted April 5 HI there, let's look at an example of when this happened: How to Report a Problem Thanks. Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 8 Author Share Posted April 8 This is the log file embyserver.txt Link to comment Share on other sites More sharing options...
Happy2Play 8361 Posted April 8 Share Posted April 8 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)? Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 8 Author Share Posted April 8 (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 by axinnice Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 8 Author Share Posted April 8 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? Link to comment Share on other sites More sharing options...
Lessaj 83 Posted April 8 Share Posted April 8 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. Link to comment Share on other sites More sharing options...
Happy2Play 8361 Posted April 8 Share Posted April 8 (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 by Happy2Play Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 8 Author Share Posted April 8 3 minutes ago, Happy2Play said: 可能不是,但很难浏览日志。 我所看到的只是很多播放会话和提供商故障。 I will solve this problem. Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 8 Author Share Posted April 8 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 Link to comment Share on other sites More sharing options...
Luke 37272 Posted April 14 Share Posted April 14 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? Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 15 Author Share Posted April 15 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 Link to comment Share on other sites More sharing options...
Luke 37272 Posted April 24 Share Posted April 24 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. Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 29 Author Share Posted April 29 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 Link to comment Share on other sites More sharing options...
Luke 37272 Posted April 30 Share Posted April 30 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. Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 30 Author Share Posted April 30 4小时前,卢克说: @axinnice您能否附上完整的 EMBY 服务器日志?谢谢。 The total size exceeds 190mb, I will send it in two parts embyserver-63850028949.txt Link to comment Share on other sites More sharing options...
axinnice 0 Posted April 30 Author Share Posted April 30 4小时前,卢克说: @axinnice您能否附上完整的 EMBY 服务器日志?谢谢。 2 embyserver-63850028949-1.txt Link to comment Share on other sites More sharing options...
Luke 37272 Posted May 7 Share Posted May 7 Hi, have you updated to Emby Server 4.8.6? Has that helped? Link to comment Share on other sites More sharing options...
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