Salesforce

Guidelines for calculating the maximum number of open files in the UNIX/LINUX kernel.

« Go Back

Information

 
TitleGuidelines for calculating the maximum number of open files in the UNIX/LINUX kernel.
URL NameP44934
Article Number000147711
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: Unix/Linux
Question/Problem Description
Guidelines for calculating the maximum number of open files in the UNIX kernel.
Is there a general formula for calculating the NFILES values?
How to calculate Maximum number of Openfiles in Linux?
 
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The maximum number of open files in the UNIX/Linux kernel needed by Progress is based on the following:

For each Progress process:
  1. The number of all database extents to which the process connects in shared memory.
  2. The number of all before-image extents.
  3. The number of after-image extents, if after-imaging is enabled.
  4.  50 file descriptors for other non-database related files (standard input, standard output, ports, PROMSGS etc).
This must be multiplied by the number of Progress processes running on the machine (which includes watchdog, APW's, BIW's, remote servers etc)

Please be aware that these guidelines do not take into account the files needed by the AdminServer (if it is running), nor the files needed by the operating system itself.

The number of files open can be seen by running:

The number of open sockets: 
netstat -an |grep stream | wc -l

The number of open files by any process: 
lsof  | grep <pid> | wc -l 
Workaround
Notes
Keyword Phrase
Last Modified Date11/20/2020 7:39 AM

Powered by