hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Suggestions and help about performance
Reply

Forum Jump

Suggestions and help about performance

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-23-2010, 04:09 AM
tnlone tnlone is offline
Junior Guru Wannabe
 
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



Sponsored Links
  #2  
Old 12-23-2010, 04:22 AM
fabin fabin is offline
Web Hosting Master
 
Join Date: Mar 2009
Location: Gods Own Country
Posts: 660
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  
Old 12-23-2010, 04:34 AM
tnlone tnlone is offline
Junior Guru Wannabe
 
Join Date: Oct 2010
Location: Australia
Posts: 55
Quote:
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

Sponsored Links
  #4  
Old 12-23-2010, 04:42 AM
fabin fabin is offline
Web Hosting Master
 
Join Date: Mar 2009
Location: Gods Own Country
Posts: 660
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  
Old 01-04-2011, 03:19 PM
greecejoe greecejoe is offline
Junior Guru Wannabe
 
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! :-)

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
iWeb Racing online performance parts; FREE Performance pack upgrade in stock! fbc Dedicated Hosting Offers 7 07-24-2008 11:38 AM
JaguarPC performance VS. LiquidWeb performance feelexit VPS Hosting 23 07-20-2007 01:22 AM
Suggestions needed:Celeron D 64 bit Maximising Performance anicrm Dedicated Server 2 01-03-2007 12:45 PM
Suggestions for web hosting w/ high performance 3-4GB MS SQL DB nikk Web Hosting 2 01-25-2005 05:55 PM
p4 3.0 performance tdoyle12345 Dedicated Server 3 08-21-2004 01:38 AM

Related posts from TheWhir.com
Title Type Date Posted
Australian Ecommerce Host Anchor Readies New OpenStack Managed Cloud Web Hosting News 2014-07-25 06:47:00
Rackspace Brings Performance Cloud Servers to Hong Kong Web Hosting News 2014-06-27 13:08:50
SolarWinds Buys Web Performance Monitoring Provider Pingdom Web Hosting News 2014-06-18 12:30:01
Rackspace Updates Public Cloud Servers for Speedy Application Performance Web Hosting News 2013-11-05 10:54:19
Zynga Open Sources Server Performance Monitoring Tool Web Hosting News 2013-08-14 14:12:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?