Join GitHub today
Invisible Glutton crash/panic #59
I'm running Glutton directly on my server. Every 1-2 days the server becomes unreachable. I assume Glutton crashed and didn't clean up the iptables rules, locking me out from the machine. I have to reboot the box in order to access it again. I tail stderr to a file to see if there is any output, so far without luck. I assume we never execute https://github.com/kung-foo/freki/blob/master/freki.go#L245 on a panic.
I increased the graceful shutdown period to 120 seconds while monitoring the debug output, which basically prints the following lines for 120 seconds:
Once the container is stopped any open (and also by configuration set to pass through SSH) connection will be cut off, however restarting the container also results in the connections being revived.
iptables while container is active:
Deleting them with
Just tested it and it works if
... shell form does not work, which I am guessing is caused by
Thank you @glaslos