LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2009, 10:13 AM   #1
mahmoud
Member
 
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Rep: Reputation: 30
apache performance


Hi
Can anyone tell me how this config will affect the performance of my web server apache

KeepAliveTimeout 15
KeepAlive Off
MaxKeepAliveRequests 100
Timeout 120
 
Old 01-19-2009, 03:32 PM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
KeepAliveTimeout: The number of seconds Apache will wait for a subsequent request before closing the connection. Once a request has been received, the timeout value specified by the Timeout directive applies.

KeepAlive: Enable Keep-Alive connections.

MaxKeepAliveRequests: The MaxKeepAliveRequests directive limits the number of requests allowed per connection when KeepAlive is on. If it is set to "0", unlimited requests will be allowed.

Timeout: The TimeOut directive currently defines the amount of time Apache will wait for three things:

1. The total amount of time it takes to receive a GET request.
2. The amount of time between receipt of TCP packets on a POST or PUT request.
3. The amount of time between ACKs on transmissions of TCP packets in responses.
 
Old 01-19-2009, 05:34 PM   #3
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
Please correct me if I'm wrong, but so far I was under the impression that setting 'KeepAlive' to Off will render 'KeepAliveTimeout ' and 'MaxKeepAliveRequests' values irrelevant. Based on this assumption only the 'Timeout' setting would have any effect on performance.

Timeout is sometimes a problem with web scripts that need a long time to finish (uploading large amounts of bibliographic data with immediate dataprocessing, for example) - Apache will kill them off unfinished, even if repeated requests are made by the script to extend the timeout value (requests not granted, I guess). Large timeout values are only a problem with bad scripts (endless loops, etc), otherwise a correctly terminating script with a short runtime will not cause performance problems.

Debian

Last edited by servat78; 02-19-2009 at 11:08 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
measure apache website performance noir911 Linux - Server 1 09-12-2008 02:01 AM
apache performance tuning sachin1361 Linux - Enterprise 1 03-05-2007 06:19 AM
Optimizing Apache for performance on FreeBSd !! apache Linux - Networking 1 07-28-2004 09:07 AM
Apache Performance Crashed_Again Linux - Software 7 12-18-2003 04:33 PM
Apache Download Server Performance Issues Matt@Ants Linux - General 1 08-04-2003 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration