Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server is Extremely Slow

Status
Not open for further replies.

trs2988

Programmer
Jun 25, 2004
5
US
I set up an Apache Server on my system more just to test stuff out and play around then to do anything useful. I have Apache 2.0.49 installed with PHP 4.3.7 and MySQL 4.0.18. I'm running Windows XP on a Celeron 2.8 with 512 DDR333.

Small amounts of text work just fine, but pictures take ages to load. I ran some tests on another computer downloading images, archives, and executables from the server computer. The average download speed was 1.5 KB/s.

Comcast advertises 30 KB/s upload speeds, and I proved that by uploading a file to my web host and getting upload speeds of 29 or 30. Why, then, will Apache only dish out speeds of 1.5 KB/s? Does it not want to use up my whole internet connection, and there's a setting I can change for that? I built this computer mainly to be a print, file, and web server, so I don't care how much it uses up.

How can I get this to run faster? Any help would be appreciated. Thanks.
 
It is possible that if you are not paying for a server service plan with your ISP that they are throttling port 80 outbound. Just a thought...

D
 
Forgot to mention: To confirm this, try accessing your webserver from the same LAN to see if the speeds are reasonable. If the speeds are OK accessing the server over your LAN, it could be your ISP.

D
 
The LAN speed is very high; however, you forgot something else. I can upload from the server to another web host at 30 KB/s. That's how I know that it's not my ISP, but instead the software. It should be uploading to other client computers at 30 KB/s also.
 
trs2988 said:
The LAN speed is very high; however, you forgot something else. I can upload from the server to another web host at 30 KB/s.

You may be able to upload to another web host at 30KB/sec, but if you were transferring a file, it was probably not port 80, which is the HTTP port. If your web server is working at normal speeds on your internal LAN, it is not the software.

You may want to check your ISP's policy for running your own webserver. A lot of ISP's are blocking requests on this port for home users to protect them from flaws in IIS (the ISP I'm on did this, and I switched to a server plan.)

D
 
Ah, I see what you mean now. Thank you. I have contacted Comcast and asked them about that, and I'll wait and see what they say. Thanks again.
 
trs2988 - any luck yet? I have the same problem.
I use Telia ADSL (Swedish ISP) and apache, php, mysql.
I can view webpages w/o problems, but when I try to view a picture larger than ~7 kb it is absolutely inpossible.
Is there any parameters in the http.conf that control the throughput maybe?

Regards
 
Nope. Comcast got back to me, with all the normal stuff that showed that they didn't understand my problem or they just didn't care. Do you have enough memory? If the web server you're trying to download from fast enough? I mean, seriously, they couldn't have read my email completely.

But I'm interested in knowing, what ISP do you use? If it's Comcast, then maybe it is possible that they restrict port 80 but they won't tell anyone >.<
 
i have comcast as well with no problems, port 80 sends and receives at the top speed they advertise
 
I had a friend test the connection. First he said it was 30 KB/s, then he said he lied and it was 5 KB/s, and then he said he lied about lying. Don't trust friends.

So, I decided to test it out myself. I went to a family member's house and typed in the IP. Sure enough... 30 KB/s. For some strange reason, typing in my IP from already within the network caused it to go REALLY slow. I don't know why, and it's probably just specific to my router.

Anyway, I can just use the internal IP from computers within my network to get like 2000 KB/s and my external IP from outside to get 30 KB/s. Everything's good. Thanks to everyone who helped!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top