From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 07:16:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A06E316A4CE for ; Mon, 1 Dec 2003 07:16:48 -0800 (PST) Received: from siralan.org (12-223-227-231.client.insightbb.com [12.223.227.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8C8643FBF for ; Mon, 1 Dec 2003 07:15:46 -0800 (PST) (envelope-from mikes@siralan.org) Received: from siralan.org (localhost [127.0.0.1]) by siralan.org (8.12.10/8.12.10) with ESMTP id hB1FFjHU045745; Mon, 1 Dec 2003 10:15:45 -0500 (EST) (envelope-from mikes@siralan.org) Received: (from mikes@localhost) by siralan.org (8.12.10/8.12.10/Submit) id hB1FFjHd045744; Mon, 1 Dec 2003 10:15:45 -0500 (EST) (envelope-from mikes) From: "Michael L. Squires" Message-Id: <200312011515.hB1FFjHd045744@siralan.org> To: root@pukruppa.de (Peter Ulrich Kruppa) Date: Mon, 1 Dec 2003 10:15:44 -0500 (EST) In-Reply-To: <20031201154111.S1722@pukruppa.net> from "Peter Ulrich Kruppa" at Dec 01, 2003 03:49:20 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: FreeBSD questions Subject: Re: Samba server freezes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 15:16:48 -0000 > What might be the reasons for this behaviour? - I can't see any > error messages on the screen. You may need to change the log level in smb.conf to catch more information. It's also very difficult to impossible to help much without at least samba and FreeBSD versions. What's in your smb and nmb logs? What hardware? What does your smb.conf look like? I'm currently running samba (2.2.x) under 4.9-STABLE and I'm not seeing this kind of lockup. There are a lot of system jobs set off by cron early in the morning by default and you may have a hardware problem that doesn't show up until the load is heavy, or a resource problem that only occurs under heavy load. Are you running backups over the network? Have you tried copying large files (more than 1GB) to see if there are problems? What does "netstat -i" show - should be zero errors. I use an old NetWare utility called TESTNET.EXE which runs in a DOS box on a PC and writes arbitrarily large sequential files to any drive. Earlier combinations of samba and FreeBSD had problems with "oplocks" which caused connections to crash, but that hasn't been a problem for years at this point. > Would it make sense to set up a cron job that does a reboot in > the early morning? As a last resort, should not be necessary. Mike Squires