PM2 Process Manager | Running Node.js and Python apps in background
Вставка
- Опубліковано 7 лют 2025
- PM2 is process manager written in Node.js and available as NPM package. With PM2 you could easily run multiple applications either during development or in production. Let's try it in action and see how easy and reliable it is.
🔥 My personal website with all courses that I teach
stashchuk.com/
SUBSCRIBE IN SOCIAL NETWORKS
🎦 UA-cam / codingtutorials
🙍 LinkedIn / bogdanstashchuk
📪 Twitter / bogdanstashchuk
Email 📧 in case you want to send me a notice
bstashchuk@gmail.com
Which topic should I cover next?
Coding Tutorials thanks for your awesome videos . I’m a math graduate and I’m trying to teach myself programming , Because I didn’t have much programming background I got stocked some time after I started . fortunately I found your JavaScript bible course on Udemy and things started to change now I’m enjoying from programming and I understand concepts clearly I’m almost finishing the course but I don’t know what should I do after it ! I would be so much grateful if you could tell me how to continue this journey . what skills should I learn ?! which languages Should I learn ? I don’t have a map to know what should I do to become a programmer?! I don’t really have much people around to guide me
Thank you so much (I taught myself html and css already)
Thanks for starting your programming journey with me! I will publish soon a video where I will answer your question regarding how to find first job and what to do next after you have learned some basics like css, html, js.
Coding Tutorials I appreciate it 🙏
Your tutorials are awesome, would you like to cover relations in mongodb including virtual and path properties. Reference link for virtuals: mongoosejs.com/docs/guide.html#virtuals
For relational databases, I would request to you to make a tutorial on sequelize ORM: sequelize.org/. Thanks
Your approach of taking TIME, and explaining a topic with MULTIPLE examples is AWESOME bogdan. Keep it up.
Thanks, will do!
this was one of the BEST tutorials i have ever seen, the quality of the video, the speed of the talking and coding, it was VERY helpful, thank you so much, this should have 1 M views
Wow, thanks!
You really made my day! I just couldn't get on with a project and thanks to you I got an important part working. Thanks a lot
Thank you so much for creating this course. Loved the content and it helped me look like a rock star at work😂
I have subbed with notifications and looking forward to more videos🔥
This is exactly what I was looking for. спасибо!
Happy to be helpful!
Thanks for nice explanation and giving free knowledge to the world
Extremely helpful. Thanks
This was a very helpful tutorial. Thank you!
Thanks, Justin
Thank you so much for great explanation. Very helpful tutorial.
You are welcome!
What a fantasy tutorial for pm2 and express!
Thank you!
Thank you, I've learned so much!!!
You are so welcome!
Thank you very very much, perfect tutorial
You are great sir! Thank you very much...
Happy to help
Very Nice video Sir ..good explanation of pm2
Thank you, Siddhant
thanks for the video, I really like your tutorials
Thank you Lan
Спасибо большое! это та инфа, что искал!
It was Very helpful, Thank you.
Found this tutorial very useful and hope you to make more awesome tutorial could make a series on cloud native computing with roadmap to learn like to learn docker, kubernetes and what to learn next. :-)
Thanks Ameer for suggestions. Will do so.
Awesome explanation. thanks alot
Thank you so much, for this awesome video, do you happen to cover how to use PM2 in production for Flask API (Prod server)
Thanks a lot 🙏🏻
It was really helpful ☺️
Awesome!!!
Thank you very much 😊
You're welcome 😊
Amazing Video!
Amazing, Thanks
You are welcome!
Respect! Great content !
Thanks, man
Thank You
You're welcome
Thanks 😊
No problem😀
Always rock 🤟
Thanks
why does reload not fail since when fully started the second process will be listening on the exact same port as the process already running? OR does it kill the old process early in the life of the new and is that a timing risk, OR.... does pm2 somehow manage various sockets/handles etc virtually and is therefore able to switch the real listening port connection when ready? I'd be interested to know about this and if reload will work in a stable fashion for EVERY app and if so HOW?
Thanks
BOGDAN TELL ME ONE THING BROTHER THERE IS A BIG CONFUSION IN MY HEAD WHILE LEARNING CICD I HEARD ABOUT PM2 WHILE DEPLOYING NODEJS APPLICATION I DIDNT GET ANYTHING, I WNNA ASK U AS A DEVOPS ENGINEER POD AND DOCKER CONTAINER HAVE THIS CAPABLITY TO MAKE THE APPLICATION ALWAYS UP AND RUNNING INSIDE SO SHOULD I USE PM2 ALSO THERE INSIDE DOCKER CONTAINER AND POD PLZ CLEAR MY CONFUSION WHICH IS THE BEST USE CASE TO USE PM2 TO MAKE MY APPLICATION ALWAYS UP AND RUNNING ON ANY SERVER OR DOCKER CONTAINER OR POD
pm2 save and pm2 startup are they required?
I'm a beginner on Node. I am using PM2 on Cpanel, however, I found that for any database error it shows status as "errored", the server stops and won't restart automatically. Please suggest, how can I overcome this ? . database errors are because it's not detecting env. variables.
👍👏👏
Nice tutorials. Can you please make tutorials on Feathers.Js
What theme do you use? its pretty nice. Thanks a lot for this course.
yes, i searching for the themes too, if anyone knows, please tell us, thanks!
hello how can i pipe two apps.. Output of OpenCV pythonApp to Ffmpeg and output of ffpeg into the node app ????
can you tell me the color and type of your vs code Color Theme?
How can I run "pm2 startup" on the windows server 2019?
Dear Bogdan Stashchuk,
The first thank big for you.
I had workfollow as aboves, but it have problems.
- after install nodejs, npm, pm2
- when i action: pm2 list -->Spawning PM2 daemon with pm2_home=/home/vietk/.pm2
and pm2 start app.js -->Spawning PM2 daemon with pm2_home=/home/vietk/.pm2 --> it can not show table as you was worked.
I had tried many method( install Os Ubuntu 22.04 , install nodejs..., but it still have problems as above
Can you and everybody help me!
Thnak you so much.
1:47, I subed already
I wish there was "pm2-logrotate" topic as well
Why is it called pm2 ?
"serve": "node server.ts",
"start": "ts-node server.ts ", ? problem
appapea
TLDW