Solved

All computers on LAN slow down when I have Apache running

Posted on 2014-02-07
5
460 Views
Last Modified: 2014-02-09
I have Apache installed on a Windows Server 2008 computer which I use for LAN purposes only (my firewall blocks port 80 to the outside world). I suddenly noticed that both the server and a Windows 7 box are CRAWLING for all activity (not just network related). As soon as I stop Apache all is well again. I tried uninstalling and reinstalling Apache. Same issue. I tried uninstalling Apache and instead using Mongoose. Same issue. Here is my Mongoose config:

# Mongoose web server configuration file.
# For detailed description of every option, visit
# https://github.com/cesanta/mongoose
# Lines starting with '#' and empty lines are ignored.
# To make a change, remove leading '#', modify option's value,
# save this file and then restart Mongoose.

auth_domain jpresidence.com
document_root D:\roku
listening_port 80

Open in new window


Please help!!
0
Comment
Question by:jpfulton
5 Comments
 
LVL 21

Expert Comment

by:dan_blagut
ID: 39843833
hello

did the option automatically detect settings is ON on Internet explorer?
If yes then your web site can be taken as autoconfiguration site by all workstations and servers in the network.

Dan
0
 
LVL 28

Expert Comment

by:FishMonger
ID: 39844116
I suddenly noticed that both the server and a Windows 7 box are CRAWLING for all activity (not just network related).
Based on that wording you're saying that the Win7 box would take longer to edit/save a spreadsheet file when your server is running a web server.  That does not make any sense.

Please explain in more detail what problem you're having and how it relates to the web server.

Is the problem related to browsing web pages hosted on your web server?  If so, are you browsing using a hostname or IP address?  Maybe you have an issue with your DNS resolution.
0
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 39844146
Install Wireshark on your desktop computer and do a packet capture to see what might be going on.

I can't really think of a way off hand that running a Web server would cause local functions to slow down.  Well, one way.

That is if you were running something on the server that was listening on port 80 and/or 443 that all your desktops need and because of startup order, Apache gets those ports first and the other product can't open them up.  Now all your desktops are connecting to Apache to get/check something that it knows nothing about.

To check and see if that is the case,  stop Apache, wait a minute or two then do the commands:

netstat -an | findstr /c:"LIST" | findstr /c:":80"
netstat -an | findstr /c:"LIST" | findstr /c:":443"

and see if there is something listening on those ports.
0
 

Author Comment

by:jpfulton
ID: 39845301
Based on that wording you're saying that the Win7 box would take longer to edit/save a spreadsheet file when your server is running a web server.  That does not make any sense.

You have that exactly right and I couldn't agree more that it doesn't make any sense. I can only tell you that I've witnessed it.


Before noticing your responses, I tried simply switching the broadcast port from port 80 to port 8080. Problem solved. Obviously there is something else going on that is wrong or at least severely abnormal but for now the immediate problem is fixed. Points going to giltjr because it seems like he/she was very close to the solution or at least how to get there.

Thanks all!
0
 
LVL 57

Expert Comment

by:giltjr
ID: 39845326
Thanks for the points.  I would still suggest you issue those commands.  If something else was listenting on port 80 it should still be listening.

Apache "listens" on port 80/443, actually all HTTP servers (like IIS) listen on those ports by default.   Normally http servers don't broadcast traffic, they only respond.  

So I'm still assuming you have something else running on that server that uses port 80/443 and Apache was starting before it.

The other possibility is that you have an application on all your desktops that is trying to talk to a an application that listens on port 80.   To see if that is the issue you would need to run a packet capture on one of your "normal" desktops that was seeing the problem and see if it is trying to talk to anything on port 80.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now