ports/101247: [NEW PORT] www/p5-Apache-SizeLimit: Allows you to kill off Apache httpd processes if they grow too large

Jin-Shan Tseng tjs at cdpa.nsysu.edu.tw
Wed Aug 2 07:40:12 UTC 2006


>Number:         101247
>Category:       ports
>Synopsis:       [NEW PORT] www/p5-Apache-SizeLimit: Allows you to kill off Apache httpd processes if they grow too large
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 02 07:40:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jin-Shan Tseng
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
NCHC
>Environment:
System: FreeBSD Pluto.CDPA.nsysu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Jul 24 07:18:53 CST 2006
>Description:
This module allows you to kill off Apache httpd processes if they grow
too large. You can make the decision to kill a process based on its
overall size, by setting a minimum limit on shared memory, or a maximum
on unshared memory.

You can set limits for each of these sizes, and if any limit is
exceeded, the process will be killed.

You can also limit the frequency that these sizes are checked so that
this module only checks every N requests.

This module is highly platform dependent, please read the "PER-PLATFORM
BEHAVIOR" section for details. It is possible that this module simply
does not support your platform.

WWW:	http://search.cpan.org/dist/Apache-SizeLimit/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Apache-SizeLimit-0.9.shar 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:
#
#	p5-Apache-SizeLimit
#	p5-Apache-SizeLimit/pkg-descr
#	p5-Apache-SizeLimit/Makefile
#	p5-Apache-SizeLimit/pkg-plist
#	p5-Apache-SizeLimit/distinfo
#	p5-Apache-SizeLimit/pkg-message
#
echo c - p5-Apache-SizeLimit
mkdir -p p5-Apache-SizeLimit > /dev/null 2>&1
echo x - p5-Apache-SizeLimit/pkg-descr
sed 's/^X//' >p5-Apache-SizeLimit/pkg-descr << 'END-of-p5-Apache-SizeLimit/pkg-descr'
XThis module allows you to kill off Apache httpd processes if they grow
Xtoo large. You can make the decision to kill a process based on its
Xoverall size, by setting a minimum limit on shared memory, or a maximum
Xon unshared memory.
X
XYou can set limits for each of these sizes, and if any limit is
Xexceeded, the process will be killed.
X
XYou can also limit the frequency that these sizes are checked so that
Xthis module only checks every N requests.
X
XThis module is highly platform dependent, please read the "PER-PLATFORM
XBEHAVIOR" section for details. It is possible that this module simply
Xdoes not support your platform.
X
XWWW:	http://search.cpan.org/dist/Apache-SizeLimit/
END-of-p5-Apache-SizeLimit/pkg-descr
echo x - p5-Apache-SizeLimit/Makefile
sed 's/^X//' >p5-Apache-SizeLimit/Makefile << 'END-of-p5-Apache-SizeLimit/Makefile'
X# New ports collection makefile for:	p5-Apache-SizeLimit
X# Date created:		2006-08-02
X# Whom:			Jin-Shan Tseng <tjs at cdpa.nsysu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Apache-SizeLimit
XPORTVERSION=	0.9
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Apache
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	tjs at cdpa.nsysu.edu.tw
XCOMMENT=	Allows you to kill off Apache httpd processes if they grow too large
X
XRUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \
X		${SITE_PERL}/${PERL_ARCH}/BSD/Resource.pm:${PORTSDIR}/devel/p5-BSD-Resource
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=	Apache::SizeLimit.3
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-p5-Apache-SizeLimit/Makefile
echo x - p5-Apache-SizeLimit/pkg-plist
sed 's/^X//' >p5-Apache-SizeLimit/pkg-plist << 'END-of-p5-Apache-SizeLimit/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/Apache/SizeLimit.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/SizeLimit/.packlist
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/SizeLimit
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache
X at dirrmtry %%SITE_PERL%%/Apache
END-of-p5-Apache-SizeLimit/pkg-plist
echo x - p5-Apache-SizeLimit/distinfo
sed 's/^X//' >p5-Apache-SizeLimit/distinfo << 'END-of-p5-Apache-SizeLimit/distinfo'
XMD5 (Apache-SizeLimit-0.9.tar.gz) = 59765709981ac232712a270cf2646247
XSHA256 (Apache-SizeLimit-0.9.tar.gz) = a61577e9ac2df978152be551c59bd6e3ff05ddb75c4ed5e28a460ebf1e86fe96
XSIZE (Apache-SizeLimit-0.9.tar.gz) = 18685
END-of-p5-Apache-SizeLimit/distinfo
echo x - p5-Apache-SizeLimit/pkg-message
sed 's/^X//' >p5-Apache-SizeLimit/pkg-message << 'END-of-p5-Apache-SizeLimit/pkg-message'
X**************************** NOIICE *******************
X
X  This version is only for httpd 1.x and mod_perl 1.x
X  series.
X
X  Future versions of this module may support both.
X
X  Currently, Apache2::SizeLimit is bundled with
X  mod_perl 2.x for that series.
X
X**************************** NOTICE *******************
END-of-p5-Apache-SizeLimit/pkg-message
exit
--- p5-Apache-SizeLimit-0.9.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list