Too Many Open Files - Linux 5.0
Bill Campbell
bill at celestial.com
Mon Oct 11 17:00:20 PDT 2010
On Mon, Oct 11, 2010, Nancy Palmquist wrote:
> I know something is wrong. The following is a dump of @ALLFILES[]
>
>Starting with element 422 (450-423 are blank) I get a bunch of the same
>thing.
>
>Right before this I used getnext to find all the entries that match one
>inquiry number. There could easily have been hundreds, but each access
>should not list the same index.
>
...
>I get too many open files - 60 is the limit. I have to get this running.
>It seems to affect more than just this report.
I seriously doubt this is a Linux limit as the limit on any
current Linux system I've seen is in the 10s of thousands of open
files, nothing close to 60. To see the overall limit on a Linux box:
cat /proc/sys/fs/file-max
For normal users these commands give the hard and soft limits:
ulimit -Hn
ulimit -Sn
These both show 1024 on CentOS 5.x and SuSE Linux Enterprise
Linux 9 systems here which are defaults.
I think somebody commented earlier in this thread that it's
probably an internal FilePro limit.
FWIW, I switched from FilePro to Unify in 1984 or so when I ran
into the hard limit in Tandy Xenix of 20 open files in my
accounting application. Unify maintains logical tables in a
single file, similar to what one might do in with Berkeley DB
today (and what I had done in a COBOL accounting system I wrote
in the early '70s on Burroughs main frames).
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
Make no laws whatever concerning speech and, speech will be free; so soon as
you make a declaration on paper that speech shall be free, you will have a
hundred lawyers proving that freedom does not mean abuse, nor liberty
license; and they will define and define freedom out of existence.
- Voltarine de Cleyre (1866-1912)
More information about the Filepro-list
mailing list