CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   KeepAlive Configuration - httpd.conf (http://www.codingforums.com/showthread.php?t=249851)

Xibe 01-26-2012 09:40 AM

KeepAlive Configuration - httpd.conf
 
I recently re-configured my httpd.conf configuration to enable KeepAlive, and it drastically improved the page load speeds. But, today I had a medium-sized spike in traffic. We're talking <10k pageviews. And my webpage slowed to a halt. Load times spiked from 2 seconds to 50-60 seconds.

My website does not bring in a ridiculous amount of traffic... usually a lot <15k pageviews per day. It's a Wordpress blog with a decent amount of images, but not too many.

My current KeepAlive configuration is the default one:
Code:

KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 5

Should I change these values? Should I disable KeepAlive and just accept the mediocre page load speeds? If anyone can help me out... I'd be more than willing to donate via PayPal for your valuable time.

felgall 01-26-2012 07:51 PM

Not sure why you needed to reconfigure to turn it on as the default is - on.

With a WordPress blog the best way to speed up load times is to use one of the caching modules that will result in the scripts to build pages only running once every few hours instead of every time someone accesses a page.

Xibe 01-27-2012 04:47 AM

Well I had it turned on. The website slowed down to a near stop when the traffic spiked.

I have since decided I'd turn it off. Thank you for the recommendations, though!


All times are GMT +1. The time now is 05:08 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.