-
Notifications
You must be signed in to change notification settings - Fork 41
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
Nixy 0.12.1 timeout issues #29
Comments
Hi @vovinacci! Nixy is semi-aggressive when it comes to checking health on its endpoints, and it seems you are having some occasional long responses a bit randomly from the log. Sometimes with several minutes between each error. Nixy has a timeout of 5s, so if it takes more than 5s to get a response from It would be interesting if you try to measure the avg response time from your nixy servers to your endpoints ( |
Hi @martensson, Thanks a lot for your reply, will try that. Indeed networking at DO is not their strongest point. :) P.S. Won't close the issue for a while if you don't mind. |
Not a problem, just make sure they are on the same private network as well ;) I will leave the issue open a little bit in case you figure out something else 🤔 |
I'm planning to do connection test first for a few hours first that should (if I'm not mistaken) imitate behaviour of Nixy (ask every 2s, wait max 5s for the reply) and to be ran on Nixy server (it's one and the only at the moment)
curl-format.txt:
|
@martensson
So, I would close the issue now as it isn't related to Nixy. |
Hi,
I have nixy 0.12.1 + nginx on separate server and Mesos/Marathon cluster (3 masters + 3 slaves) on Digital Ocean in the same data center.
Nixy runs on Ubuntu 16.04.3 with 1 min load average <= 0.3 and total CPU load <= 25% at any time.
Monitoring is done with Monit.
Issues
There are two quite strange issues. Your help or advice on these would be very much appreciated.
However health check is just fine and no nodes been marked as un-healthy.
Taking a look on hosts metrics - all looks just good, no CPU spikes or network timeouts/errors.
Monit polls
/api/v1/health
once a minute and gets this once in a while (2-3 times for an hour)This seems to be some kind of timeout, when nixy replies quite slow, but I wasn't able to catch it explicitly. This triggers a lot of false negatives.
Monit config part for nixy (it's quite self explanatory):
Configurations
nixy.toml (comments stripped):
/opt/nixy/generate_index_html.sh (wrapper to generate list of running services and reload nginx)
Nginx template is pretty much standard, so I won't list it here.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: