What is your limit set to? Most node apps need the limit increased due to the process model.
I set mine to 6400 usually via "ulimit -n 6400" before starting the app. On Sat, Jul 23, 2016 at 2:08 PM, Ryan Graham <[email protected]> wrote: > This was also posted on stackoverflow earlier (where I posted my reply). > > http://stackoverflow.com/q/38540288/62525 > > ~Ryan > > On Sat, Jul 23, 2016, 10:59 AM ManojKumar G <[email protected]> wrote: > >> Hi all, >> I'm developing an loopback application to get data using oracledb npm >> module from ORACLE and convert it to JSON format to be stored in MONGODB. >> MONGODBis accessed using "loopback-connector-mongodb". >> The data to be stored would be around for 100 collections as of for 100 >> tables from ORACLE. >> I'm pushing data with http request row by row for the entire collection >> list from node server from my local application to another server >> application on remote machine using http-request through remote method call. >> >> When the data write operation the remote machine application stops >> throwing an error showing "EMFILE error". >> >> I googled and some reference showed that it is because of the maximum >> number of opened files/sockets. Hence i tried disconnecting the DataSource >> for each request. Still i'm getting the same error. >> >> Please help me on this!! >> >> Thanks. >> >> -- >> Job board: http://jobs.nodejs.org/ >> New group rules: >> https://gist.github.com/othiym23/9886289#file-moderation-policy-md >> Old group rules: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/nodejs/507d495f-aca4-48c0-8ebc-af6961624683%40googlegroups.com >> <https://groups.google.com/d/msgid/nodejs/507d495f-aca4-48c0-8ebc-af6961624683%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > > ~Ryan > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/CAGjmZGxbSFEbt%3DMEbrBRXx39q3Kp6tzgqLBthz2peVy61RTacg%40mail.gmail.com > <https://groups.google.com/d/msgid/nodejs/CAGjmZGxbSFEbt%3DMEbrBRXx39q3Kp6tzgqLBthz2peVy61RTacg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAPJ5V2Zh718YM6poCisoi09Mz1Nkj2mujkery3U8%2B%3DNzBAQ56A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
