LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-27-2005, 12:32 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,896

Rep: Reputation: 73
Why is my Web Server So Slow?


Ok, Apache is running great and have no problems however this things is balls slow! I had an IIS server on the same connection and that thing ran circles around this.

I don't know what the problem is however as you can see, my home page just struggles to load.

I am on a cable (broadband) connection.

http://carlwill.dyndns.org

Any thoughts / suggestions?
 
Old 10-28-2005, 07:48 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I have had a look at your page and here are some comments;

The image is fairly hefty at 253kBytes. Checked the download speed and that was running at an average 23KB. If you are on a 512 connection then this is correct because the upstream rate is half your downstream. So there is 100% utilisation of the bandwidth and it won't get better unless you increase your connection speed.

Also have a look at gzip compression and the howto here . It may help other apps and probably not the image as this is already compressed. I run it on my server and I know it reduces the bandwidth utilisation, particularly when accessing database records off mysql.

Last edited by TigerOC; 10-28-2005 at 08:16 AM.
 
Old 10-28-2005, 07:55 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,896

Original Poster
Rep: Reputation: 73
Yes, I guess it does not like the large image and it seems by conenction speed is a bottle kneck.

They can give me 6MB down and like 128k up
 
Old 10-28-2005, 07:58 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by carlwill
They can give me 6MB down and like 128k up
It's the upstream that is the problem. What is your current upstream? I run adsl at 512 and my upstream is 256 and downstream is quoted 512 but is usually running just under 600.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow web server response for net IP, fast for 127.0.0.1 rpdillon Linux - Networking 1 03-09-2005 09:43 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
eth0 works but not with google.com and web server is slow to access ecarlsonlinux Linux - Networking 8 03-04-2004 03:27 PM
IPTables Slow Web Server dwest576 Linux - Networking 1 12-07-2002 06:58 AM
Help!!! Red hat 7.2 FTP, WEB, MAIL connectivity to the server is running slow jobesd Linux - Distributions 0 02-28-2002 03:49 PM


All times are GMT -5. The time now is 12:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration