From owner-freebsd-fs@FreeBSD.ORG Fri Nov 5 12:00:22 2010 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B6C710656B0 for ; Fri, 5 Nov 2010 12:00:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 54ACE8FC25 for ; Fri, 5 Nov 2010 12:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA5C0M9R062480 for ; Fri, 5 Nov 2010 12:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA5C0Md5062470; Fri, 5 Nov 2010 12:00:22 GMT (envelope-from gnats) Date: Fri, 5 Nov 2010 12:00:22 GMT Message-Id: <201011051200.oA5C0Md5062470@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Oliver Fromme Cc: Subject: Re: kern/151251: [ufs] Can not create files on filesystem with heavy usage X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oliver Fromme List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 12:00:22 -0000 The following reply was made to PR kern/151251; it has been noted by GNATS. From: Oliver Fromme To: bug-followup@FreeBSD.org, vermaden@interia.pl Cc: Subject: Re: kern/151251: [ufs] Can not create files on filesystem with heavy usage Date: Fri, 5 Nov 2010 12:53:41 +0100 (CET) vermaden wrote: > /usr/mail/DOMAIN/USER@DOMAIN/new # :> asd > /usr/mail/DOMAIN/USER@DOMAIN/new # echo $? > > /usr/mail/DOMAIN/USER@DOMAIN/new # ls asd > ls: asd: No such file or directory > /usr/mail/DOMAIN/USER@DOMAIN/new # echo $? > 1 > > If I reboot, everything goes back to normal and I can create files there: > /usr/mail/DOMAIN/USER@DOMAIN/new # :> asd > /usr/mail/DOMAIN/USER@DOMAIN/new # echo $? > > /usr/mail/DOMAIN/USER@DOMAIN/new # ls asd > asd > /usr/mail/DOMAIN/USER@DOMAIN/new # echo $? > Could it be that there is a problem with your shell? For successful completion, "$?" should contain the value 0, not an empty string. This looks fishy. One possibility is that your shell is malfunctioning because of a resource shortage and insufficient error checking. But that's just a wild guess. Please use plain /bin/sh to make sure that the shell is not causing (or hiding) any problems. If you still get exactly the same results, something really strange must be going on. By the way, I noticed that your machine (2.3 GHz Xeon) has only 320 MB RAM, which isn't exactly plenty, depending on the things that are running (you mentioned "heavy usage"). Could it be that you're running out of memory? (Although the symptoms aren't typical.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing." -- Dick Brandon