LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-30-2008, 04:53 PM   #1
TefoZi
Member
 
Registered: Apr 2006
Distribution: Debian Etch
Posts: 39

Rep: Reputation: 15
Website is extremely slow.


For some reason from some computers and some networks our website is extremely slow.

From work under Windows and Linux boxes home page loads 3-5sec.
From home
under Windows XP - 3-5sec
under Linux(Ubuntu) - 5min!
another Windows XP 5min also
under Mac 5-10sec, but it might be because computer is slow

My friend test our web site from his work and said:
"- It work so some linux boxes
Windows YES
MAC on some of them YES on some NO
CentOs 5.1 NO
Redhat- kernel 2.6.9 YES
Fedora 8 NO"

What is the problem? Is this our problem or provider problem?

Thank you
 
Old 03-30-2008, 05:08 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
What does this YES and NO mean? And what was the test?

Where is the homepage hosted?
How are you attempting to connect?
Are all the boxen connecting via identical means? (Compare modems with modems - xdsl? same speed? over network? compare on same network.)

Check machine specs - if the page has a lot of rich content, then slow connections will connect slowly. Try it out on a simple web page with no bells and whistles?
 
Old 03-30-2008, 05:16 PM   #3
TefoZi
Member
 
Registered: Apr 2006
Distribution: Debian Etch
Posts: 39

Original Poster
Rep: Reputation: 15
YES and NO means Fast and Slow connection respectively. Test was just open page in the browser. Also tried get page through GET.

Very simple cgi script which generates very simple html.
Connection through web browser.

Hosted on Debian, Apache2.
2 computers in the same network with the same OS has different connection speed. One 3-5 sec and the other up to 5min.

Cache in the browsers is turned off.
 
Old 03-31-2008, 06:57 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Cache in the browsers is turned off.
Check by telling them to refresh.

Anyway, you need to talk to the server sysadmin. Confront her with the two machines you just told me about. Or is it you?
 
Old 03-31-2008, 08:28 AM   #5
lsteacke
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 99

Rep: Reputation: 16
This kinda sounds like it could be a DNS issue. Slowness like this can be caused by faulty DNS entires. On the linux boxes check what is in resolv.conf If every computer that take 5 mins to load the page has the same DNS server that might be it. Just an idea.
 
Old 03-31-2008, 02:12 PM   #6
TefoZi
Member
 
Registered: Apr 2006
Distribution: Debian Etch
Posts: 39

Original Poster
Rep: Reputation: 15
This is very strange, because scp, ping and everything else works just fine. Only web doesn't work.

Also there is one more web server connected to the same switch and I can't access to this server through the web. But ssh works fine.

Looks like switch problem. Not particular pc box problem. Will try to reconnect server to the other switch and see what will happen.
 
Old 03-31-2008, 08:25 PM   #7
TefoZi
Member
 
Registered: Apr 2006
Distribution: Debian Etch
Posts: 39

Original Poster
Rep: Reputation: 15
We figured out what was the problem by changing rules at firewall.
 
Old 04-02-2008, 06:24 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
For others to avoid the same mistakes - which firewall, what changes?

Please describe what it was about the firewall settings causing the slow speed, and if the firewall was something an a server or the other hosts or what.
 
Old 04-03-2008, 12:36 AM   #9
TefoZi
Member
 
Registered: Apr 2006
Distribution: Debian Etch
Posts: 39

Original Poster
Rep: Reputation: 15
I actually didn't get it. Top level administrators set some firewall settings - close all ports and left just opened http, smtp, ftp and few others. We were debuging using tcpdump and figured out that destination server reply for every try to connect but server with the firewall accept only first attempt to connect and reject all the rest. Then sysadmin wrote "keep state" somewhere in the Packet Filtering rules and it works! Sorry i don't know more details.
 
  


Reply



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
Wine extremely slow!!!!!!!!!!!! augu2000 Linux - Software 3 11-01-2005 06:18 PM
ProFTPD extremely slow newuser455 Linux - Software 1 08-27-2005 05:31 PM
sdl games are slow extremely slow linksocc Linux - Software 7 01-17-2004 03:53 PM
KDE extremely slow? totalcommand Linux - Newbie 1 08-18-2001 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration