Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-26-2012, 09:40 AM   PM User | #1
Xibe
New Coder

 
Join Date: Nov 2005
Posts: 66
Thanks: 8
Thanked 0 Times in 0 Posts
Xibe is an unknown quantity at this point
Exclamation 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.
Xibe is offline   Reply With Quote
Old 01-26-2012, 07:51 PM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,532
Thanks: 0
Thanked 503 Times in 494 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
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.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Old 01-27-2012, 04:47 AM   PM User | #3
Xibe
New Coder

 
Join Date: Nov 2005
Posts: 66
Thanks: 8
Thanked 0 Times in 0 Posts
Xibe is an unknown quantity at this point
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!
Xibe is offline   Reply With Quote
Reply

Bookmarks

Tags
apache, httpd.conf, keep alive, keepalive, wordpress

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:39 AM.


Advertisement
Log in to turn off these ads.