I ran into this today and I didn't want to run the server as a service, at least not yet. I already had the entry in /etc/security/limits.conf for nofiles, but it didn't take effect.
Looking at Number of open files - Knowledge Base I added two files:...