yanest 0 Posted January 30 Posted January 30 Hi everyone, my emby server crashes every day. When something goes wrong, its CPU and memory are completely occupied. I have 96G memory and 20 CPU cores, which will be occupied and crash in a short time. I searched for the logs before the crash and found that the only useful error log is this. Please help me 2025-01-30 21:04:29.739 Error Server: Error processing request *** Error Report *** Version: 4.8.10.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 4.15.0-213-generic (buildd@lcy02-amd64-079) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 20 Framework: .NET 6.0.31 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 40 Data path: /var/lib/emby Application path: /opt/emby-server/system Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request content. at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1ContentLengthMessageBody.ReadAsyncInternal(CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) at System.IO.Pipelines.PipeReader.CopyToAsyncCore[TStream](TStream destination, Func`4 writeAsync, CancellationToken cancellationToken) at ServiceStack.StreamExtensions.CopyToNewMemoryStreamAsync(Stream stream) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack.Text/src/ServiceStack.Text/StreamExtensions.cs:line 687 at ServiceStack.Text.NetCoreMemory.DeserializeAsync(Stream stream, Type type, DeserializeStringSpanDelegate deserializer) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack.Text/src/ServiceStack.Text/NetCoreMemory.cs:line 175 at Emby.Server.Implementations.Services.ServiceHandler.CreateRequest(HttpListenerHost host, IRequest httpReq, RestPath restPath) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
Luke 39008 Posted January 30 Posted January 30 Hi there, please attach the complete emby server log file. Thanks.
yanest 0 Posted January 31 Author Posted January 31 6 hours ago, Luke said: Hi there, please attach the complete emby server log file. Thanks. hi luke Since my log is very large, I will send you the log of the last hour before the crash. My emby started to have abnormal CPU and memory at around 21:00, and then started to crash. Please help me check embyserver-63873868072.txt
Luke 39008 Posted February 3 Posted February 3 @yanestactually I would like to see the log from the very beginning when starting up the server. Can you please provide that? Thanks.
yanest 0 Posted February 3 Author Posted February 3 5 hours ago, Luke said: @yanestactually I would like to see the log from the very beginning when starting up the server. Can you please provide that? Thanks. This is the log from my last startup embyserver-63874051200.txt.zip
Luke 39008 Posted February 4 Posted February 4 20 hours ago, yanest said: This is the log from my last startup embyserver-63874051200.txt.zip 13.03 MB · 0 downloads OK please try removing these plugins: 2025-02-01 20:41:33.546 Info App: Loading InfuseSync, Version=1.5.1.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/InfuseSync.dll Then restart the server and let us know how things compare. Thanks.
yanest 0 Posted February 4 Author Posted February 4 8 hours ago, Luke said: OK please try removing these plugins: 2025-02-01 20:41:33.546 Info App: Loading InfuseSync, Version=1.5.1.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/InfuseSync.dll Then restart the server and let us know how things compare. Thanks. I deleted the infuse-sync plugin, but the problem still exists. It crashes once a day after filling up all memory. This happens at night when there are a lot of viewers. It happens almost within a few minutes. It returns to normal after restarting.
Luke 39008 Posted February 4 Posted February 4 8 hours ago, yanest said: I deleted the infuse-sync plugin, but the problem still exists. It crashes once a day after filling up all memory. This happens at night when there are a lot of viewers. It happens almost within a few minutes. It returns to normal after restarting. OK can you please provide a new server log example? Thanks !
yanest 0 Posted February 5 Author Posted February 5 5 hours ago, Luke said: OK can you please provide a new server log example? Thanks ! here you are,thanks embyserver-63874310400.zip
yanest 0 Posted February 5 Author Posted February 5 4 hours ago, Luke said: How many users were connected? I'd guess about 100. It's probably not related to the number of connections, as this has only recently appeared and was working fine before. I've also deleted some users recently and that didn't fix it.
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