Unitech / Unitech/pm2

PM2 stops all processes on user logout windows

Open
#4,783 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

When accessing windows server with SSL and starting pm2 start, when closing putty, all processes will be gone.
Same happens if I go directly to server start pm2 and logoff user, all processes will be gone.

Is there a way to start pm2 on widows globally so it doesn't exit when user is logging out ?

Or I am doing something wrong ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior on a Windows server by running pm2 start, closing PuTTY, and logging out. Trace the relevant PM2 process-lifecycle entry point to determine why logout terminates the processes; done means processes remain running after the user session ends or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.