I have installed mongoDB on ubuntu 18.04. when I run my code, it starts giving me the error
Error connecting to 192.xx.xx.xx : Too many open files
I've tried to set up ulimit -a to a larger value and also running ulimit command says "unlimited".
any help will be greatly appreciated. Thanks.