Skip to content
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

Set a max waiting clients in metadata backend. #1097

Open
dgaubert opened this issue May 23, 2019 · 0 comments
Open

Set a max waiting clients in metadata backend. #1097

dgaubert opened this issue May 23, 2019 · 0 comments

Comments

@dgaubert
Copy link
Contributor

Do not hang request forever when metadata backend is not able to deliver requests. It's preferable, response with an error before pushing the process to its limits. A symptom of these issues is when Tiler drops a bunch of log entries as follows:

[2019-05-23 10:16:18.235] [INFO] console - {"name":"windshaft-server","db":8,"action":"acquire","elapsed":45,"waiting":15}

The more entries like this in logs, the worse is performing metadata backend. It makes the customer's request remaining hung in Tiler, memory grows, and GC enters for a long time turning the process unresponsive, and monit triggers a restart of the service, dropping incoming requests.

Screenshot 2019-05-23 at 12 22 44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant