Forum Moderators: phranque

Message Too Old, No Replies

Duplicate Apache Instances in Windows

         

waspfish

8:18 pm on Nov 15, 2005 (gmt 0)



Hi, all, I am running into some issues with Apache, I hope you can shed some lights for me. I am running apache 2.0.55 on Windows XP.

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?