Dedicated virtual setup is slow with WordPress
        Posted  
        
            by kovshenin
        on Server Fault
        
        See other posts from Server Fault
        
            or by kovshenin
        
        
        
        Published on 2010-04-19T08:32:55Z
        Indexed on 
            2010/04/19
            8:44 UTC
        
        
        Read the original article
        Hit count: 357
        
Hey. I'm running a Fedora linux server on the Amazon EC2 platform. I'm pretty sure there's something wrong with my configuration as it seems to be very slow. SSH sometimes takes over 30 seconds to connect, a WordPress generated web page could take 5 seconds to load, and it could take 20 seconds to load, which is pretty awkward.
MySQL queries are all executed in less than a second, so I don't think that's the case.
I'm not really sure where the issue lies, but a simple page written in PHP loads instantly. A fresh WordPress installation starts lagging. Same works perfect on grid hosting at MediaTemple for instance, so I'm pretty sure I missed something.
If you could please direct me to the right tools and articles which would help me out. Thanks so much!
Fedora Core 8, php 5.2.6, MySQL 5.0.45, OpenSSH 4.7p1, OpenSSL 0.9.8b. PHP is configured as a module to Apache 2.2.9, all websites based on virtual hosts. I have some on-going php scripts running from time to time in the background via cron.
Thanks.
© Server Fault or respective owner