Consultor Eletrônico



Kbase P126559: Script run by cron fails with Cannot find or open file <file-name>, errno =24. (43)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/10/2007
Status: Unverified

FACT(s) (Environment):

Progress/OpenEdge Versions
UNIX

SYMPTOM(s):

Script run as a cron job fails with Cannot find or open file <file-name>, errno =24. (43)


Recently added data extents to the database structure.

Script fails on area 55, extent d4.

errno=24:Too many open files

User runs the script from the command line successfully.

CAUSE:

User account runs with a ulimit file descriptor value set in the .profile to 1024 but a cron job is running with the default value of 256 as it does not read the .profile.

FIX:

Set ulimit -n 1024 at the start of the script.