Please help with setting max file descriptors

I am doing an initial POC/trial for using Nexus at my company. When I open admin pages for Nexus Repository I get this warning:

System Requirement: max file descriptors [4096] likely too low, increase to at least [65536].

I have followed the instructions at https://help.sonatype.com/repomanager3/system-requirements#SystemRequirements-Linux and restarted my server but still get the warning. I am running OSS 3.12.1-01 on Centos 7.4.

Am I missing something in the instructions? Any suggestions?

The Nexus Repository process is not seeing the change you made. You may find this page helpful as well: The nexus.log file is full of "too many open files" exceptions, how can I fix this? – Sonatype Support

If you have changed limits.conf, the “nexus” in the examples is the OS user id. If you are running the application as some other user, you will need to make sure that user id matches what you have in limits.conf.

Also, note that if you are using systemd, the changes in limits.conf will not work. You will need to set the open file limit in the systemd config.

1 Like

See here for specific instructions on configuring file handle limits:

https://help.sonatype.com/display/NXRM3/System+Requirements#SystemRequirements-AdequateFileHandleLimits