From owner-freebsd-ports Mon Dec 18 9:57:11 2000 From owner-freebsd-ports@FreeBSD.ORG Mon Dec 18 09:57:07 2000 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mothra.ecs.csus.edu (unknown [130.86.76.220]) by hub.freebsd.org (Postfix) with ESMTP id 3A16337B402; Mon, 18 Dec 2000 09:57:07 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mothra.ecs.csus.edu (8.11.1/8.11.1) with ESMTP id eBIJMxX13729; Mon, 18 Dec 2000 11:22:59 -0800 (PST) (envelope-from joseph@randomnetworks.com) Date: Mon, 18 Dec 2000 11:22:58 -0800 (PST) From: Joseph Scott X-Sender: scottj@mothra.ecs.csus.edu To: Dan Langille Cc: freebsd-hackers@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: processing incoming mail messages (FreshPorts 2) In-Reply-To: <200012161822.HAA03654@ducky.nz.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 17 Dec 2000, Dan Langille wrote: # Which list would be more appropriate for asking advice on designing a # mail processing strategy for FreshPorts 2 (i.e. processing all of cvs-all, # not just the ports)? # # I'm looking for recommendations and guidance on how to capture the # incoming messages and process them one at a time. As opposed to # starting a separate perl script for each message (which is the the # existing strategy and is usually fine, except when large numbers of # messages turn up in a short period of time). If you don't want to process a message the instant it comes in (via feeding it to a perl script or what ever) you'll need to setup some sort of queue, then have a cron job come through and process the queue. If the problem is load then another approach would be to heavily nice(1) the perl script the is launched when a commit mail comes in. *********************************************************** * Joseph Scott The Office Of Water Programs * * joseph@randomnetworks.com joseph.scott@owp.csus.edu * *********************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message