From owner-freebsd-hackers Thu Jan 28 18:08:27 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA28575 for freebsd-hackers-outgoing; Thu, 28 Jan 1999 18:08:27 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA28566 for ; Thu, 28 Jan 1999 18:08:23 -0800 (PST) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id TAA03280; Thu, 28 Jan 1999 19:08:20 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp03.primenet.com, id smtpd003130; Thu Jan 28 19:08:10 1999 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id TAA10419; Thu, 28 Jan 1999 19:07:56 -0700 (MST) From: Terry Lambert Message-Id: <199901290207.TAA10419@usr07.primenet.com> Subject: Re: High Load cron patches - comments? To: dcs@newsguy.com (Daniel C. Sobral) Date: Fri, 29 Jan 1999 02:07:55 +0000 (GMT) Cc: toasty@home.dragondata.com, hackers@FreeBSD.ORG In-Reply-To: <36AEFF42.16C1ED0D@newsguy.com> from "Daniel C. Sobral" at Jan 27, 99 08:57:54 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > These patches limit the number of jobs cron will start per second, with a > > initial burst, a hard limit, as well as a 'burst mode', if the number of > > jobs on the 'to do list' is geting excessively high. > > How do you select which jobs get executed? I fear a DoS attack might > be possible unless you somehow prevent a user to always get the same > "place" in the execution queue. Actually, it seems that his patches deal with the "fairness" issue pretty well. Play computer and look what happens when one user fires a job with great frequency compared to another user. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message