Configure ulimit using upstart

For Ubuntu and Red Hat systems, the allowed number of open file handles is specified in system configuration files for each PE service.

  1. Locate the file for the PE service you want to configure. The location depends on the platform, and the file name matches the PE service name (as listed in Configure ulimit).
    • Ubuntu: /etc/default/<PE_SERVICE>
    • Red Hat: /etc/sysconfig/<PE_SERVICE>
  2. Set the ulimit setting on the last line of the file as follows:
    ulimit -n <ULIMIT_VALUE>

    For example, this configuration set the allowed number of open files to 32,678:

    ulimit -n 32678