From owner-freebsd-isp@FreeBSD.ORG Fri Apr 15 12:51:42 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C79216A4CE for ; Fri, 15 Apr 2005 12:51:42 +0000 (GMT) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id E610243D3F for ; Fri, 15 Apr 2005 12:51:41 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77])j3FCpeck008684 for ; Fri, 15 Apr 2005 08:51:40 -0400 X-ORBL: [68.78.161.105] Received: from jacob.6texans.net (adsl-68-78-161-105.dsl.rcfril.ameritech.net [68.78.161.105])j3FCpam1084060 for ; Fri, 15 Apr 2005 08:51:40 -0400 Date: Fri, 15 Apr 2005 07:51:35 -0500 From: Jacob S To: freebsd-isp@freebsd.org Message-ID: <20050415075135.0d313f8f@jacob.6texans.net> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Automatically kill run-away processes? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 12:51:42 -0000 Hello, We have a server with a couple hundred clients on it. Normally it runs great, with a load of 0.6 - 1.6, but occasionally someone runs a large script or sends a lot of e-mails and makes the load go through the roof. I know the Linux kernel has the "oom-killer" that will start killing processes when it runs out of ram. Is there an equivalent for FreeBSD? Also, is there any way I can add extra accounting details in the logfiles? Such as, perhaps which script Apache ran that sent the e-mails, etc? I know it may not be that straight forward, but if anybody else has tricks for doing something similar to this, I would appreciate it if they could share them with us. TIA, Jacob