Date: Tue, 22 Oct 2002 19:41:37 +0200 From: BgTA <bgta@bgta.homeip.net>(by way of =?iso-8859-1?q?Ra=FAl=20Romero?= <raul@bgta.net>) To: bugs@freebsd.org Subject: Lingerd Port Message-ID: <200210221941.37671.bgta@bgta.homeip.net>
index | next in thread | raw e-mail
>Submitter-Id: current-users >Originator: BgTA >Organization: >Confidential: no >Synopsis: Lingerd Port >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 4.6.2-RELEASE-p1 i386 >Environment: System: FreeBSD pegaso.bgta.homeip.net 4.6.2-RELEASE-p1 FreeBSD 4.6.2-RELEASE-p1 #1: Thu Sep 12 09:13:18 CEST 2002 root@pegaso.bgta.homeip.net:/usr/obj/usr/src/sys/PEGASO i386 >Description: 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). WWW: http://www.iagora.com/about/software/lingerd/ - Raśl Romero raul@bgta.net >How-To-Repeat: >Fix: --- port-submit begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # www/lingerd # www/lingerd/Makefile # www/lingerd/distinfo # www/lingerd/pkg-comment # www/lingerd/pkg-descr # www/lingerd/pkg-plist # www/lingerd/pkg-message # echo c - www/lingerd mkdir -p www/lingerd > /dev/null 2>&1 echo x - www/lingerd/Makefile sed 's/^X//' >www/lingerd/Makefile << 'END-of-www/lingerd/Makefile' X# New ports collection makefile for: lingerd X# Date created: 22 September 2002 X# Whom: Raśl Romero <raul@bgta.net> X# X# $FreeBSD$ X# X XPORTNAME= lingerd XPORTVERSION= 0.94 XDISTNAME= lingerd-0.94 XCATEGORIES= www XMASTER_SITES= http://images.iagora.com/media/software/lingerd/ X XMAINTAINER= raul@bgta.net X Xpost-patch: X echo "#!/usr/bin/true" > ${WRKDIR}/${DISTNAME}/configure X /usr/bin/sed -e "s/^all.*/all: lingerd/" ${WRKDIR}/${DISTNAME}/Makefile > ${WRKDIR}/${DISTNAME}/Makefile2 X mv ${WRKDIR}/${DISTNAME}/Makefile2 ${WRKDIR}/${DISTNAME}/Makefile Xpre-install: X strip ${WRKDIR}/${DISTNAME}/lingerd Xpost-install: X ${MKDIR} ${PREFIX}/share/doc/lingerd X cp ${WRKDIR}/${DISTNAME}/ChangeLog ${PREFIX}/share/doc/lingerd X cp ${WRKDIR}/${DISTNAME}/INSTALL ${PREFIX}/share/doc/lingerd X cp ${WRKDIR}/${DISTNAME}/LICENSE ${PREFIX}/share/doc/lingerd X cp ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/lingerd X cp ${WRKDIR}/${DISTNAME}/TODO ${PREFIX}/share/doc/lingerd X cp ${WRKDIR}/${DISTNAME}/TUNING ${PREFIX}/share/doc/lingerd X cat pkg-message X X X.include <bsd.port.mk> END-of-www/lingerd/Makefile echo x - www/lingerd/distinfo sed 's/^X//' >www/lingerd/distinfo << 'END-of-www/lingerd/distinfo' XMD5 (lingerd-0.94.tar.gz) = 6401015bafad4f44fdf8a9a1795d9258 END-of-www/lingerd/distinfo echo x - www/lingerd/pkg-comment sed 's/^X//' >www/lingerd/pkg-comment << 'END-of-www/lingerd/pkg-comment' XAn accelerator daemon for Apache END-of-www/lingerd/pkg-comment echo x - www/lingerd/pkg-descr sed 's/^X//' >www/lingerd/pkg-descr << 'END-of-www/lingerd/pkg-descr' XLingerd is a daemon (service) designed to take over the job of properly closing network connections from an http server like Apache. X XBecause 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. X X XLingerd is particularily useful in Apache webservers that generate dynamic pages (e.g in conjunction with mod_perl, mod_php or Java/Jakarta/Tomcat). X XWWW: http://www.iagora.com/about/software/lingerd/ X X- Raśl Romero Xraul@bgta.net END-of-www/lingerd/pkg-descr echo x - www/lingerd/pkg-plist sed 's/^X//' >www/lingerd/pkg-plist << 'END-of-www/lingerd/pkg-plist' Xsbin/lingerd X%%PORTDOCS%%share/doc/lingerd/ChangeLog X%%PORTDOCS%%share/doc/lingerd/INSTALL X%%PORTDOCS%%share/doc/lingerd/LICENSE X%%PORTDOCS%%share/doc/lingerd/README X%%PORTDOCS%%share/doc/lingerd/TODO X%%PORTDOCS%%share/doc/lingerd/TUNING X%%PORTDOCS%%@dirrm share/doc/lingerd END-of-www/lingerd/pkg-plist echo x - www/lingerd/pkg-message sed 's/^X//' >www/lingerd/pkg-message << 'END-of-www/lingerd/pkg-message' XPRE-INSTALLATION NOTES X=========================================================== XThis package is a deamon that run with Apache13 Lingerd Patched Version. X X* To patch Apache13 Port, make patch into port directory and follow INSTALL notes. After this, make install normally. X X* Make sure lingerd is running, and run the copy of Apache you just X compiled. Make sure that they're both running under the same uid. X For testing, start lingerd with the "-X" option, which makes it log to X the terminal rather than syslog. X X* Read /usr/local/share/doc/lingerd for more Information. X=========================================================== END-of-www/lingerd/pkg-message exit --- port-submit ends here --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210221941.37671.bgta>
