I've recently setup a new server for a site of ours running Ubuntu 12.04. I've installed the Apache, PHP and MySQL packages from the repository and done minimal configuration. The site is loading, however, the response is taking approximately 32 seconds to return. If I monitor the access log file, nothing happens for about 30 seconds and then all of the sudden the request shows up. I'm not an expert with Apache. Where could I start looking to diagnose this issue?
Edit: The site uses the Yii framework and memcached.