From owner-freebsd-stable@FreeBSD.ORG Mon Dec 15 08:24:01 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1511065673 for ; Mon, 15 Dec 2008 08:24:01 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id A78118FC0C for ; Mon, 15 Dec 2008 08:24:01 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so527655qwb.7 for ; Mon, 15 Dec 2008 00:24:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=k8NH8xKMTl9RPAYNPM12FUC80QCldk2ufpqDsipur8o=; b=XKXPg9aRQW+UBfPxQMqbvrR7jPxszuVVT1VOMV8X9VNVaN67eSbDL4IxZ3BiD4seTr k84hVt+/DMaqL30TyanZLX4gWwjmvA6OAQI4D+OEebAXP/XfC8U+DWEJ05GwHARed5iI 6aX+njzhOy56CjlQ6ShhlCJ1//xv2NAOV9RAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Z9g2z43der1bq3dREF6v17c68NtFQoFEfU63NKw1FKgGtfZ7rnPZzcOoIiwwFj036Y aT5Bkk1l2LMBeLkUisi6lmkRSMjBH8DYiJKAIDG8V+vlg6jSN246vZhAoQlwl/7Jz2/c xI1ECVtXtIhWmiAm7I/nDnWFAFywC+QIYQlDI= Received: by 10.214.243.9 with SMTP id q9mr7252587qah.61.1229327909665; Sun, 14 Dec 2008 23:58:29 -0800 (PST) Received: by 10.214.150.7 with HTTP; Sun, 14 Dec 2008 23:58:29 -0800 (PST) Message-ID: <4d7dd86f0812142358t714cb96erdf269573ac86ba30@mail.gmail.com> Date: Mon, 15 Dec 2008 18:58:29 +1100 From: "David N" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Running rsnapshot via cron reboots the machine X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 08:24:02 -0000 Hi, I have a machine AMD Sepron LE-1150 ASUS M2A-VM 1GB RAM ECC 2x SATA 300GB in a RAID 1 (gmirror). 7.0-RELEASE-p2 AMD64 generic kernel it was doing backups via bacula to an external disk USB 2.0 SATA disk, and it was working well. (GLabel) /dev/ufs/BackupDisk I changed to rsnapshot recently, with the External HDD in glabel + gjournal (/dev/da0s1.journal -> /dev/ufs/BackupDisk) and it will reboot the machine roughly 30 minutes after the rsnapshot starts via CRON. If i run rsnapshot without CRON, eg. via the command line it works fine. (I'm compiling the new kernel p6 whilst doing an rsnapshot via the command line) I have changed the time it does the rsnapshot, from 3AM (reboots at 3:30-3:40AM roughly) to 4:30AM (reboots at 5AM roughly). So its nothing running on the system doing it. If i remove the rsnapshot from the CRON, the computer stays on and doesn't reboot. Its not the power supply, and the computer is on a UPS and the UPS log hasn't reported any blackouts. (There are 2 other servers that doesn't turn off so its not a blackout). I left gstat and top running L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name 0 0 0 0 0.0 0 0 0.0 0.0| acd0 0 125 125 4164 5.5 0 0 0.0 29.9| ad4 0 0 0 0 0.0 0 0 0.0 0.0| ad4s1 0 0 0 0 0.0 0 0 0.0 0.0| ad4s2 0 125 125 4164 5.6 0 0 0.0 30.5| ad4s3 34 142 71 9079 9.4 71 8697 212.0 99.3| da0 34 142 71 9079 9.6 71 8697 213.5 99.3| da0s1 0 0 0 0 0.0 0 0 0.0 0.0| da0s1c 7 135 71 9079 9.7 64 8184 33.0 85.1| da0s1.journal 0 125 125 4164 9.2 0 0 0.0 39.8| ad6 7 135 71 9079 9.7 64 8184 36.2 91.9| ufs/BackupDisk 0 0 0 0 0.0 0 0 0.0 0.0| ad6s1 0 0 0 0 0.0 0 0 0.0 0.0| ad6s2 0 125 125 4164 9.3 0 0 0.0 40.4| ad6s3 0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1 0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s2 0 125 125 8328 9.9 0 0 0.0 43.9| mirror/gm0s3 0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1a 0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1b 0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1c 0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s1d 0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s2c 0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s2d 0 0 0 0 0.0 0 0 0.0 0.0| mirror/gm0s3c 0 125 125 8328 10.2 0 0 0.0 45.2| mirror/gm0s3d last pid: 18829; load averages: 0.29, 0.45, 0.50 up 1+01:31:23 05:01:50 64 processes: 1 running, 63 sleeping CPU states: 16.5% user, 0.0% nice, 25.2% system, 3.0% interrupt, 55.3% idle Mem: 69M Active, 436M Inact, 395M Wired, 44M Cache, 108M Buf, 3944K Free Swap: 2048M Total, 308K Used, 2048M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 18634 root 1 -4 0 15224K 2244K getblk 0:45 9.47% rsync 18633 root 1 98 0 18296K 4576K select 0:45 4.69% rsync 18375 root 1 8 0 20556K 8412K wait 7:20 0.00% perl 4447 root 1 -64 0 7656K 2036K RUN 1:21 0.00% top 4321 root 1 8 0 11784K 2008K nanslp 0:45 0.00% gstat 18627 root 1 96 0 15224K 2596K select 0:36 0.00% rsync 4219 evxadmin 1 96 0 32936K 3220K select 0:07 0.00% sshd 3800 evxadmin 1 96 0 32936K 3164K select 0:06 0.00% sshd 18629 root 1 96 0 32868K 3964K select 0:04 0.00% sshd 18628 root 1 96 0 23764K 7664K select 0:04 0.00% ssh 851 root 1 96 0 12476K 1832K select 0:04 0.00% nmbd 1788 root 1 96 0 10576K 2812K select 0:02 0.00% sendmail 1147 root 1 96 0 24456K 2404K select 0:01 0.00% nmbd 1346 root 1 96 0 22224K 2504K select 0:01 0.00% nmbd 3957 evxadmin 1 96 0 32936K 3220K select 0:01 0.00% sshd 1800 root 1 8 0 5736K 1032K nanslp 0:01 0.00% cron 1754 root 1 8 0 5736K 980K nanslp 0:00 0.00% cron 1557 root 1 8 0 5736K 980K nanslp 0:00 0.00% cron 1387 root 1 8 0 5736K 980K nanslp 0:00 0.00% cron 1192 root 1 8 0 5736K 980K nanslp 0:00 0.00% cron 4646 root 1 96 0 36968K 4892K select 0:00 0.00% smbd 775 root 1 96 0 4684K 1064K select 0:00 0.00% syslogd Nothing else seems to be running. Its driving me insane! any help would be appreciated. smart says the HDD are fine. Regards David N