Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2015 15:19:27 +0000 (UTC)
From:      Michael Moll <mmoll@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385897 - in head/www: . rubygem-unicorn-worker-killer
Message-ID:  <201505091519.t49FJRti047757@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmoll
Date: Sat May  9 15:19:27 2015
New Revision: 385897
URL: https://svnweb.freebsd.org/changeset/ports/385897

Log:
  new port: www/rubygem-unicorn-worker-killer
  
  Kill unicorn workers by memory and request counts
  
  WWW: https://rubygems.org/gems/unicorn-worker-killer
  
  PR:		199927
  Differential Revision:	https://reviews.freebsd.org/D2496
  Submitted by:	Michael Fausten <ports@michael-fausten.de>
  Approved by:	mat (mentor)

Added:
  head/www/rubygem-unicorn-worker-killer/
  head/www/rubygem-unicorn-worker-killer/Makefile   (contents, props changed)
  head/www/rubygem-unicorn-worker-killer/distinfo   (contents, props changed)
  head/www/rubygem-unicorn-worker-killer/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sat May  9 15:11:39 2015	(r385896)
+++ head/www/Makefile	Sat May  9 15:19:27 2015	(r385897)
@@ -1946,6 +1946,7 @@
     SUBDIR += rubygem-uglifier
     SUBDIR += rubygem-underscore-rails
     SUBDIR += rubygem-unicorn
+    SUBDIR += rubygem-unicorn-worker-killer
     SUBDIR += rubygem-url-mount
     SUBDIR += rubygem-url_escape
     SUBDIR += rubygem-wasabi

Added: head/www/rubygem-unicorn-worker-killer/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/rubygem-unicorn-worker-killer/Makefile	Sat May  9 15:19:27 2015	(r385897)
@@ -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>

Added: head/www/rubygem-unicorn-worker-killer/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/rubygem-unicorn-worker-killer/distinfo	Sat May  9 15:19:27 2015	(r385897)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/unicorn-worker-killer-0.4.3.gem) = 00687ad93efc697629f9d782c140c03e1d580a0149327aa13db056c557d01a42
+SIZE (rubygem/unicorn-worker-killer-0.4.3.gem) = 9216

Added: head/www/rubygem-unicorn-worker-killer/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/rubygem-unicorn-worker-killer/pkg-descr	Sat May  9 15:19:27 2015	(r385897)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505091519.t49FJRti047757>