Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2005
    Posts
    66
    Thanks
    8
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,640
    Thanks
    0
    Thanked 649 Times in 639 Posts
    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/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New Coder
    Join Date
    Nov 2005
    Posts
    66
    Thanks
    8
    Thanked 0 Times in 0 Posts
    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!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •