Giter Club home page Giter Club logo

Comments (4)

NS4nti avatar NS4nti commented on July 18, 2024

I don't succeed in reproducing this bug, can you maybe post your config file ?

from darwin.

frikilax avatar frikilax commented on July 18, 2024

additional context, while working on something else.
with logs filter and a new version of redis manager.
filter was launched in DEVELOPER mode, logs are what followed a Ctrl+C.

"date":"Thu Oct 17 23:19:28 2019","level":"DEBUG","filter":"logs_1","message":"Server::Handle:: Closing acceptor"}
{"date":"Thu Oct 17 23:19:28 2019","level":"DEBUG","filter":"logs_1","message":"Session::Stop::"}
{"date":"Thu Oct 17 23:19:28 2019","level":"DEBUG","filter":"logs_1","message":"Server::Handle:: Closing acceptor"}
{"date":"Thu Oct 17 23:19:28 2019","level":"INFO","filter":"logs_1","message":"Server::HandleAccept:: Acceptor closed, closing server..."}                                                                                                  
{"date":"Thu Oct 17 23:19:28 2019","level":"DEBUG","filter":"logs_1","message":"Session::ReadHeaderCallback:: Reading header"}                                                                                                              
{"date":"Thu Oct 17 23:19:28 2019","level":"INFO","filter":"logs_1","message":"Monitor::HandleAccept:: Acceptor closed, closing monitor..."}                                                                                                
{"date":"Thu Oct 17 23:19:28 2019","level":"WARNING","filter":"logs_1","message":"Session::ReadHeaderCallback:: Operation canceled"}                                                                                                        
{"date":"Thu Oct 17 23:19:28 2019","level":"CRITICAL","filter":"logs_1","message":"Core::run:: Cannot open unix socket: bad_weak_ptr"}                                                                                                      
{"date":"Thu Oct 17 23:19:28 2019","level":"DEBUG","filter":"logs_1","message":"Core::ClearPID:: Removing PID file"}

from darwin.

HugoSoszynski avatar HugoSoszynski commented on July 18, 2024

It looks like this happen when we close a filter running some callback.

I modified the way a filter is cleaning its resources.
This seems to solve a lot of memory issues when stopping a filter that is running some callbacks.

Seems to solve this issue, needs further testing.
Change will come in v1.1 with addition of the threading (moving this issue to milestone Version 1.1).

from darwin.

HugoSoszynski avatar HugoSoszynski commented on July 18, 2024

Seems to be resolved in #100.

Was due to early clean of the Sessions.

from darwin.

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.