-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in mmap_dict.py
with multiprocess in 0.5.0
#357
Comments
mmap_dict.py
with multiprocess in 0.5.0mmap_dict.py
with multiprocess in 0.5.0
What exactly did you confirm? |
Ah sorry, that 0.5.0 has the issue. 0.4.2 does not have the same problem, but of course there are the process startup problems with metrics db corruption. |
Python 3.6.7 on Debian 9.6 (in a Docker container) I was setting up to test against the commit that you referenced above, but while doing so accidentally installed the most recent commit first (with So, it looks like 5aa256d fixes this |
Huh, that's weird but at least it's fixed. |
What's the issue?
JSON unicode decode error using multiprocess with moderate throughput
What configuration?
prometheus-client==0.5.0
django-prometheus==1.0.15
mod_wsgi
Metrics are exported via HTTP.
What happens?
At minimal throughput (single requests per minute up to tens of requests per minute) there's no problem. Once throughput increases to around 200 requests/minute (quite moderate), we start seeing the above exceptions.
These are containerised workloads, so there are no metrics files that need to be cleared away when the main process starts.
I'm rebuilding against 0.4.2 to validate that the issue was introduced in 0.5.0.
The text was updated successfully, but these errors were encountered: