From owner-freebsd-stable Mon Dec 23 17:57:31 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6893837B401 for ; Mon, 23 Dec 2002 17:57:30 -0800 (PST) Received: from mtiwmhc11.worldnet.att.net (mtiwmhc11.worldnet.att.net [204.127.131.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C8F243EEA for ; Mon, 23 Dec 2002 17:57:20 -0800 (PST) (envelope-from cswiger@mac.com) Received: from sec.local ([12.88.88.233]) by mtiwmhc11.worldnet.att.net (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with ESMTP id <20021224015710.MKMT9286.mtiwmhc11.worldnet.att.net@sec.local>; Tue, 24 Dec 2002 01:57:10 +0000 Received: from mac.com (prime.local [192.168.1.3]) by sec.local (8.12.6/8.12.6) with ESMTP id gBN51qU5045231; Mon, 23 Dec 2002 00:01:53 -0500 (EST) (envelope-from cswiger@mac.com) Message-ID: <3E07BEE7.8060409@mac.com> Date: Mon, 23 Dec 2002 20:56:55 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "freebsd-stable@FreeBSD.ORG" Cc: peterh@sapros.com Subject: Re: I think Samba is causing a 4.7-STABLE box to lock up. References: <200212240107.gBO17jr1041616@wartch.sapros.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Haight wrote: > I have this backup script that uses samba to gather files from various > windows machine and then writes them to a DVD+RW. Recently the computer has > been frezzing in the middle of the script. When this happens the computer is > completely frozen. You can't even type on the console or connect in through > the network. In this case, I have to cycle the power. Sounds more like a hardware problem to me, possibly overheating from doing lots of I/O to disk and burning a DVD at the same time, or maybe just straining the power supply enough to trigger a crash from sagging voltage. > What can I do to figure out what is going on? If you up the verbosity level of samba's logging using the -d flag to smbd, (by hand, via /usr/local/etc/rc.d/samba.sh, samba_flags in /etc/rc.conf or some such), you can get vast quantities of logging info from Samba. But I suggest first looking through your existing Samba logs and other messages under /var/log, and see what's there now. To determine whether it really is Samba causing the problem, or something else, stop samba, and try doing something like: while true; do du -a / > /dev/null done ...for a few hours to generate a solid load on your hard drive(s). Then try burning a DVD while that command is still running, and see whether you get a system crash or lockup. -Chuck PS: Also see "man crash" and the handbook. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message