SimplyWebHosting.com KnowledgeBase Glossary    Contact Us
Search  
   
Browse by Category
SimplyWebHosting.com KnowledgeBase .: Virtuozzo and OpenVz Based Accounts .: What is the KeepAlive directive?

What is the KeepAlive directive?

The KeepAlive directive allows multiple requests to be sent over the same TCP connection. If you have a high number of elements per web page this can use up many TCP connections. You can reduce the overall number of TCP connections used by setting the KeepAlive directive to On.

The KeepAliveTimeout directive controls the amount of time Apache will wait for subsequent requests before closing the TCP connection. If your VPS cannot keep a large number of processes open due to limited kernel memory, you should set the KeepAliveTimeout to 1.

Once you make these changes, you will need to restart the web server for these changes to take effect.


How helpful was this article to you?

Related Articles

article What is the MaxClients directive?
The Apache web server MaxClients directive sets...

(No rating)  3-30-2006    Views: 4056   

User Comments

No comments have been posted.


.: Powered by Lore 1.5.4
Copyright 2005-2014 Advantagecom Networks, Inc.
SimplyWebHosting.com - Xen Linux Virtual Private Servers (VPS) - Paypal Accepted