Comments (4)
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.
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.
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.
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)
- Regression: `Check process ancestry tree for test mode override` commit makes my tests fail HOT 1
- Node name not set from DYNO var with mix release on Heroku HOT 3
- `Oban.Met.Recorder` excessive message queue length HOT 5
- Recommended approach to enqueue a job with a guaranteed minimum delay HOT 1
- Race condition when inserting unique jobs HOT 3
- Support `cancelled` callback in `Oban.Testing.Pro.perform_callback/4` HOT 1
- Support Stream in `Oban.Pro.Workers.Batch.new_batch/2` HOT 3
- Potential issues regarding unique jobs HOT 2
- "Handler "oban.batch" has failed and has been detached" when job is cancelled via oban web HOT 3
- Single DynamicCron with missing worker will crash GenServer and hang all DynamicCrons HOT 1
- Getting oban_pro in github ci stopped working HOT 2
- Support `before_process/1` HOT 2
- Execution Deadline is ignoring the `scheduled_at` offset HOT 1
- Oban Web - support bulk actions on filtered jobs HOT 3
- Oban worker backoff algorithm HOT 2
- Possible regression when handling unique advisory lock HOT 4
- Oban Web: Completed Jobs list gets stuck in an empty state HOT 3
- Job executing but stuck forever HOT 4
- Oban.Pro.Workers.Workflow documentation typos HOT 1
- Oban Met - Configure Reporter Interval HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oban.