From owner-freebsd-stable@FreeBSD.ORG Tue Jul 1 07:48:52 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9772BA97 for ; Tue, 1 Jul 2014 07:48:52 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 560E9204B for ; Tue, 1 Jul 2014 07:48:52 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1X1sZK-0005GV-Qe; Tue, 01 Jul 2014 09:33:35 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: cdr.nil@gmail.com, "Spil Oss" Subject: Re: Hourly cron jobs running to early References: <000f01cf9463$b1e0b300$15a21900$@gmail.com> <20140630131857.GL93733@kib.kiev.ua> <001201cf9484$e4e43a30$aeacae90$@gmail.com> Date: Tue, 01 Jul 2014 09:33:33 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.17 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.3.2 X-Scan-Signature: 246115766b56dba7f675551df821dbd2 Cc: Konstantin Belousov , freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2014 07:48:52 -0000 On Mon, 30 Jun 2014 19:13:23 +0200, Spil Oss wrote: > Sorry, forgot to mention that this is indeed i386... > > Applied the patch and it looks as though cron is behaving now Hi Spil, Didn't I suggest this fix to you about 3 weeks ago? http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2014-06/msg00104.html ;-) Cheers, Ronald. > > Before > Jun 30 18:58:59 gw /usr/sbin/cron[25911]: (root) CMD (/usr/libexec/atrun) > Jun 30 18:58:59 gw /usr/sbin/cron[25912]: (operator) CMD > (/usr/libexec/save-entropy) > > After > Jun 30 19:10:00 gw /usr/sbin/cron[26085]: (root) CMD (/usr/libexec/atrun) > Jun 30 19:11:00 gw /usr/sbin/cron[26097]: (operator) CMD > (/usr/libexec/save-entropy) > > Hourly will take a while... > > On Mon, Jun 30, 2014 at 7:01 PM, wrote: >> >>> -----Original Message----- >>> From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- >>> stable@freebsd.org] On Behalf Of Konstantin Belousov >>> Sent: 30 June 2014 14:19 >>> To: cdr.nil@gmail.com >>> Cc: freebsd-stable@freebsd.org >>> Subject: Re: Hourly cron jobs running to early >>> >>> On Mon, Jun 30, 2014 at 02:03:31PM +0100, cdr.nil@gmail.com wrote: >>> > Folks, >>> > >>> > I, too, am seeing a problem of cron running jobs a few seconds too >> early. >>> > This is on a Thinkpad T42 running: >>> > >>> > FreeBSD cobalt 10.0-RELEASE-p6 FreeBSD 10.0-RELEASE-p6 #3 r267829M: >>> Wed >> Jun >>> > 25 07:41:33 BST 2014 root@cobalt:/usr/obj/usr/src/sys/GENERIC >>> i386 >>> > >>> > BIOS clock is running UTC and is under ntpd control. >>> > >>> > I noticed this on a logging cron job that is supposed to run on the >> hour. >>> > These are the last few timings: >>> > >>> > 03:59:47 >>> > 04:59:12 >>> > 05:59:47 >>> > 06:59:47 >>> > 07:59:47 >>> > 08:59:47 >>> > 09:59:47 >>> > 10:59:47 >>> > 11:59:47 >>> > 12:59:47 >>> > >>> The head r261146, merged to stable/10 as r261231, seems to be >>> relevant. >> >> Konstantin, >> >> Thanks for the pointer. I've applied the patch and cron seems to be >> behaving itself. >> >> -mark >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to >> "freebsd-stable-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"