Linux Socket Connection Problem
Posted on 2011-09-26
We are running Linux RedHat Rel 5.7; fully updated and patched. We have a C application that makes a socket connection to a display device and writes data and after writing the data it closes the connection. We do this every few seconds. The problem we are seeing occurs about 36 hours after rebooting the server. We find that we are unable to make the socket connections to the display device. We get "Error Code 110. Connection Timed Out". Once we start seeing this problem it lasts for roughly 5 hours and then goes away and everything is ok. During the time we are seeing the issue the application that writes to our display devices is not the only application that is affected. If there is any other application that needs to make a socket connection it also will be unable to make a connection. However if there is an application that had a socket already open, it can communicate without any problems. It is only new connections that are failing. We have a case open with RedHat and have not been able to come up with any solutions or even what the source of the problem is. Anyone have any ideas?