Forum Moderators: phranque
For some reason, after running for a few hours, my webserver would stop serving requests. I figured out that it was caused by the fact that there were two duplicate TCP lines when I ran netstat -an.
Proto Local Address Foreign Address State
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
This goes away after I restart Apache, but would come back after a few hours. Then I looked at the process monitor and realized there were two Apache processes running everytime I start Apache.
1) Why would starting apache would start two instances of it? How can I make just one instance running?
2) Why would the duplicate port listening happen only a few hours later?
How do I solve the above problem? Any ideas?