1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

keep-alive off

Discussion in 'Plesk for Linux - 8.x and Older' started by serial-thrilla, Aug 10, 2005.

  1. serial-thrilla

    serial-thrilla Guest

    0
     
    i noticed that the default setting for apache is to have keep-alive on.

    why does plesk turn it off?
     
  2. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Possibly for anticipated heavy traffic dynamic content webservers. Per the Apache docs:
    This is just a supposition on my part, who really knows why any SWSoft programmer does what (s)he does.... :)
     
  3. serial-thrilla

    serial-thrilla Guest

    0
     
    heavy dynamic content servers would not make a difference...

    keep-alives won't be used if the content length is unknown with http/1.0

    however, i can't find any statistics on this, but i would safely say that almost everyone is now using http/1.1, because if they weren't using http/1.1, they wouldn't even be able to view the websites created using hostname based virtualhosts.

    now with http/1.1, we can use keep-alives with dynamic content because http/1.1 introduced chunked encoding.

    therefore, keep-alive should be on by default!
     
  4. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Good point, my brain totally skipped over the .0 part of the docs... my bad...
     
  5. serial-thrilla

    serial-thrilla Guest

    0
     
    thanks and no prob
     
  6. thewolf

    thewolf Regular Pleskian

    25
    57%
    Joined:
    Mar 11, 2004
    Messages:
    231
    Likes Received:
    0
    It looks like the Apache KeepAlive directive is set to Off by Red Hat, not by Plesk.

    Do you think it's safe to turn it on for all Plesk servers?

    Thanks.
     
  7. serial-thrilla

    serial-thrilla Guest

    0
     
    i have. it made a nice improvement because it doesn't have to make another connection for each image on the page.
     
Loading...