Code Monkey home page Code Monkey logo

Comments (4)

sorentwo avatar sorentwo commented on July 30, 2024 2

The warning is coming from a producer attempting to unlock jobs that weren't locked by the current session. It is noisy and annoying, but can safely be ignored.

This is a shortcoming of using advisory locks and is among the primary reasons that I'm investigating an alternative tracking mechanism for executing jobs.

from oban.

eteubert avatar eteubert commented on July 30, 2024

I currently get thousands of lines of WARNING: you don't own a lock of type ShareLock per second, which leads to the log file growing rapidly to unhealthy sizes.

I can reproduce this on my local machine and it also happens on staging, where the disk ran out of space. Is there anything I can do to mitigate this besides disabling logs or reducing log retention?

from oban.

sorentwo avatar sorentwo commented on July 30, 2024

There are changes in master which eliminate the use of advisory locks entirely. I’ve been running master for the past week without any issue, but I haven’t released 0.8 yet.

Feel free to test master on your staging server and report back. I’d really appreciate any feedback.

If that isn’t an option and you’d prefer to wait, you can reduce your Ecto pool size which will reduce the number of warnings.

from oban.

eteubert avatar eteubert commented on July 30, 2024

I had an issue with the migration (#61) but apart from that it's running smoothly on my local machine so far 👍🏻

from oban.

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.