From owner-freebsd-emulation Thu May 13 15:25:54 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 403EF14D59 for ; Thu, 13 May 1999 15:25:51 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id RAA09162; Thu, 13 May 1999 17:25:40 -0500 (CDT) (envelope-from dan) Date: Thu, 13 May 1999 17:25:40 -0500 From: Dan Nelson To: Paulo Cesar Pereira de Andrade Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: soft-updates problem Message-ID: <19990513172540.A8673@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: ; from "Paulo Cesar Pereira de Andrade" on Thu May 13 16:46:31 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In the last episode (May 13), Paulo Cesar Pereira de Andrade said: > I hope this is the correct place to post this. > > Enabled soft-updates in a system here, for testing purposes, but > then, after a day or two, our cobol programs refused to work, the > error messages said that programs could not open more files, after a > reboot, things became normal again. ... > Tried with IBCS2 as a kld and as a kernel option. The problem is > always reproducible. Without softupdates, there are no problems. Weird. The softupdates feature is handled at the block level of the filesystem; it doesn't have a concept of "open files". This doesn't mean softupdates isn't the problem; it just means that it's not _directly_ causing your problem. Is the error message "/kernel file: table is full"? I'm guessing that with softupdates on, your COBOL program isn't exiting completely, and is hanging before it closes its files. Try running "fstat" and see if you have a lot of open files opened by "cobrun" or "rts32". If you do, run "ps axl" and take a look at the WCHAN column for those processes and let us know what it is. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message