× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm glad to hear that the problem was resolved. If you ever run into a situation where the user really does need lots of file open, in addition to your own application needs, you may (if you aren't already aware of it) find the Change Maximum Number of File Descriptors API DosSetRelMaxFH handy. You can find it at http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/topic/apis/dossrmfh.htm

Bruce Vining
http://www.brucevining.com/

Peter Clifford <pete@xxxxxxxxxxxxxxxxxxxxx> wrote:
Thanks Bruce, I'll take a look at that.

As it turns out, the customer traced to the problem to a program of their
own that was opening files in the IFS and not closing them. Our code just
happened to be unlucky enough to open the file that pushed things over the
limit.

Pete
"Bruce Vining" wrote in message
news:mailman.2477.1200593645.2382.midrange-l@xxxxxxxxxxxxxxx
The Retrieve Referenced Objects (QP0LRRO) API might be of assistance to
you. The API will return information on the integrated file system
objects that are currently referenced by a specific job, along with the
number of references to the object. The API documentation is at
http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/topic/apis/qp0lrro.htm

Bruce Vining
http://www.brucevining.com/

Peter Clifford
wrote:
Does anyone know of a way of determining how many IFS files are currently
open, i.e. file descriptors opened with the UNIX-style open() IFS API?

I have an application that is crashing with return code 3452 "Too many
open
files for this process". I suspect a file is being opened somewhere and
not
closed, but tracing the offending code is proving difficult and I would
like
to be able to check the open file count at various points in processing.

Thanks

Pete

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




Bruce
Bruce Vining Services
507-206-4178


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.