Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 09:54:03 -0300 (EST)
From:      Paulo Cesar Pereira de Andrade <paulo@fiscodata.com.br>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        freebsd-emulation@FreeBSD.ORG
Subject:   Re: soft-updates problem
Message-ID:  <Pine.BSF.3.96.990517093047.751A-100000@main.FiscoData.com.br>
In-Reply-To: <19990513172540.A8673@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990517093047.751A-100000>