I have a website hosted on a basic droplet. It has 25GB on memory. This is plenty of space to run a basic nodejs backend as the code repo is pretty small.
The droplet has 12GB of free memory but this keeps filling up with log files. The droplet came with some ‘hello’ example and I found the pm2 logs related to this.
In the pm2 error log it says “cannot find module /var/www/html/hello.js…”…
I have gone and deleted the code and nginx config for this application. It looks like pm2 is tryin to run it and failing. I can’t find where pm2 is trying to run this. This application doesn’t show when I do pm2 list so i can’t stop it. It only shows my nodejs backend, and I also installed pm2-lograte to manage the log files. I looked in the pm2 startup scripts thinking that it came back after a restart but I don’t see it listed there…
So my question is, how do i find and stop the hello application?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.