Kbase 19684: Resolving Error 43 with errno 24 on Solaris Platform
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/11/2008 |
|
Status: Verified
SYMPTOM(s):
** Cannot find or open file <file-name>, errno = <number>. (43)
** Cannot find or open file <file-name>, errno = 24. (43)
FACT(s) (Environment):
errno = 24 is listed in /usr/include/sys/errno.h as:
#define EMFILE 24 /* Too many open files */
Sun Solaris
Progress/OpenEdge Product Family
CAUSE:
It usually indicates that the maximum number of files in your operating system kernel is set too low.
FIX:
Error 24 is corrected by either of two choices: via a shell or editing the /etc/system file to tune the kernel.
1) Via a Shell:
ksh - edit .profile to contain the line
ulimit -n ##
csh - edit .login to contain the line
limit descriptors ##
2) Via the /etc/system:
add the following two lines to the etc/system file:
set rlim_fd_max = ##
set rlim_fd_cur = ##
Start with the number 512 for the ##. 512 should work well for most
databases but you can increase the number accordingly.