Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

(node) Hit max file limit?

I keep getting an error in my node.js instance where it reports the error:

(node) Hit max file limit. Increase "ulimit - n"

Yet when I check my ulimit -n, it says 65535. There is no way in hell my app is opening 65535 connections. Does anyone have any suggestions on what else to check?

Cheers

like image 219
kidcapital Avatar asked Nov 04 '22 23:11

kidcapital


1 Answers

You can try to set the limits in /etc/security/limits.conf file. Here is a "how to" guide to set the limits within the file (in your case it should be nofile value).

like image 150
yojimbo87 Avatar answered Nov 09 '22 02:11

yojimbo87