Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8201709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:54:25+00:00 2026-06-07T06:54:25+00:00

We have just installed/configured a new web server to replace our out-of-date one. Let’s

  • 0

We have just installed/configured a new web server to replace our out-of-date one. Let’s call the old server ‘server1’ + the new server ‘server2’. They are both running the same website, with the same code, yet the older server is still serving web pages far more quickly than the new one. Firstly, here is some more detail on the server specs:

Server1 config:

Linux server1 2.6.32-25-generic-pae #45-Ubuntu SMP Sat Oct 16 21:01:33 UTC 2010 i686 GNU/Linux

MemTotal: 6180036 kB

8 cores Intel(R) Xeon(R) CPU E5620 @ 2.40GHz

Server version: Apache/2.2.14 (Ubuntu)

Server2 Config:

Linux server2 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

MemTotal: 24682544 kB

16 cores Intel(R) Xeon(R) CPU E5620 @ 2.40GHz

Server version: Apache/2.2.22 (Ubuntu)

The major differences are that server2 has a 64bit OS architecture and also has a lot more RAM and CPU power.

I don’t know about you, but I’d expect server2 to blow the socks of server1. However This is not the case when it comes to serving webpages.

Developer Tools output for both servers page loads:

Server1
Waiting Time: 314ms

Server2
Waiting Time: 5.45s

As you can see, the exact same file requests are made from both machines, yet server1 is still dominating.

I have tried looking into several factors that may be affecting the ‘Waiting Time’, but I am having a lot of difficulty narrowing down where the time is being spent.
I have looked into the Apache2 configuration, the exact same directives and module extensions are applied across both machines… diff’d the code and verified it is identical… The network/ping/nslookup times are pretty much identical.

Can anyone explain what exactly how ‘Waiting time’ is calculated, and any practices that can be used to narrow down the problem?

Many thanks,
ns

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T06:54:27+00:00Added an answer on June 7, 2026 at 6:54 am

    Yes I did eventually get to the bottom of it. Although the solution to your problem is likely to be very different to mine. ‘Waiting time’ is quite a broad term which can relate to anything that executes on the server-side.

    In my case, I had to manually debug the code in a rather painful way, by printing loads of microtime() statements around the code to figure out where the time was being lost.

    It turned out that there was some legacy code which had an exec to /sbin/route.

    On the original 32-bit systems, this was executing in no time at all, but from 64-bit machine, it was taking in excess of 5 seconds:

    $ time /sbin/route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    default         10.10.10.1       0.0.0.0         UG    100    0        0 eth0
    
    real    0m5.007s
    user    0m0.000s
    sys     0m0.004s
    

    Not sure if /sbin/route generally executes slower on 64-bit machine (if so, It’d be nice to know why), or whether it was just the newer OS version that was to blame.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have successfully installed and configured gitosis on an Ubuntu server. We're currently just
I have just installed that latest stable release of TortoiseSVN on Windows Server 2003
I have installed Sonar and configured it to analyze our (.NET) projects (using Sonar-Runner).
I am going to install Debian on our new dedicated server and I have
i have just started learning solr. i have installed apache tomcat server and solr
I have just installed composer in my /usr/bin folder, so when from that folder
I have just installed Java JDK 6u33 in Windows XP. Even though I didn't
I have just installed RVM in my machine and facing problem with rvmrc file,
I have just installed Git For Windows , and created my SSH key using
I have just installed Visual Studio 2008 on a Virtual PC to evaluate it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.