Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2010
    Location
    Australia
    Posts
    55

    Exclamation Suggestions and help about performance

    I have build my website on Drupal CMS, it's hosted on a dedicated server, with Hetzner, 8GB RAM + AMD Athlon 64 X2 6000+ 100 MBit NIC

    I have as much as possible optimized the server,

    This is the configuration:

    Nginx as front end server to Apache + APC for opcode caching.

    I have highly optimised Nginx and Apache + MySql, even fine tuned PHP running, I even have cloudflare as DNS resolver and CDN.

    The server os is Ubuntu 10.04 server.

    The same configuration on my local computer is blistering fast, pages are rendered under 2 seconds. however, the production server has such a lag, and pages are rendered in over 20 + seconds.

    I know that the latency should be the issue as I have 160MS latency from Australia.

    I have no idea anymore what to think and where to look, I even tried profiling it, but nothing really shows, up, except for one slow MySql query which takes upto 1.5 seconds to execute.

    Any suggestions please...

    The url is http://www.azadkashur.com

    I have aggressive cache enabled for anonymous users, so your page time would be 75 percent less to what logged in members see...
    Authint Mail | Here Truth Matter
    Join Authint Mail today and be a part of community which brings truth to reality

  2. #2
    Join Date
    Mar 2009
    Location
    Gods Own Country
    Posts
    680
    I think you can get rid of apache and use Nginx + php-fpm + APC instead.
    Fabin Mundattil @ Xieles Support
    High Quality Server Management | support @ xieles.com
    http://xieles.com

  3. #3
    Join Date
    Oct 2010
    Location
    Australia
    Posts
    55
    I think you can get rid of apache and use Nginx + php-fpm + APC instead.
    I would have got rid of Apache altogether, but there are somethings I need Apache to work for, unfortunately they are not supported by Nginx or my CMS...

    eg, upload progress, private directories amongst few more... any more suggestions...
    Authint Mail | Here Truth Matter
    Join Authint Mail today and be a part of community which brings truth to reality

  4. #4
    Join Date
    Mar 2009
    Location
    Gods Own Country
    Posts
    680
    The use of nginx is useful for static files. When you use a dynamic application ( like drupal ) with nginx and apache, it will be a pain for the server. The nginx has to contact upstream ( apache in this case ) and get the dynamic contents. This will delay things.
    Fabin Mundattil @ Xieles Support
    High Quality Server Management | support @ xieles.com
    http://xieles.com

  5. #5
    Join Date
    Mar 2010
    Posts
    65
    strace the processes and see where it waits and what it waits for. Big chance it's trying to dns-resolve something and just times out. Or something else ... strace it! :-)

Similar Threads

  1. Replies: 7
    Last Post: 07-24-2008, 11:38 AM
  2. JaguarPC performance VS. LiquidWeb performance
    By feelexit in forum VPS Hosting
    Replies: 23
    Last Post: 07-20-2007, 01:22 AM
  3. Replies: 2
    Last Post: 01-03-2007, 12:45 PM
  4. Replies: 2
    Last Post: 01-25-2005, 05:55 PM
  5. p4 3.0 performance
    By tdoyle12345 in forum Dedicated Server
    Replies: 3
    Last Post: 08-21-2004, 01:38 AM

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •