|
Just a guess: do you use 'opendir' for reading directories? And if so, do you use 'closedir' as well? Joep Beckeringh "Rick DuVall" <R_C_DuVall@xxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 23-11-2005 16:07 Please respond to RPG programming on the AS400 / iSeries To: "RPG400-L@midrange. com" <RPG400-L@xxxxxxxxxxxx> cc: Fax to: Subject: Too Many Files Open Error Hi Group, I have a system running that, in part, accepts base64 jpegs, converts them to binary, and writes them to the IFS (kudos to Scott Klement for his base64 routines - great!). It runs fine with one exception. Periodically, it returns a 'Too many open files for this process.' error when trying to open a file for write. Obviously I must be failing to close files somewhere, but I have not been able to locate the fault. It would surely help if I could, at failure time, list all the open files giving me a place to look but I haven't found anything that would let me do that. It is barely possible the problem is not in the module I am examining (it's a fairly complex process overall). I would appreciate any pointers or suggestions - api's whatever that could help me nail this down. Can you get a list of open ifs files? Thanks Rick DuVall Systems Manager Dealer's Auto Auction of Okc 405 947-2886 Ext:143 rick@xxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.