Shared Runner and Cache Issues

We had a delay in CI build processing today due to multiple factors. The first problem was with the the shared-runners-manager machines. shared-runners-manager1 hit the open files limit and the gitlab-ci-multi-runner process on share-runners-manager2 crashed.

Once those were cleaned up, there was an issue discovered with the runners-cache-manager-1 server. There were a lot of stuck nginx connections and in order to remedy that we decided to restart the registry container. The restart failed with the following output:

Error response from daemon: Cannot restart container a87f14b76689: driver failed programming external connectivity on endpoint registry (8099455c658c7dac62ca4f6301262b71e666a3c76aa68e6fc7f670458074d885): iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 5000 -j DNAT --to-destination 172.17.0.3:5000 ! -i docker0: iptables: No chain/target/match by that name.
 (exit status 1)

I decided to restart the docker daemon itself to regenerate all of the iptables rules. Once the docker daemon was restarted, the registry began responding again and builds proceeded as normal. Users may have had to cancel and restart their jobs to get them to complete.