-
Notifications
You must be signed in to change notification settings - Fork 2
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
ADd addressttl to the proxy entries in shared, venue proxies #480
Comments
The thought here is that the DNS caching might be causing issues with the application ELBs- restarts often 'fix' the issues, and it could be that a cached DNS entry is no longer working. |
One theory is that adding |
@mike-gangl I re-read your description above. I think you are suggesting setting something other than |
We can certainly try this- it seems like it will re-query the DNS once by using |
i think the above command will work as well- Regardless, we need to apply this in both the venue proxies and the Shared service proxies pointing at the venue proxies. |
I agree with Mike, in comparison to I'm not sure what's smartest to replace it with? I feel like something non-zero (otherwise we're basically always requerying the DNS for every request; more load), but is ...Unfortunately I have a venue-proxy&MC currently stood up from another test, and was able to actually try it. It chokes with a:
Poking around a bit the only explanation I can find is that our base image (
And based on this thread (I couldn't find any other source besides this), |
@jpl-btlunsfo did you do your poking around yesterday or so? I just redployed a new apache2 this morning, and it appears we are on 2.4.41:
|
@jpl-btlunsfo regardless, please do what you think is best in terms of the options, and apply this to both the venue proxies and the Shared service proxies pointing at the venue proxies. |
No, that was from this morning (right before my message). The image/httpd version you're seeing is probably from the last time the httpd-proxy container was built, rather than my Regardless, neither seems to support |
So uh, had a thought and tested it, but is there a specific reason we're using the I ask because I was able to build our dockerfile (with minimal changes) pointing at that base image instead with no issue (and using |
The |
A restart to the HTTPD proxies often fixes many issues. One issue might be that the load balancer a proxy is pointing to might change over time. If this happens, and our DNS TTL is infinite, it will eventually point to the wrong location. this may result in a 404 or a hung connection (gateway timeout).
For the proxy entries, we might want to set some parameters:
addressttl -1 TTL in seconds for how long DNS resolutions of the backend address are cached. -1 means until restart of Apache httpd.
This might help as restarting the proxy often fixes the issues, which is indicative of the above.
Slack Message
The text was updated successfully, but these errors were encountered: