Support & Documentation
Follow

How Can I Get the Linux Stackify Agent to Work with cPanel?

cPanel by default sets the number of file descriptors to 100. In order for the Stackify agent to work correctly, the number of file descriptors needs to be set to 256. This article will show you how to set these limits so that the agent will work properly.

Errors in the Log File

Errors in the Log File

To confirm that the issue the agent is not working on your server is related to the file descriptor limit, check the agent log file for the error "Too many open files".

Fixing the Issue

Once you have verified that the above error is occurring on your server, the next step is to locate the files that are setting the default limits to 100 and increase the limits to 256. In most cases, the files that need to be edited are:

  • /etc/profile
  • /etc/bashrc
  • /etc/profile.d/limits.sh

Note: cPanel and server configuration may vary. If making changes to these files does not fix the issue, you can find more information in the cPanel forums or by checking out this thread: https://forums.cpanel.net/threads/the-purpose-of-etc-profile-d-limit-sh.389332/

If you are unable to find information to address the issue, please contact support@stackify.com for further assistance.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk