Consultor Eletrônico



Kbase 20739: Error 359 Followed by 43 and 354 on Linux
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/19/2003
SUMMARY:

This solution provides a solution to the following errors you might experience on Linux (Red Hat) platforms:

SYSTEM ERROR: Too many files open. Cannot make a pipe.
(359)

** Cannot find or open file <file-name>, errno = 23.
(43)

Unable to open or create <filename>., error 23. (354)

The error code "errno = 23" states File, Mfile, Inode
table overflow.

SOLUTION:

The maximum number of open files might have been reached. One possible solution is to increase dynamically file-max:

echo "<new-value>" >/proc/sys/fs/file-max

e.g. echo "16384" > /proc/sys/fs/file-max


File-max represents the maximum number of file handles that the
Linux kernel allocates.

If that does not solve the problem, you can also increase the per process limit of open files (set by default to 1024). You must edit the files limits.h and fs.h in the directory /usr/src/linux/include/linux and modify NR_OPEN.

To take advantage of the new limit you have to recompile the kernel.