Giter Site home page Giter Site logo

Comments (7)

0michalsokolowski0 avatar 0michalsokolowski0 commented on June 2, 2024 1

If you can find a local reproducer meanwhile - it will help.

I will try.

Do you mean BTW that before 0.25.0 release there were no issues with memory consumption?

No, I meant that version 0.25.0 was the first one where we noticed the issue. Then I upgraded the library hoping that it would help, but it didn't.

from centrifuge.

FZambia avatar FZambia commented on June 2, 2024

Hello @0michalsokolowski0

Thanks, I'll look. If you can find a local reproducer meanwhile - it will help.

from centrifuge.

FZambia avatar FZambia commented on June 2, 2024

Do you mean BTW that before 0.25.0 release there were no issues with memory consumption?

from centrifuge.

FZambia avatar FZambia commented on June 2, 2024

Also, if you can upload the outputs of /debug/pprof/goroutine?debug=1 and /debug/pprof/goroutine?debug=2 (snapshotted at the moment when memory is high) - it may help to detect the source of the leak. And maybe entire memory profile image (not cropped on the top).

from centrifuge.

FZambia avatar FZambia commented on June 2, 2024

@0michalsokolowski0 hello, any update here? I tried to reproduce using various load profiles combining disconnections/messages - but have not been able to reproduce. So more information required – reproducer, minimal program which shows your usage pattern, goroutine profiles mentioned above - probably this happens under some specific Centrifuge usage/configuration which I am missing.

from centrifuge.

0michalsokolowski0 avatar 0michalsokolowski0 commented on June 2, 2024

Hey, I'm sorry for not getting back to you sooner.

While retrieving the pprof data you requested, I decided to reexamine them and finally found the root cause.
The root cause was custom logic implemented by somebody else. The intention was to enforce max user connections.
Not sure why the library configuration hadn't been used.

I'm sorry for bothering you with that.
Thanks for the suggestion :)

from centrifuge.

FZambia avatar FZambia commented on June 2, 2024

@0michalsokolowski0 glad it solved, will appreciate if you post more details - how it was and how it should be, probably it will help someone in the future or will point me to improve docs or examples.

from centrifuge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.