trekflix 5 Posted July 13, 2024 Posted July 13, 2024 Hello. I'm having problems when it reaches 30 simultaneous accesses. The system crashes and I have to restart my server, even though I pay 75 accesses. Can you help me so I know if there is a problem with Emby installed on my Windows 10 Pro? Could it be a problem with the number of connections on Windows 10 Pro? If I use Windows 10 Server would it be more suitable? Attached is the log Log today: embyserver_13-07-2024 Log of when the server crashed: embyserver-63856416815_12-07-2024 embyserver_13-07-2024.txt embyserver-63856416815_12-07-2024.txt
Luke 42077 Posted July 13, 2024 Posted July 13, 2024 Hi, let's start by trying to reduce the resource consumption of your emby server and see if that helps. Please try removing these plugins: 2024-07-12 09:39:36.238 Info App: Loading CoverArt, Version=4.1.27.0, Culture=neutral, PublicKeyToken=null from C:\Users\Servidor\AppData\Roaming\Emby-Server\programdata\plugins\CoverArt.dll 2024-07-12 09:39:36.238 Info App: Loading EpMetaRefresh, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null from C:\Users\Servidor\AppData\Roaming\Emby-Server\programdata\plugins\EpMetaRefresh.dll 2024-07-12 09:39:36.239 Info App: Loading PhillipsHue, Version=1.1.0.6, Culture=neutral, PublicKeyToken=null from C:\Users\Servidor\AppData\Roaming\Emby-Server\programdata\plugins\PhillipsHue.dll 2024-07-12 09:39:36.239 Info App: Loading playback_reporting, Version=2.1.0.5, Culture=neutral, PublicKeyToken=null from C:\Users\Servidor\AppData\Roaming\Emby-Server\programdata\plugins\playback_reporting.dll 2024-07-12 09:39:36.239 Info App: Loading SamsungSmartThings, Version=1.0.0.4, Culture=neutral, PublicKeyToken=null from C:\Users\Servidor\AppData\Roaming\Emby-Server\programdata\plugins\SamsungSmartThings.dll Then restart the server and see how things compare. Thanks.
Happy2Play 9780 Posted July 13, 2024 Posted July 13, 2024 Dev will probably have to explain the error from before you restarted. 2024-07-12 21:31:51.137 Error Server: Error processing request *** Error Report *** Version: 4.8.8.0 Command line: C:\Users\Servidor\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows 10.0.19045 Framework: .NET 6.0.30 OS/Process: x64/x64 Runtime: C:/Users/Servidor/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 8 Data path: C:\Users\Servidor\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\Servidor\AppData\Roaming\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) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: Microsoft.AspNetCore.Server.Kestrel.Core TargetSite: Void Throw(Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason) Looks like maybe a bug Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request content. · Issue #23949 · dotnet/aspnetcore (github.com) [BUG] Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException trying to read form of aborted requests · Issue #1987 · elastic/apm-agent-dotnet (github.com)
trekflix 5 Posted July 14, 2024 Author Posted July 14, 2024 Hello Luke, I uninstalled the plugin you mentioned, but it continues to interrupt after 30 hits. I'm sending new logs now! I'm thinking about changing my system SSD and installing everything again. I use Windows 10 Pro. Do you think if I install Windows Server 2012 it would be better? I already have the original one, or would this system already be outdated? embyserver_13-07-2024 (21h).txt embyserver-63856504232_13-07-2024 (21h).txt
Happy2Play 9780 Posted July 14, 2024 Posted July 14, 2024 Personally would think it would be worse and have less of the newer security features.
trekflix 5 Posted July 14, 2024 Author Posted July 14, 2024 When I went to automatically renew the Emby Premier for 75 accesses, it was not possible on the first attempt, as I had forgotten to release more limit on my card. Then payment was made 3 days later. This month already paid on the right day. In my system, 75 accesses are active, but I never reach even half of them. Is the system not recognizing my 75 access subscription?
Luke 42077 Posted July 14, 2024 Posted July 14, 2024 It sounds like an issue of system resources and not related to the license. What other software runs on the machine?
trekflix 5 Posted July 14, 2024 Author Posted July 14, 2024 Attached is the list of active programs. All are needed: Use AnyDesk for remote connection. No-IP is what makes the external connection to Emby as a website.
justinrh 260 Posted July 14, 2024 Posted July 14, 2024 Check your system resources (RAM, disk I/O, CPU utilization, GPU utilization if transcoding) at up to 29 connections. What is the state of the machine when you have many connections, I think is what Luke is eluding to. Check how much RAM and CPU Emby is consuming (all via Task Mgr).
trekflix 5 Posted July 19, 2024 Author Posted July 19, 2024 Hi, I'm still having trouble transcoding more than 5 videos at the same time when they don't use Direct Playback (when they use it via an internet browser or Chromecast). I replaced my video card with a newer one (used), but it didn't solve the problem. What is the best video card to transcode several videos at the same time? The video card must have 4GB of memory and it must be 256bits or it can be 128bits. embyserver (18-07-2024).txt ffmpeg-transcode-d841e72a-affc-49a8-8743-54cac5760b12_1 (18-07-2024).txt
seanbuff 1315 Posted July 19, 2024 Posted July 19, 2024 You still have not provided any information regarding the state of your machine prior to the system crashing. Are you monitoring your resource levels during these periods? What does it look like with 10 sessions, 20 sessions, 30 sessions? Take a look at your 'Performance' tab in Task Manager, which one of these resources are spiking? Emby logs are helpful, but they're only showing part of the picture.
trekflix 5 Posted July 19, 2024 Author Posted July 19, 2024 I made a print now of the managed tasks. I was using a system SSD, but I thought it might have problems, I bought a new HDD, but it seems that this HDD has 100% processing. Could you tell me what I could improve on my machine so that I no longer have simultaneous transcoding problems.
Lessaj 467 Posted July 19, 2024 Posted July 19, 2024 Wow that's a 15 year old CPU, and that 550 Ti is almost just as old. I'm not sure what version the driver is but in theory the limit should be 8 streams, though if it's an older driver it may still be limited to 4 or even less, since this is a consumer grade card. This would then force a CPU transcode, which that old CPU is really not up to the task for and would explain why it's at 100%. Using a hard drive for the OS is definitely a downgrade from an SSD. You need to look at the dashboard for the reasons transcodes are happening. Maybe you can avoid it by converting some of it, but otherwise you need at least a more recent and powerful GPU to handle more transcoding streams. 4
trekflix 5 Posted July 19, 2024 Author Posted July 19, 2024 Could anyone tell me a CPU and video card configuration that is newer than mine, but not the most expensive? They told me Intel generation 12 or newer.
Happy2Play 9780 Posted July 19, 2024 Posted July 19, 2024 Minus someone who is providing that many simultaneous streams there is no definitive answer as the majority will not be doing more than I would say 10 (just a guess). No one here does testing of this kind that I know of. So one can only speculate on hardware benchmarks. But yes newer hardware will do more more efficiently.
rbjtech 5284 Posted July 20, 2024 Posted July 20, 2024 Is this a legitimate use case ? For 30 simultaneous connections for a personal media server, I'm struggling to comprehend and do not wish to aid any illegal use of this software...
trekflix 5 Posted July 20, 2024 Author Posted July 20, 2024 Family server. Many use Chromecast, Roku, Amazon Fire Stick and all of these devices are transcoding video. Using 100% CPU. Crashing with just 5 transcodes.
vaise 340 Posted July 26, 2024 Posted July 26, 2024 On 20/07/2024 at 08:04, Happy2Play said: Minus someone who is providing that many simultaneous streams there is no definitive answer as the majority will not be doing more than I would say 10 (just a guess). No one here does testing of this kind that I know of. So one can only speculate on hardware benchmarks. But yes newer hardware will do more more efficiently. I saw 8 friends/family on last night - thats a record for me...... 1
vaise 340 Posted July 26, 2024 Posted July 26, 2024 On 21/07/2024 at 07:50, trekflix said: Family server. Many use Chromecast, Roku, Amazon Fire Stick and all of these devices are transcoding video. Using 100% CPU. Crashing with just 5 transcodes. Maybe review all your media and re-encode or re-download a more 'stream friendly' version. I ALSO limit all friends/family to devices that can DIREC PLAY everything - they must upgrade their devices or be cut off. I was fed up of paying higher power bills to transcode for their old Roku 2 devices. I do NOT allow any 4k media libraries to leave my LAN - so no need to transcode those. I limit all remote connections to 6Mbps - so users cant saturate my upload speed. If i see anything transcode, I jump on it straight away - however now I have a new Intel CPU - and just use the built in transcode capability, I dont see an issue with performance/power use anymore. You have a large amount of 'friends/family' on you trekflix.net.
trekflix 5 Posted July 26, 2024 Author Posted July 26, 2024 I changed my CPU to a 12th generation i5. 32GB of memory. I'm waiting for the new GTX 1650 4GB video card to arrive. I did a general upgrade. I want to see if it improves after installing the new video card. The most difficult thing to transcode are the H265 files. I don't have 4K or Full HD videos. Thanks to everyone who gave their opinion.
Lessaj 467 Posted July 26, 2024 Posted July 26, 2024 The 1650 will be able to handle them just fine but if that CPU has graphics even quick sync will do a decent job for now. The 1650 is likely limited to 8 streams without a driver mod.
Chiefmas 40 Posted July 26, 2024 Posted July 26, 2024 On 7/20/2024 at 5:50 PM, trekflix said: Family server. Many use Chromecast, Roku, Amazon Fire Stick and all of these devices are transcoding video. Using 100% CPU. Crashing with just 5 transcodes. You uh...might want to change your user icon. You're basically advertising your "family server" address, and I note that it isn't secured with SSL, so your family are transmitting credentials in the clear.
vaise 340 Posted July 26, 2024 Posted July 26, 2024 4 minutes ago, Chiefmas said: You uh...might want to change your user icon. You're basically advertising your "family server" address, and I note that it isn't secured with SSL, so your family are transmitting credentials in the clear. I agree. Plus consider a real domain name, a reverse proxy, and if hosting large stuff like this, maybe something other than a windows PC.
RanmaCanada 494 Posted July 26, 2024 Posted July 26, 2024 2 hours ago, trekflix said: I changed my CPU to a 12th generation i5. 32GB of memory. I'm waiting for the new GTX 1650 4GB video card to arrive. I did a general upgrade. I want to see if it improves after installing the new video card. The most difficult thing to transcode are the H265 files. I don't have 4K or Full HD videos. Thanks to everyone who gave their opinion. You do not need a video card as the 12th gen i5 will handle all your transcoding needs. The 1650 will actually be a massive bottleneck as it can not handle as many encodes as the i5 due to the memory limitiations 4GB imposes on it even with a hacked driver. Try your system as it is now and then try it with the video card, and you will see that the i5 will handle more transcodes better than the 1650 will. The i5 will only be limited by your array's bandwidth in regards to how many transodes it can do. 1 2
trekflix 5 Posted July 26, 2024 Author Posted July 26, 2024 I'm testing my new i5 12 generation motherboard. but it still used 100% memory (32gb) to transcode some H265 videos. This has been happening for about 2 months, even with the old card I had. A lot of work to transcode h265 videos for those using Chromecast, Roku, Fire Stick, something that didn't give me a headache before. I bought this new video card to see if it helps anything. Because even with the new i5, I noticed a crash in the Emby Panel where it shows the Activities that those who are watching. I can't even say if it stopped playing the films in the house of those who were watching, but it was 100% in memory and I didn't see anyone watching it. I mean, it didn't have the Activities look in 'Now Playing'. Feedback
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