Articles tagged in: Server



PM2 — Log Handling

Log handling is an essential key factor in process management. Even though you might not be interested in your logs if everything went smooth. Wait for your first downtime and app failures and you’ll find your fastest way to get proper information about the current application situation within your …

Continue Reading

PM2 — Advanced App Configuration with JSON File

Within this article, we’re going to explore an advanced way to declare and start your applications. If you read the previous article on process management with PM2, you’re familiar with starting applications from command line. PM2 offers another way to start applications: by using an app declaration file …

Continue Reading

PM2 — Cluster Mode and Zero-Downtime Restarts

You’ve already learned how to start, stop, or delete application processes with PM2. There is a major downside having only one app process running: app updates. Deploying updates to your application requires a restart to make the changes available to every visitor. These app restarts will cause a downtime, …

Continue Reading

PM2 — CPU/Memory Monitoring

The previous posts within this series guided you through the topics of process management, how to display currently managed app instance processes and how to restart your applications after system reboots. With PM2, you can also monitor your app processes in respect of CPU and memory utilization. This article will …

Continue Reading

PM2 — Update the Utility

You already know how to use PM2 to start and stop processes. Honestly, installed tools, utilities and apps on your server to run your actual applications are one of the things you don’t want to touch that often and PM2 is no exception. Once everything is installed and running, …

Continue Reading

PM2 — List Processes and Show Process Details

The last two blog posts on PM2 covered the utility overview and guided you through the process management including start, restart, stop and delete processes of various types (Node.js, Ruby, Python, PHP, etc). Once you have processes started with PM2, you want to get a comprehensive overview of currently …

Continue Reading

PM2 — Process Management

Within the previous PM2 post, we introduced the utility and touched some of its capabilities. This articles moves on to the core of PM2: process management. We show you how to list running process, start and restart new process as well as stop and delete running app servers to shut …

Continue Reading

PM2 — Utility Overview & Installation

Back in May 2015 we updated our server setup and started to use a bunch of new tools to avoid server administration headaches. We mostly rely on Node.js apps (Ghost, our homepage is built on hapi, Strider) and wanted a reliable process manager to keep started servers alive. We …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.