Giter Site home page Giter Site logo

stderr File descriptor leak about oec HOT 3 CLOSED

opsgenie avatar opsgenie commented on July 21, 2024
stderr File descriptor leak

from oec.

Comments (3)

metehanozturk avatar metehanozturk commented on July 21, 2024

Which version do you use? The problem is solved with the 1.0.3 version (commit version: 5e83474). After the new version, only one lumberjack being instantiated for each mapped action and OEC are re-using it every time. Although we tried to create and close the logger every single triggered action, lumberjack continues to leak. I guess lumberjack has a memory leak issue itself and we track the news from the library. Now, we alternatively create limited lumberjack, use constantly and do not close it. If you can confirm the version, we can get the clue to understanding whether it caused by the same problem or not.
Thanks.

from oec.

ThrosturX avatar ThrosturX commented on July 21, 2024

Thanks for the swift feedback. I will report back at the earliest opportunity.

from oec.

ThrosturX avatar ThrosturX commented on July 21, 2024

Hi @metehanozturk, thank you for getting back to me.
I've verified the issue was reproduced on version 1.0.1, we'll try upgrading soon and report back if the problem persists.
In any case, you're right about Lumberjack leaking: natefinch/lumberjack#81

I'd still like to point out that if you do decide to close the logger at some point, you can't use an io.MultiWriter and expect the exec.Cmd to close the underlying writers.
I will re-open the issue or create a new one if we can reproduce a similar issue in the new version.

from oec.

Related Issues (19)

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.