Today i had a very unpleasant experience with an aolserver process hanging. aolserver is controlled by daemontools and seems to have crashed at 4am, but did not close current connections. daemontools restarted aolserver, but the restarted aolserver could not listen to port 80 because the old process was still there somehow...
ps ax showed a single [nsd] with status "DW" (that could not be killed), netstat showed a lot of connections to port 80 in status SYN_RECV. there were also still some postgres backends around.
i tried to get rid of the connections by restarting the network, taking down eth0 but nothing worked. (why is that by the way?)
did anyone else have such problems? i would be glad to hear about any experiences with something like that!
tia, peter