Checksum: 15620
Path: utzoo!utgpu!romwa
From: romwa@gpu.utcs.toronto.edu (Royal Ontario Museum)
Date: Fri, 20-Jan-89 10:01:38 EST
Message-ID: <1989Jan20.100138.13098@gpu.utcs.toronto.edu>
Organization: University of Toronto Computing Services
Subject: RE: tbl123 - problems with large spreadsheets
Newsgroups: comp.unix.xenix
Keywords: file pointers, memory fault

I just tried tbl123 with a large spreadsheet and got a memory
fault.  When writing the program for our Xenix'286, I
discovered that our C compiler on Xenix didn't allow an "r+"
attribute on fopen.  As a result, a lot of the temporary files
carry around 2 file pointers (r/w).  And their are a lot of temp
files to begin with.  I think that this blows the 20 file
descriptor limit.

The best work around is to go to a smaller point size.  This
opens fewer files and you won't get the error.  When, we
upgrade to a '386, I'll redo the file pointer stuff and free
up some more descriptors.

QUESTION:  Is there anyway of increasing the number of
descriptors a process can open at one time (a la, FILES=30)?

Anyone having any other problems, please e-mail me and I'll
try to help.

Pavneet Arora
...!utgpu!rom!pavneet

Royal Ontario Museum
100 Queen's Park
Toronto, Ontario
M5S 2C6
(416) 586-5626
