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
HAProxy 2.4.17 reload issue #1854
Comments
HAProxy Log Showing 10min processing time, server timeout sD but no retries Log Format |
The mention commit is unrelated. It fixes a bug on peers not affecting normal traffic. Do you know if it only happens on reload or not ? Because it may be related to 372b38f. You should try the last 2.4 release (2.4.18) to be sure. If it also happens outside a reload, you can try to get output of |
We are focusing on hitless-reload scenario |
We have taken output of Please let us know if you can find any insights from the output. |
Same issue was observed on HAProxy 2.4.18 as well. |
Thanks for the feedback. Your |
To complete capflam's answer: if 10s CLI timeout bothers you during your tests, you can adjust this setting with the following directive: This way you won't unintentionally loose the old process' CLI. |
Generated session files for old processes by running haproxy with master CLI mode using -S flag.
8189_sessions.txt_masked.txt |
Thanks, I'll take a look. |
In your traces, there is a stream blocked on the response analysis. The response was fully received but there is something blocking the data forwarding. Could you share your http-response rules please, from the frontend and the backend ? |
@capflam Thanks for the pointer. We had a SPOE module enabled and vendor is looking into the issue.
We use |
So, without the SPOE enabled, there is no session blocked on reload, right ? In this case, you should investigate on this point. If you need some help, you should share your configuration. In addition, if it is not already enabled, you may try to enable logs on the SPOE. However, I'm surprised it is only related to the reload. About your resolver issue, you should share your backend configuration. But it may be because several servers get the same IP address and you don't add |
Here is backend configuration
Please note that |
Well probably not in this case because the same port is used. At first glance, there is no reason to have several servers in the same backend with the same IP/PORT. Duplicated IPs are useful when several servers share the same ip address with different ports. So, in this case, you provide 5 servers per backends, but all slots are not filled because your DNS server is returning less than 5 ip address for the corresponding |
The reason we are concerned is that it is resulting in errors during performance tests. JMeter is getting several "No HTTPResponse: Failed to Response" errors. Those HTTP requests are not seen anywhere in backend serverlogs. |
Sorry, I'm puzzled because your are mixing several unrelated issues. to each replies you come back with a new issue. I'll try to sum up.
|
Your summary is accurate. Last two bullets are related to Jmeter performance test. We will try |
with |
Indeed, with At this stage, it seems there is no bug in HAProxy. So I suggest you to get some help on HAproxy forum or on the mailing list. Some users are using HAProxy behind an ALB. They may help you. Github issues must only be used as a bug tracker. I'm closing now. Of course, I may have wrong. In this case, feel free to reopen the issue to provide more info. The forum is at: https://discourse.haproxy.org/ The mailing list (no need to subscribe) is: haproxy@formilux.org |
Detailed Description of the Problem
We are seeing issues with haproxy reload operation in 2.4.17 via systemctl reload command.
No issues were reported with 2.0.17 version.
Some requests are resulting in no HTTP response or HAProxy is timing out with “sD” termination state and retrying, but retry counters are zero.
From timings, it seems that HAproxy got response from backed server quickly but somehow waited for 10 minutes before it could send response. (Our timeout is 10 mins)
Is this a known issue and has it been fixed in later releases?
Is it related to http://git.haproxy.org/?p=haproxy-2.4.git;a=commitdiff;h=1f8342f
Expected Behavior
Traffic should not fail during HAproxy 2.4.17 reload operation
Steps to Reproduce the Behavior
Send continuous traffic to haproxy 2.4.17
Reload haproxy few times
Do you have any idea what may have caused this?
No response
Do you have an idea how to solve the issue?
No response
What is your configuration?
Output of
haproxy -vv
Last Outputs and Backtraces
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: