diff options
author | Michael Moll <mmoll@FreeBSD.org> | 2015-05-09 15:19:27 +0000 |
---|---|---|
committer | Michael Moll <mmoll@FreeBSD.org> | 2015-05-09 15:19:27 +0000 |
commit | ba4d3c29851bec9507b9f344c5291ab33e6dcea9 (patch) | |
tree | 6b1dc49ddd28df40142765ed64fb5aa55498e98e /www/rubygem-unicorn-worker-killer | |
parent | 33abfbf17f7eb38bc9a135e090a2effca94ed389 (diff) | |
download | ports-ba4d3c29851bec9507b9f344c5291ab33e6dcea9.tar.gz ports-ba4d3c29851bec9507b9f344c5291ab33e6dcea9.zip |
Notes
Diffstat (limited to 'www/rubygem-unicorn-worker-killer')
-rw-r--r-- | www/rubygem-unicorn-worker-killer/Makefile | 22 | ||||
-rw-r--r-- | www/rubygem-unicorn-worker-killer/distinfo | 2 | ||||
-rw-r--r-- | www/rubygem-unicorn-worker-killer/pkg-descr | 6 |
3 files changed, 30 insertions, 0 deletions
diff --git a/www/rubygem-unicorn-worker-killer/Makefile b/www/rubygem-unicorn-worker-killer/Makefile new file mode 100644 index 000000000000..b62a3984dbd2 --- /dev/null +++ b/www/rubygem-unicorn-worker-killer/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= unicorn-worker-killer +PORTVERSION= 0.4.3 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= ports@michael-fausten.de +COMMENT= Kill unicorn workers by memory and request counts + +LICENSE= GPLv2 GPLv3 RUBY +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-get_process_mem>=0:${PORTSDIR}/devel/rubygem-get_process_mem \ + rubygem-unicorn>=4:${PORTSDIR}/www/rubygem-unicorn + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-unicorn-worker-killer/distinfo b/www/rubygem-unicorn-worker-killer/distinfo new file mode 100644 index 000000000000..c2d761588476 --- /dev/null +++ b/www/rubygem-unicorn-worker-killer/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/unicorn-worker-killer-0.4.3.gem) = 00687ad93efc697629f9d782c140c03e1d580a0149327aa13db056c557d01a42 +SIZE (rubygem/unicorn-worker-killer-0.4.3.gem) = 9216 diff --git a/www/rubygem-unicorn-worker-killer/pkg-descr b/www/rubygem-unicorn-worker-killer/pkg-descr new file mode 100644 index 000000000000..7fd5533fe5a3 --- /dev/null +++ b/www/rubygem-unicorn-worker-killer/pkg-descr @@ -0,0 +1,6 @@ +The unicorn-worker-killer gem provides automatic restart of Unicorn +workers based on the number of served requests and process memory size +without affecting any requests. This can improve stability by avoiding +unexpected memory exhaustion of applications. + +WWW: https://rubygems.org/gems/unicorn-worker-killer |