Hi,
Normally when a node.js MongoDB server crashes or delays, there might be several causes.
#. Highly referenced schema design in mongoDB.
#. REST api designed with invalid request.
#. null or undefined aren't handled properly.
I have worked on several projects where my duty was to improve the performance. One of those project was ongoing for two and a half years. and I improve the performance a lot on many api.
Now about your api, what does the debug log says. It says something for sure. You can see it on pm2 log. Check when its restarted. and figure out the reason.
because 1000 simultaneous connection isn't very high for node.js. Node.js can take a lot of load than many other server like php.
So if you can give me access I can check it out and fix it or give you the reason to fix it. whatever works with you .
Thanks
Saif.