I'm having this intermittent problem with a server program I wrote, and every couple of weeks, it terminates because it fails in attempting to accept a socket. I am using a C++ wrapper class for the traditional unix socket api, and my machines which run the server are behind a barracuda load balancer. I suspect the load balancer of causing this problem, but have no proof of it. it is also possible that there is some sort of attack being perpetrated on my server, but there is no evidence of this. Is there any bug in the linux 2.6.x kernel that causes a system to run out of sockets over time? generally, my server will successfully accept thousands of connections before displaying this problem, so I doubt it's an issue with my code.
Hardware:
2x Dell PowerEdge 6850/4x dual core 2.66GHz CPU/16GB RAM
OS:
OpenSUSE 10.3 release/Kernel 2.6.22.5-31
Other software:
MySQL 5.0.45-22