Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple issues on Windows #5914

Open
el1s7 opened this issue Nov 13, 2024 · 0 comments
Open

Multiple issues on Windows #5914

el1s7 opened this issue Nov 13, 2024 · 0 comments

Comments

@el1s7
Copy link

el1s7 commented Nov 13, 2024

You should do more testing in windows, there are quite a few bugs, which seems weird for a library this popular.

These are some of the issues that are occurring to me:

  1. Shutting down an app in windows doesn't work at all, your process killing system is buggy in windows. After spending some time, I found out that the only thing that works is the shutdown_with_message option. Wouldn't it be better to actually fix the process management in Windows, instead of providing a workaround that needs additional work?
  2. Even with the shutdown_with_message option, the cron_restart option still doesn't work, it will not close old processes and leave them detached, just popping up more instances of the app.
  3. And another issue, after a few days running, for some reason, the PM2 daemon gets detached from the app somehow, the app is still running but the PM2 doesn't have any control over it, sometimes it just shows "stopped" while the app is still running and even outputting logs, and calling "pm2 stop" won't do anything.

This behavior is seen in:

Windows 11, Windows Server. Latest PM2 version (5.4.2).

I like this library and all the efforts put into it, but it has been a bit annoying to deal with these issues, but I guess it's because it's mainly tested on Linux systems, and that's where most people use it.

But how are you even offering a premium plan when this doesn't even work properly on different operating systems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant