I have a linux server program. I notice that after 2-3 days, the server stops responding. When I look into the server log, I find "connection reset by peer" messages.

I have to restart the server. All works fine and then after 2 or 3 days, the same problem occurs.

Any help would be appreciated.