From owner-freebsd-emulation Mon May 17 5:45:59 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from main.FiscoData.com.br (main.fiscodata.com.br [200.250.90.129]) by hub.freebsd.org (Postfix) with ESMTP id 71C3F14A14 for ; Mon, 17 May 1999 05:45:44 -0700 (PDT) (envelope-from paulo@fiscodata.com.br) Received: from main.FiscoData.com.br (ns1.fiscodata [192.168.0.1]) by main.FiscoData.com.br (8.8.8/8.8.5) with SMTP id JAA14913; Mon, 17 May 1999 09:54:04 -0300 (EST) Date: Mon, 17 May 1999 09:54:03 -0300 (EST) From: Paulo Cesar Pereira de Andrade To: Dan Nelson Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: soft-updates problem In-Reply-To: <19990513172540.A8673@dan.emsphone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 13 May 1999, Dan Nelson wrote: Sorry for the delay, was waiting the problem happen 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. There are no cobol programs running (and some of them works with no problems). I don't understand anything about cobol... but there is no load in the system. > -Dan Nelson > dnelson@emsphone.com here is some information I think should help: ---- problem ---- ---- ok ---- NAMI "cab2.cbl" NAMI "cab2.cbl" RET getfsstat 0 RET getfsstat 0 CALL old.lstat(0x412cae,0x3,0,0x82be4,0) CALL old.lstat(0x412cae,0x3,0,0x82be4,0) NAMI "." NAMI "." RET old.lstat 255/0xff RET old.lstat 255/0xff CALL open(0xefbfd5d8,0,0x4d8a64) CALL open(0xefbfd5d8,0,0x4d8a64) NAMI "cab2.cbl" NAMI "cab2.cbl" RET open 5 RET open 5 CALL sendmsg(0x5,0xefbfd590) CALL sendmsg(0x5,0xefbfd590) RET sendmsg 0 RET sendmsg 0 CALL old.fstat(0x5,0x2,0x1) CALL old.fstat(0x5,0x2,0x1) RET old.fstat 0 RET old.fstat 0 CALL old.fstat(0x5,0x7,0xefbfd560) CALL old.fstat(0x5,0x7,0xefbfd560) RET old.fstat 0 RET old.fstat 0 CALL getpid CALL getpid RET getpid 85020/0x14c1c RET getpid 303/0x12f CALL old.fstat(0x5,0x6,0xefbfd560) CALL old.fstat(0x5,0x6,0xefbfd560) RET old.fstat -1 errno 22 Invalid argument RET old.fstat 0 CALL close(0x5) CALL old.fstat(0x5,0x7,0xefbfd560) RET old.fstat 0 CALL old.fstat(0x5,0x2,0x1) (-- ok -- is after a reboot, with no changes in anything, and our cobol programer says there are no changes in his programs, that runs for month in a 2.2.7 FreeBSD system) Thanks, Paulo -- For perfect happiness, remember two things: (1) Be content with what you've got. (2) Be sure you've got plenty. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message