From owner-cvs-ports@FreeBSD.ORG Fri Apr 14 05:38:34 2006 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B337916A400; Fri, 14 Apr 2006 05:38:34 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81EA643D49; Fri, 14 Apr 2006 05:38:34 +0000 (GMT) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3E5cYZN030470; Fri, 14 Apr 2006 05:38:34 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3E5cYYR030464; Fri, 14 Apr 2006 05:38:34 GMT (envelope-from brooks) Message-Id: <200604140538.k3E5cYYR030464@repoman.freebsd.org> From: Brooks Davis Date: Fri, 14 Apr 2006 05:38:34 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/sysutils/sge Makefile ports/sysutils/sge/files sge-freebsd-pdc.diff X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 05:38:34 -0000 brooks 2006-04-14 05:38:33 UTC FreeBSD ports repository Modified files: sysutils/sge Makefile Added files: sysutils/sge/files sge-freebsd-pdc.diff Log: Add support for tracking the processes associated with a job using the hack of adding an extra group (from a per-host dedicated range). This is basicly identical to the way the Linux and Solaris code works except that it's a lot less gross because we have an API instead of procfs. :) This should let total resource use be tracked and also allows qdel to actually kill all the processes associated with a job instead of just the head as long as the execd_params variable includes ENABLE_ADDGRP_KILL=true and tight integration is used in parallel environments. I'll eventually merge this upstream, but that will take time and I need the feature in the port now. This is based in part on work for Darwin and AIX support by Ron Chen. Revision Changes Path 1.17 +3 -1 ports/sysutils/sge/Makefile 1.1 +366 -0 ports/sysutils/sge/files/sge-freebsd-pdc.diff (new)