From owner-freebsd-stable@FreeBSD.ORG Tue Jul 1 06:58:35 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F4B6CA0 for ; Tue, 1 Jul 2014 06:58:35 +0000 (UTC) Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 507532C0A for ; Tue, 1 Jul 2014 06:58:35 +0000 (UTC) Received: by mail-qc0-f175.google.com with SMTP id i8so7963796qcq.6 for ; Mon, 30 Jun 2014 23:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=RIE+UXPzzZBjDBh7fWN/EkuXEZ+evw0cei5f5xdw4QA=; b=BUttVuimBHj9o8ARSS4x/SaxD6NInJoSnchNDqltErYWXEYpvZUc4E/FaLmkew73wv cgwl6Q0ZlB2jAtR5QZKJfHZAbPcAcOSGD0JJucemY5sln+8vf52ZUblSrE5pq38ISJWe oFAe4A+Qih7/22rSzMphgaBN79kab5bMhmNoxG1VA9tyJ/zZm5XCkh2QOqmYsRHeZYPG 8gYqdlupDvd1mw5e/v1gK+UeLeB8H31sYdYNG6nEca32h+QdE+vxNyAf1+AE51eLa8fW pyFI2bWtooTXMvMzTfaZNWfil0d8uByvZQpzO+xs2RBUmrdx9J2XdjEh85eUZPKrjTro 3Nhg== MIME-Version: 1.0 X-Received: by 10.229.13.134 with SMTP id c6mr66649229qca.13.1404197913966; Mon, 30 Jun 2014 23:58:33 -0700 (PDT) Received: by 10.96.131.77 with HTTP; Mon, 30 Jun 2014 23:58:33 -0700 (PDT) Reply-To: spil.oss@gmail.com In-Reply-To: References: <000f01cf9463$b1e0b300$15a21900$@gmail.com> <20140630131857.GL93733@kib.kiev.ua> <001201cf9484$e4e43a30$aeacae90$@gmail.com> Date: Tue, 1 Jul 2014 08:58:33 +0200 Message-ID: Subject: Re: Hourly cron jobs running to early From: Spil Oss To: Mark Willson Content-Type: text/plain; charset=UTF-8 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 06:58:35 -0000 Yup, this fixes the cron jobs running early. Should this not be merged into release/10.0 as well??? On Mon, Jun 30, 2014 at 7:13 PM, Spil Oss wrote: > Sorry, forgot to mention that this is indeed i386... > > Applied the patch and it looks as though cron is behaving now > > 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"