Hi. I've read through countless threads on here regarding Apache configuration and slow page loads but nothing I do seems to help.
My Linode 512 is hosting this Wordpress site:
http://www.corstorphinehill.co.uk
It's not getting much traffic.
Sometimes, maybe every 15th page, it will take the page up to 40 seconds to load. It seems to spend a lot of time "waiting for website" in Firefox.
My YSlow score is Grade A (93/100)
My PageSpeed score is 95/100
I've ruled out my firewall (ufw) by temporarily disabling it. The load never seems to spike. I'm at a bit of a dead end. Can anyone please help? Is there any way to tell exactly why my browser is waiting?
Here's my apache config:
Code:
ServerRoot "/etc/apache2"
LockFile /var/lock/apache2/accept.lock
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 2
<IfModule mpm_prefork_module>
KeepAliveTimeout 2
StartServers 5
MinSpareServers 5
MaxSpareServers 5
MaxClients 20
MaxRequestsPerChild 1000
</IfModule>
<IfModule mpm_worker_module>
StartServers 1
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 8
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_event_module>
StartServers 1
MaxClients 8
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy all
</Files>
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/apache2/error.log
LogLevel warn
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
logfile
CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined
Include /etc/apache2/conf.d/
Include /etc/apache2/sites-enabled/