Zoomdata Version

Installation Prerequisites

Configuring Max Open Processes and Open Files To Support Zoomdata Runtime

To avoid runtime issues with the Zoomdata platform (which include services like the Scheduler), it is recommended to configure the maximum number of open processes and open files that can be run in your operating environment. These recommended settings help avoid having Zoomdata processes hit the resource limits that may be imposed by your operating system.

See the following:

CentOS 6:

These steps are also correct if you are installing Zoomdata via tarball scripts.

  1. Use the following command to access and open the limits.conf file:
         vi /etc/security/limits.conf
    If the configuration file does not exist, this command creates it.
  2. Add the following lines to the file:
    zoomdata soft nproc 4096
    zoomdata hard nproc 4096
    zoomdata soft nofile 10000
    zoomdata hard nofile 10000
  3. Save and exit the configuration file.

CentOS 7:

If you are installing via RPM using CentOS or Red Hat, the recommended settings differ slightly. Because systemd is responsible for starting the various Zoomdata services, you need to amend the files/serviecs launched so that the limits.conf file is not ignored.

It is recommended to make an override directory specifically for the services you want to override.

  1. Make a new systemd directory:
  2.  mkdir /etc/systemd/system/<servicename>.service.d/

    replacing <servicename> with the service you need to override.
  3. The file name for the service you want to override needs to need in .conf so use the following command:
  4. touch /etc/systemd/system/<servicename>.service.d/<servicename>.conf

For more information about managing services for Red Hat, see the Red Hat documentation.

If you need to increase the system limits in CentOS 7/Ubuntu 16 if Zoomdata stops operating and you receive the error message too many files, cannot operate, make the following changes:

  1. In your service.d folder, open the limits.conf file. If the file does not existing, you need to create the file.
  2. Add the following to the file:
  3. [Service]
  4. Restart the init service:
  5. systemctl daemon-reload
  6. Restart the zoomdata service:
  7. systemctl restart zoomdata.service
  8. Check to ensure your changes were applied:
  9. ps -ef | grep zoomdata-web | grep -v grep | awk '{system("cat /proc/"$2"/limits")}' | grep -i "Max open files"
  10. In the output, you should see the following, indicating that your changes were applied:
  11. Max open files            10000                10000                files

Return to the installation article your are using to continue the installation process:

Was this topic helpful?