Bug 217349 - Include lingerd for huge performace gains in webapps
Summary: Include lingerd for huge performace gains in webapps
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: httpd
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-27 11:36 UTC by Jan Wildeboer
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-27 12:08:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Wildeboer 2006-11-27 11:36:14 UTC
Description of problem:

Feature Request

Version-Release number of selected component (if applicable):

All Apache in RHEL4/5

How reproducible:

Always
Steps to Reproduce:
1. Put dynamic pages up
2. Put apache under stress
3. Wait
  
Actual results:

Lots of processes end up in FIN_WAIT, blocking untill release

Expected results:

Fast release fo apache processes by using lingerd.

Additional info:

I propose to add lingerd as optional component to RHEL. Infos about lingerd:

http://www.iagora.com/about/software/lingerd/

Lingerd is a daemon (service) designed to take over the job of properly closing
network connections from an http server like Apache.

Because of some technical complications in the way TCP/IP and HTTP work, each
Apache process currently wastes a lot of time "lingering" on client connections,
after the page has been generated and sent. Lingerd takes over this job, leaving
the Apache process immediately free to handle a new connection. As a result,
Lingerd makes it possible to serve the same load using considerably fewer Apache
processes. This translates into a reduced load on the server.

Lingerd is particularily useful in Apache webservers that generate dynamic pages
(e.g in conjunction with mod_perl, mod_php or Java/Jakarta/Tomcat).

More importantely, lingerd can only do an effective job if HTTP Keep-Alives are
turned off; since keep-alives are useful for images, the recommended lingerd
setup is to have an Apache/mod_whatever/lingerd server for the dynamic pages,
and a plain Apache (or thttpd or boa) for the images.

Comment 1 Joe Orton 2006-11-27 12:08:13 UTC
This is not a feature for httpd it's a whole new package.  I think it would be
useful submission to Extras, maybe you could take that on?

http://fedoraproject.org/wiki/Extras/NewPackageProcess



Note You need to log in before you can comment on or make changes to this bug.