From owner-svn-ports-all@FreeBSD.ORG Sat May 9 15:19:29 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00042A0D; Sat, 9 May 2015 15:19:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D537911AE; Sat, 9 May 2015 15:19:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t49FJSpr047762; Sat, 9 May 2015 15:19:28 GMT (envelope-from mmoll@FreeBSD.org) Received: (from mmoll@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t49FJRti047757; Sat, 9 May 2015 15:19:27 GMT (envelope-from mmoll@FreeBSD.org) Message-Id: <201505091519.t49FJRti047757@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mmoll set sender to mmoll@FreeBSD.org using -f From: Michael Moll Date: Sat, 9 May 2015 15:19:27 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2015 15:19:29 -0000 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 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 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