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:
These steps are also correct if you are installing Zoomdata via tarball scripts.
Use the following command to access and open the
vi /etc/security/limits.conIf the configuration file does not exist, this command creates it.
Add the following lines to the file:
zoomdata soft nproc 4096
zoomdata hard nproc 4096
zoomdata soft nofile 10000
zoomdata hard nofile 10000
- Save and exit the configuration file.
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.
- Make a new systemd directory. mkdir /etc/systemd/system/<servicename>.service.d/ replacing <servicename> with the service you need to override.
- The file name for the service you want to override needs to need in .conf so use the following command. touch /etc/systemd/system/<servicename>.service.d/<servicename>.conf
For more information about managing services for Red Hat, see the Red Hat documentation.
Return to the installation article your are using to continue the installation process:
Was this topic helpful?