Consultor Eletrônico



Kbase 36367: Error 98 with errno=24 running a Program on HP-UX
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/11/2000
Solution ID: P6367

FACT(s) (Environment):

HP-UX

SYMPTOM(s):

Error 98 with errno=24 running a Program on HP-UX

** Unable to open file: <file-name>. Errno=24. (98)

CAUSE:

The error code presented on the message file indicates a kernel configuration problem on the machine. In /usr/include/sys/errno.h file the description of the error code 24 is:

#define EMFILE 24 /* Too many open files */

FIX:

There are some parameters that can be incremented on the operating system kernel to fix this error on HP-UX:

nfiles: defines the maximum number of files that can be open simultaneously, system-wide, at any given time.

maxfiles: Soft limit to the number of files a process can have open. Range of value can be 30 - 2048. The default value is 60. Recommendation: Change this to 2048

maxfiles_lim: Hard limit for the number of files a process can have open. Range of value can be 30 - 2048. The default value is 1024. Recommendation: Change this to 2048.