From owner-freebsd-ports@FreeBSD.ORG Fri Mar 12 12:14:54 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0762816A4CE; Fri, 12 Mar 2004 12:14:54 -0800 (PST) Received: from buh.cameradicommercio.ro (buh.cameradicommercio.ro [81.196.25.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 816B543D31; Fri, 12 Mar 2004 12:14:53 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 39B1C635A; Fri, 12 Mar 2004 20:14:26 +0000 (GMT) Received: from it.buh.cameradicommercio.ro (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id E78801F9; Fri, 12 Mar 2004 22:17:05 +0200 (EET) Date: Fri, 12 Mar 2004 22:17:05 +0200 From: Ion-Mihai Tetcu To: Ion-Mihai Tetcu Message-Id: <20040312221705.159c8259@it.buh.cameradicommercio.ro> In-Reply-To: <20040312221029.2a7ea717@it.buh.cameradicommercio.ro> References: <20040312221029.2a7ea717@it.buh.cameradicommercio.ro> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.ORG cc: eik@FreeBSD.org Subject: Re: daily/330.fetchaudit - fetch stuck X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 20:14:54 -0000 On Fri, 12 Mar 2004 22:10:29 +0200 Ion-Mihai Tetcu wrote: > Hi, > > > I've noticed the absence of "daily run output". The last is > Date: Wed, 10 Mar 2004 21:44:01 +0200 (EET) > and now it is: > # date > Fri Mar 12 21:49:17 EET 2004 > > ps axwl: > > 0 4265 471 0 -8 0 1380 716 piperd S ?? 0:00.00 cron: running job (cron) > 0 4267 4265 0 8 0 1672 720 wait Ss ?? 0:00.01 /bin/sh -c periodic daily > 0 4269 4267 0 8 0 1688 748 wait S ?? 0:00.02 /bin/sh - /usr/sbin/periodic daily > 0 4278 4269 0 8 0 1712 748 wait S ?? 0:00.09 /bin/sh - /usr/sbin/periodic daily > 0 4279 4269 0 8 0 1688 748 wait S ?? 0:00.00 /bin/sh - /usr/sbin/periodic daily > 0 4280 4279 0 -8 0 1340 524 piperd S ?? 0:00.01 mail -s it.buh.cameradicommercio.ro daily run output root > 0 4933 4278 0 8 0 1700 772 wait S ?? 0:00.02 /bin/sh /usr/local/etc/periodic/daily/330.fetchaudit > 0 98521 4933 0 4 0 2616 968 select S ?? 0:02.73 fetch -1am ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-dist-distfiles/eik//auditfile.tbz > > This is not a temporary problem (look at the hours), a snip of the daily > mails: > # grep 'Date:' /home/itetcu/MailMH/Work/buh/it/daily/* | sed -E '/.*,/s///' > 5 Mar 2004 10:43:47 +0200 (EET) > 6 Mar 2004 07:17:40 +0200 (EET) > 7 Mar 2004 06:35:26 +0200 (EET) > 8 Mar 2004 09:15:03 +0200 (EET) > 9 Mar 2004 18:57:33 +0200 (EET) > > Since the # uptime > 10:04PM up 1 day, 10:57 > I guess it fetch was stuck and the cron job got killed at the last reboot. > > Maybe we should enforce a timeout and / or restart the fetch for the > audit file after some time (let's say an hour) ? > > Point finger to fetch, which has the really nasty habit to stuck like this. > No, the rest of the periodic jobs work OK, and no, I don't consume all > the bandwidth. An interesting thing to note is: fetch -1amvv ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-dist-distfiles/eik//auditfile.tbz [..] >>> CWD /pub/FreeBSD/ports/local-dist-distfiles/eik/ <<< 550 /pub/FreeBSD/ports/local-dist-distfiles/eik/: No such file or directory. fetch: ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-dist-distfiles/eik//auditfile.tbz: File unavailable (e.g., file not found, no access) -- IOnut Unregistered ;) FreeBSD user