-
Notifications
You must be signed in to change notification settings - Fork 12
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
www.osm.org and api.osm.org tune Apache HTTP timeouts #950
Comments
Maybe do some research before suggesting timeouts that exactly match what we already have? |
Here's the settings if you want proof... https://github.com/openstreetmap/openstreetmap-website/blob/f138055849e5b09cd94797c3e1705c6357d6b93b/config/settings.yml#L48 |
I know the api timeout is 300s. The main issue is |
It isn't, it's 30 seconds, that's what It doesn't really help though because once one of them is hogging all the daemons the other one won't get a look in. None of it is in any way relevant to anything that happened today as far as I know, but I'll know more once I've actually finished getting to the bottom of what happened instead of just guessing and throwing random suggestions in the ring. |
I have tweaked the ticket title to include Apache. Currently apache's global timeout is set to |
We already have the request timeout configured separately in apache via the I'm still investigating what happened but at least in part timeouts were actually making it worse because we wound up with lots of database queries still running after the web requests that initiated them had timed out. |
Currently both www and api share the same HTTP timeout, the HTTP timeouts should tuned appropriately.
The text was updated successfully, but these errors were encountered: