I'm currently running several different services (mostly spring boot apps) behind Apache httpd in a Reverse proxy configuration. Each service is on an individual instance with an auto-scaling group that feeds an internal elb. The internal elb hostname is the host in the ProxyPass and ProxyPassReverse to simplify host discovery.
Recently ran into an issue caused by the ip addresses behind the ELB changing. The httpd connection pool was keeping connections (or caching connections) to the old ip addresses which was fixed by bouncing httpd. Looking at the mod_proxy configure I saw the disableReuse flag and thought that would solve the problem however it caused a new one. Now my httpd instances are using 4-5x the CPU due to all the new connections it is now creating.
Does anyone have any recommendations for how to configure this setup? Should I re-enable reuse and set a ttl on the Proxy?