From owner-freebsd-isp Tue Sep 26 10:23:11 2000 Delivered-To: freebsd-isp@freebsd.org Received: from msp-26-178-57.mn.rr.com (msp-26-178-57.mn.rr.com [24.26.178.57]) by hub.freebsd.org (Postfix) with ESMTP id 50B3437B42C for ; Tue, 26 Sep 2000 10:23:09 -0700 (PDT) Received: by msp-26-178-57.mn.rr.com (Postfix, from userid 501) id 4FB5475F; Tue, 26 Sep 2000 12:23:03 -0500 (CDT) Date: Tue, 26 Sep 2000 12:23:03 -0500 From: Goblin To: Chris Cook Cc: freebsd-isp@freebsd.org Subject: Re: Limiting Perl CPU Utilization... Message-ID: <20000926122303.A12707@uswest.net> References: <39D0D607.29DEDE19@tcworks.net> Mime-Version: 1.0 Content-Type: text/plain; charset*=ansi-x3-4-1968''us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.8i In-Reply-To: <39D0D607.29DEDE19@tcworks.net>; from ccook@tcworks.net on Tue, Sep 26, 2000 at 11:59:51AM -0500 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Why not just use nice? It doesn't limit the CPU, really, but makes it easier for other processes to preempt the nicer process. -Shawn On 09/26, Chris Cook rearranged the electrons to read: > We are using atdot for our web mail along with Apache. Right now it is > on the same box as our primary web server, we are going to move it over > to it's own box eventually. The problem that we are having is that > atdot sucks up CPU cycles with it's Perl scripts, bogging down the web > server. Is there a way to limit how much cpu utilization Perl can have > or what would be a better way of doing this? Thanks. > > -- > Chris > > o----< ccook@tcworks.net >-------------------------------------o > |Chris Cook - Admin | TCWORKS.NET - http://www.tcworks.net | > |The Computer Works ISP | FreeBSD - http://www.freebsd.org | > o--------------------------------------------------------------o > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message