We are experiencing intermittent "Address already in use: AH00072: make_sock: could not bind to address" on port 80 failures on our servers. I have looked at other answers and they are mostly based around it being a consistent failure and a LISTEN being defined twice, which is not our issue.
Our issue only happens shortly after boot of the instance where we "sudo service httpd restart" the service to load a new config we lay down depending on the environment.
I was able to catch the issue live and see that it was in fact httpd
that is bound. The issue appears to be that Apache/httpd is hung and can't restart and then the restart doesn't wait for it.
We are using Apache 2.4 on Amazon Linux 1.