For permanent changes (for users other than root), edit the /etc/security/limits.conf file. Add or modify lines like this:
Replace <username> with the actual username. This example sets both soft and hard limits to 8192 files.
Additional Recommendations: It's advisable to set the soft limit higher than your current usage but within the hard limit. Doubling the current soft limit is a good starting point.
For further detailed guidance on resolving this issue, refer to this practical walkthrough: Too Many Open Files - Linux.
This should help in resolving the issue related to Artifactory's performance due to file handling limits on your server.
<username> soft nofile 8192 <username> hard nofile 8192
Replace <username> with the actual username. This example sets both soft and hard limits to 8192 files.
Additional Recommendations: It's advisable to set the soft limit higher than your current usage but within the hard limit. Doubling the current soft limit is a good starting point.
For further detailed guidance on resolving this issue, refer to this practical walkthrough: Too Many Open Files - Linux.
This should help in resolving the issue related to Artifactory's performance due to file handling limits on your server.