Jump to content

emby leaking memory too much 25G


Recommended Posts

ggafewfa
Posted

"Emby is continuously using more memory, eventually consuming all 32GB of RAM."

log error is 

 

2024-06-08 19:14:51.607 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.7.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 5.15.0-107-generic (buildd@lcy02-amd64-012) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #117-Ubun
    Framework: .NET 6.0.25
    OS/Process: x64/x64
    Runtime: opt/emby-server/system/System.Private.CoreLib.dll
    Processor count: 12
    Data path: /var/lib/emby
    Application path: /opt/emby-server/system
    System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'name')
       at Emby.Server.Implementations.Library.UserManager.GetUserByName(String name)
       at Emby.Server.Implementations.Session.SessionManager.AuthenticateNewSessionInternal(AuthenticationRequest request, Boolean enforcePassword, CancellationToken cancellationToken)
       at Emby.Api.UserService.Post(AuthenticateUserByName request)
       at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
       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: Emby.Server.Implementations
    TargetSite: MediaBrowser.Controller.Entities.User GetUserByName(System.String)

 

 

image.thumb.png.f938b75b4f504d3fdff880a21d9049ca.png

Q-Droid
Posted

You're joking, right? In your 1 minute log there were 56 different IP addresses hitting your server.

 

  • Haha 3
ggafewfa
Posted

"There are quite a lot of users."

Neminem
Posted

I guess you need to upgrade your Memory, to accommodate you "There are quite a lot of users."

  • Like 1
Posted

Hi there, please attach the complete emby server log file. Thanks.

Posted

"I have to keep restarting the Emby service to reduce memory usage, but soon the memory usage rises above 20GB again, so I continue to restart it."

Posted

How many users are connecting?

Posted

200? And you wonder why it's using so much memory. 🙃 You sound like a share seller.

  • Haha 1
  • Agree 1
Neminem
Posted

200 ? thats a lot.

Emby - The open media solution

Your personal media on any device
Bringing all of your home videos, music, and photos together into one place has never been easier. Your personal Emby Server automatically converts and streams your media on-the-fly to play on any device.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...