From owner-freebsd-questions@FreeBSD.ORG Mon Oct 10 00:15:12 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 EBA4716A41F for ; Mon, 10 Oct 2005 00:15:11 +0000 (GMT) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 521D143D45 for ; Mon, 10 Oct 2005 00:15:10 +0000 (GMT) (envelope-from MTaylor@bytecraft.com.au) Received: from localhost (localhost [127.0.0.1]) by wolf.bytecraft.au.com (8.12.11/8.12.11) with ESMTP id j9A0F8Xg003005 for ; Mon, 10 Oct 2005 10:15:08 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com ([127.0.0.1]) by localhost (wolf.bytecraft.au.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02437-03-4 for ; Mon, 10 Oct 2005 10:15:08 +1000 (EST) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.11/8.12.11) with ESMTP id j9A0Esek002962 for ; Mon, 10 Oct 2005 10:14:54 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.0.0.24]) by svmarshal.bytecraft.au.com with MailMarshal (v5, 0, 3, 78) id ; Mon, 10 Oct 2005 10:14:54 +1000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Mon, 10 Oct 2005 10:14:53 +1000 Message-ID: <04E232FDCD9FBE43857F7066CAD3C0F1053BC1@svmailmel.bytecraft.internal> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: unexplained system hangs - possible smbfs issue ?? Thread-Index: AcXNL6K/smF6LhXqQ4qj0XHF+yJmyg== From: "Murray Taylor" To: Subject: unexplained system hangs - possible smbfs issue ?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2005 00:15:12 -0000 Hi all, I have a system using smbfs that locks up every few hours. The system is running a cron job every minute, that opens a directory that is actually a smbfs mounted directory on a Windows Server 2003 machine. The program reads the directory looking for a particular file pattern, opens and processes the file then closes and renames the file. What this means is that the smnfs mounted directory file count constantly increases. The hang mentioned is just that... the cron job doesnt run, you cannot login on the console (well you can type root and and thats it, no password prompt appears). If there is an open console session, a single command can be issued then the console freezes. The only recovery is a power cycle. We have run the programs under a test framework to do a month load of files in an hour, and cant hang things, yet the production box=20 (which is technically a better machine, but runs the same OS versions as the testbed) will hang under 'normal' use every few hours. Its almost clock regular, except that it is slowly reducing the time between hangs. We have just purged the Windows directory, and it seems so far to have extended the hang window. Are there any known issues with smbfs and large directories??? NB We have other processes that use smbfs without the large number of=20 files on the Win systems and these have run ok for years. It will hang on both these production versions. FreeBSD xxxhostnamexxx 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004 root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 FreeBSD xxxhostnamexxx 4.10-RELEASE-p7 FreeBSD 4.10-RELEASE-p7 #3: Thu Apr 14 15:34:37 EST 2005 root@svmysql3.xxxdomainnamexxx:/usr/obj/usr/src/sys/SVMYSQL3 i386 mjt --=20 A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? Murray Taylor Bytecraft Systems P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 E: mtaylor@bytecraft.com.au --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.=20 E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ***This Email has been scanned for Viruses by MailMarshal.***