-
Notifications
You must be signed in to change notification settings - Fork 0
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
"Failed to process query" errors #31
Comments
Looks like it is timing out..? The same query will often work if re-tried. Indexes were rebuilt, and unfortunately not much has changed. Concurrent users? Something about postgresql versions? |
Maybe the connection (rather than the query) is timing out and needs to be re-established. Once it's working, it seems to stay working. This is not something you would normally see in development unless you let it stay up for a long time. |
https://docs.djangoproject.com/en/1.6/ref/databases/ even says that the development server doesn't keep persistent connections, since a new thread handles each request. |
Unfortunately still happening. |
Given more experience with it, I don't think it's due to the database connections going stale. Current best guess is that the postgres instance is overloaded (probably shared with too many other hobby users, or a few 'hyperactive' ones) and the jQuery ajax call is timing out. |
Hopefully disabling jQuery timeout fixes this, if not I can always add debug logging to the jQuery ajax error handler. |
Sadly just saw this again. |
Now I suspect it's actually happening between the Heroku router and the web app: The Heroku logs have various alerts with the text "[CRITICAL] WORKER TIMEOUT" in them. Not exactly sure what the next course of action is. |
Production repro case: "truthtelling" search seems to hang for a long time, and then brings up an error. What is going on?
The text was updated successfully, but these errors were encountered: