Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Use timeout in connect function, #85
Conversation
…te monitor systems is unreachable that causing loss all other communications, maybe later should make it optional config parameter
|
Hmm, this exposes another problem: when using the timeout patch, it is not obvious that a timeout has occurred. At the very least, this feature should fix the "connect failed: Unknown error" message. I'm not especially happy with the connect timeout code anyway - it was added to support nut-scanner. But in the long run, if we are changing effective TCP timeout behavior, that timeout should be configurable. |
|
trying to resurrect the discussion:
@clepple @zykh @jimklimov thoughts and comments? |
|
Just to be sure, this is orthogonal to rapid data stale-unstale sequei reported a few weeks ago (as #651 OTOH)? |
Debian packaging: explicitly request libssl*-dev so OBS is not confus…

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

avoiding sigpipe in case one of remote monitor systems is unreachable that causing loss all other communications, maybe later should make it optional config parameter.
Example.
Monitoring 3 upses in upsmon.conf:
Before patch (waiting for default kernel timeouts and tcp_syn_retries, blocking all work for 190 seconds and finally got COMMBAD for all upses):
After patch (Pause 10 seconds on unreachable entry, other connections still alive):
So, if timeout is defined since 587d5f8, why not to use it?!
Patch tested and working, but WARNING, I'M NOT A CODER..