8000 Out of memory / Aborted (core dumped) for browse user · Issue #1372 · slskd/slskd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Out of memory / Aborted (core dumped) for browse user #1372
Open
@annomatik

Description

@annomatik

I have just received an Out of memory / Aborted (core dumped) error when trying to Browse user hunterbiden69 . My container was first set to 500m , which apparently was not enough. I stopped and removed the container, changed the memory limit to 2g, recreated the slskd container, retried browsing the user. According to Dozzle, slskd memory footprint went up to about 650m, then it crashed.

I retried it a third time, again with the 2g memory limit. This time, slskd did not crash but threw the following error.

[07:50:29 ERR] An unhandled exception has occurred while executing the request.
Soulseek.SoulseekClientException: Failed to browse user hunterbiden69: The peer returned an invalid browse response
 ---> Soulseek.MessageReadException: The peer returned an invalid browse response
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at Soulseek.Messaging.MessageReaderExtensions.ReadFile(MessageReader`1 reader)
   at Soulseek.Messaging.MessageReaderExtensions.ReadDirectory(MessageReader`1 reader)
   at Soulseek.Messaging.Messages.BrowseResponseFactory.FromByteArray(Byte[] bytes)
   at Soulseek.Messaging.Handlers.PeerMessageHandler.HandleMessageRead(Object sender, Byte[] message)
   --- End of inner exception stack trace ---
   at Soulseek.SoulseekClient.BrowseInternalAsync(String username, BrowseOptions options, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Soulseek.SoulseekClient.BrowseInternalAsync(String username, BrowseOptions options, CancellationToken cancellationToken)
   at slskd.Users.API.UsersController.Browse(String username)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at slskd.HTMLInjectionMiddleware.InvokeAsync(HttpContext context)
   at slskd.HTMLRewriteMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      2963
      0