From mark@doorway.homeip.net  Sat Jun 21 22:24:16 2003
Return-Path: <mark@doorway.homeip.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AA1C437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jun 2003 22:24:16 -0700 (PDT)
Received: from mail021.syd.optusnet.com.au (mail021.syd.optusnet.com.au [210.49.20.161])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9217B43F93
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jun 2003 22:24:15 -0700 (PDT)
	(envelope-from mark@doorway.homeip.net)
Received: from doorway.homeip.net (c17007.sunsh3.vic.optusnet.com.au [211.28.121.120])
	by mail021.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id h5M5OEg09766
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Jun 2003 15:24:14 +1000
Received: from doorway.home.lan (localhost.home.lan [127.0.0.1])
	by doorway.homeip.net (8.12.9/8.12.9) with ESMTP id h5M5ODvK002054
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Jun 2003 15:24:13 +1000 (EST)
	(envelope-from mark@doorway.home.lan)
Received: (from mark@localhost)
	by doorway.home.lan (8.12.9/8.12.9/Submit) id h5M5ODnB002053;
	Sun, 22 Jun 2003 15:24:13 +1000 (EST)
Message-Id: <200306220524.h5M5ODnB002053@doorway.home.lan>
Date: Sun, 22 Jun 2003 15:24:13 +1000 (EST)
From: Mark Hannon <markhannon@optusnet.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ntpdate seems to hang system
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53606
>Category:       bin
>Synopsis:       ntpdate seems to hang system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    roberto
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 22:30:11 PDT 2003
>Closed-Date:    Sat Feb 09 14:25:56 UTC 2008
>Last-Modified:  Sat Feb 09 14:25:56 UTC 2008
>Originator:     Mark Hannon
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD doorway.home.lan 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 19 22:54:02 EST 2003 root@doorway.home.lan:/usr/src/sys/i386/compile/DOORWAY i386


	
>Description:
	
I found my fileserver / router dead this morning.  Not reachable via 
network or serial console.  After reboot and examination of logs it 
seems that the box hung at 3am when running the daily cron jobs.

The security check finished OK (the results were mailed out) but there
seemed to be no further activity and the rest of the daily jobs did not
complete.

I run a couple of local periodic jobs as below:

#!/bin/sh
/usr/bin/killall ntpd
sleep 5
/usr/sbin/ntpdate ntp0.cs.mu.OZ.AU
sleep 5
/usr/sbin/ntpd -p /var/run/ntpd.pid

#!/bin/sh
#
# $Id: 920.dump,v 1.4 2003/06/19 13:45:33 mark Exp $
#

/bin/rm /backup/root9*
/sbin/dump -L -9 -u -h 0 -B 640000 \
  -f /backup/root9-part1 /
/bin/rm /backup/usr9*
/sbin/dump -L -9 -u -h 0 -B 640000 \
  -f /backup/usr9-part1,/backup/usr9-part2 /usr
/bin/rm /backup/var9*
/sbin/dump -L -9 -u -h 0 -B 640000 \
  -f /backup/var9-part1 /var
/bin/rm /backup/home9*
/sbin/dump -L -9 -u -h 0 -B 640000 \
  -f /backup/home9-part1,/backup/home9-part2 /home

The dumps were not started so it seems to be ntpdate related.

I should mention that this is the first time since I upgraded the box from
4.8-RELEASE a week ago that it has hung.

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->roberto 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Jul 18 15:15:39 PDT 2003 
Responsible-Changed-Why:  
Assign to ntp maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53606 

From: Ollivier Robert <roberto@keltia.freenix.fr>
To: freebsd-gnats-submit@FreeBSD.org, markhannon@optusnet.com.au
Cc:  
Subject: Re: bin/53606: ntpdate seems to hang system
Date: Mon, 01 Sep 2003 20:51:19 +0200

 Can you confirm that it is still happening?  I don't really see the link 
 between
 running your daily job and a complete machine hang... Killing and 
 restarting ntpd every day sort of defeat its purpose anyway.
 
 Thanks for the feedback.
 
 Ollivier
 
 

From: "Mark Hannon" <markhannon@optusnet.com.au>
To: "'Ollivier Robert'" <roberto@keltia.freenix.fr>,
	<freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: RE: bin/53606: ntpdate seems to hang system
Date: Tue, 2 Sep 2003 20:47:07 +1000

 Hi,
 
 It only happened the one time - the first night after installing 5.1.
 
 My cron job kills ntpd in order to be able to run ntpdate towards
 an external time source.
 
 Suggest that you can close the PR as I cannot reproduce.
 
 rgds/mark
 
 -----Original Message-----
 From: Ollivier Robert [mailto:roberto@keltia.freenix.fr]
 Sent: Tuesday, 2 September 2003 4:51 AM
 To: freebsd-gnats-submit@FreeBSD.org; markhannon@optusnet.com.au
 Subject: Re: bin/53606: ntpdate seems to hang system
 
 
 Can you confirm that it is still happening?  I don't really see the link
 between
 running your daily job and a complete machine hang... Killing and
 restarting ntpd every day sort of defeat its purpose anyway.
 
 Thanks for the feedback.
 
 Ollivier
 
 
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Sat Feb 9 14:25:55 UTC 2008 
State-Changed-Why:  
The submitter reports that this can be closed, reported by Jaakko 
Heinonen on our bugbusters team 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53606 
>Unformatted:
