create account

RE: How to use PM2 to manage your scripts by solominer

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @themarkymark/how-to-use-pm2-to-manage-your-scripts

· @solominer · (edited)
[@themarkymark](https://steemit.com/@themarkymark) I love pm2. I use it on my Spee.ch server and my onelovedtube server. Recently I started using the "cron_restart" command in pm2 for restarting my leaky apps once a day so they dont run out of memory. It was introduced into pm2 a few versions ago.

Great app, glad to see it's used by yourself as well.
👍  ,
properties (23)
authorsolominer
permlinksolominer-re-themarkymark-how-to-use-pm2-to-manage-your-scripts-20190906t133311138z
categorylinux
json_metadata{"app":"partiko","client":"android"}
created2019-09-06 13:33:12
last_update2019-09-07 14:04:03
depth1
children5
last_payout2019-09-13 13:33:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length353
author_reputation1,856,520,602,592,914
root_title"How to use PM2 to manage your scripts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,309,345
net_rshares73,276,010,130
author_curate_reward""
vote details (2)
@themarkymark ·
pm2 is deceptively easy to use but has so many features you would never expect.  A real shame there it is so expensive to use the paid version.  For $80/months should be unlimited processes or a lot more than just 24.
👍  
👎  
properties (23)
authorthemarkymark
permlinkpxf64a
categorylinux
json_metadata{"tags":["linux"],"app":"steemit/0.1"}
created2019-09-06 17:04:57
last_update2019-09-06 17:04:57
depth2
children4
last_payout2019-09-13 17:04:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length217
author_reputation1,778,682,116,552,589
root_title"How to use PM2 to manage your scripts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,316,036
net_rshares11,522,528,284
author_curate_reward""
vote details (2)
@solominer ·
@themarkymark oh.. I was wondering what you got with the paid version. My servers are quite light weight and I have a max of three or four pm2 processes running. But by the looks of your screenshots you may be close to that limit.

Yeah seems kinda crappy of them to do that, in the linux community.

Posted using [Partiko Android](https://partiko.app/referral/solominer)
👍  ,
properties (23)
authorsolominer
permlinksolominer-re-themarkymark-pxf64a-20190907t140541561z
categorylinux
json_metadata{"app":"partiko","client":"android"}
created2019-09-07 14:05:42
last_update2019-09-07 14:05:42
depth3
children3
last_payout2019-09-14 14:05:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length371
author_reputation1,856,520,602,592,914
root_title"How to use PM2 to manage your scripts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,342,980
net_rshares74,508,009,104
author_curate_reward""
vote details (2)
@themarkymark ·
I don't mind a paid version, it's just expensive with a very small amount of processes you can run compared to unlimited with the free version.

One of the biggest things with the paid version is Machine Learning Error detection.  In a production environment, this is huge.

You can see the differences here:

https://i.imgur.com/BCxpYho.png
👍  
👎  
properties (23)
authorthemarkymark
permlinkpxgsn0
categorylinux
json_metadata{"tags":["linux"],"image":["https://i.imgur.com/BCxpYho.png"],"app":"steemit/0.1"}
created2019-09-07 14:09:03
last_update2019-09-07 14:09:03
depth4
children2
last_payout2019-09-14 14:09:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length341
author_reputation1,778,682,116,552,589
root_title"How to use PM2 to manage your scripts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,343,104
net_rshares11,499,813,869
author_curate_reward""
vote details (2)