Skip to main content

[archive] Error 94,10

  • June 26, 2008
  • 6 replies
  • 0 views

[Migrated content. Thread originally posted on 25 June 2008]

Hello,

Why does the runtime issues the error 94,10 'too many files open' while I've made the Max_Files = 1024, is't a logical error from me, or should I increase this number?

Regards

6 replies

[Migrated content. Thread originally posted on 25 June 2008]

Hello,

Why does the runtime issues the error 94,10 'too many files open' while I've made the Max_Files = 1024, is't a logical error from me, or should I increase this number?

Regards
You'll need to supply a bit more information. What Operating system are the files being written on? What version of ACUCOBOL-GT? Is AcuServer used? Is a Acu4GL used.
How many files get opened when the error occurs? Are you accomodating for Vison 4 or Vision 5 where two files are opened for each open statement?

For Unix, if the MAX-FILES config variable is set to a number that is larger than the maximum allowed by the kernel there will be a problem. Check the kernal value for maximum number of open files allowed. Adjust the kernel limit (if possible), or the MAX-FILES setting so they are not in conflict.

[Migrated content. Thread originally posted on 25 June 2008]

Hello,

Why does the runtime issues the error 94,10 'too many files open' while I've made the Max_Files = 1024, is't a logical error from me, or should I increase this number?

Regards
Windows-XP(SP3), Acu= 7.2.0 , Acuserver=No, Acu4Gl=No, Opened fiels around = 15
The problem happens only when two programs runs together on the same machine at the same time, here is the cenario:
Main program X calls program Y and Z afrter each others, program Y runs in a thread(programs runs like a batch, it opens almost 5 files), then program X calls program Z which has an interface with the user(program Z opens almost extra 10 files), here I get the error 94,10.
I don't used external config file, i use the MAX_Files from inside the program(prog X).

[Migrated content. Thread originally posted on 25 June 2008]

Hello,

Why does the runtime issues the error 94,10 'too many files open' while I've made the Max_Files = 1024, is't a logical error from me, or should I increase this number?

Regards
Does the program running in the thread use STOP RUN instead of GOBACK. If so, it effectively stops the runtime before it can return to the calling program. This would prevent the runtime from cleaning up open files.

Contact Tech Support, they have a C routine (numfiles.c) which may help you ascertain how many files your particular server will allow to be open.

[Migrated content. Thread originally posted on 25 June 2008]

Hello,

Why does the runtime issues the error 94,10 'too many files open' while I've made the Max_Files = 1024, is't a logical error from me, or should I increase this number?

Regards
Does the program running in the thread use STOP RUN instead of GOBACK. If so, it effectively stops the runtime before it can return to the calling program. This would prevent the runtime from cleaning up open files.

Contact Tech Support, they have a C routine (numfiles.c) which may help you ascertain how many files your particular server will allow to be open.

[Migrated content. Thread originally posted on 25 June 2008]

Hello,

Why does the runtime issues the error 94,10 'too many files open' while I've made the Max_Files = 1024, is't a logical error from me, or should I increase this number?

Regards
Or possibly this

Its bigprog1.cbl from Acucorps sample programs.

[Migrated content. Thread originally posted on 25 June 2008]

Hello,

Why does the runtime issues the error 94,10 'too many files open' while I've made the Max_Files = 1024, is't a logical error from me, or should I increase this number?

Regards
You may also need to set MAX_LOCKS to match the MAX_FILES entry.