The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Keep alive or death

Discussion in 'Workarounds and Optimization' started by Massoud, Mar 7, 2011.

  1. Massoud

    Massoud Active Member

    Feb 20, 2011
    Likes Received:
    Trophy Points:
    Since one and half month ago I've had a lot of research and studied.
    Now I have a VPS with 2GHz CPU, 4GB RAM and run Apache version 2.2 SuPHP, PHP 5.x

    I have a very serious question about the Apache behavior with or without KeepAlive function
    when I enable KeepAlive function and set:
    KeepAliveTimeout 2
    MaxKeepAliveRequests 200

    my pages are opening quick and smoothly but compare to KeepAlive Off, I have more than twice CPU Usage.

    the very strange behavior of Apache when KeepAlive is Off, is My website open in some ISP and not opening completely in others with same bandwidth, I've check the situation in same time with my friends.

    Now I want to know related setting and any customization for using KeepAlive and having better performance for heavy traffic.

Share This Page