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

dont work with cluster mode #101

Open
ldiellyoungl opened this issue May 27, 2024 · 1 comment
Open

dont work with cluster mode #101

ldiellyoungl opened this issue May 27, 2024 · 1 comment

Comments

@ldiellyoungl
Copy link

Description

Hello. My Nuxt app runs fine in non-clustered mode. When I run it in a cluster, I see 11 clusters and they are all online, but application is not available. In classic PM2 cluster mode works fine. What am I doing wrong?

my ecosystem file:

module.exports = {
  apps: [
    {
      name: "client",
      port: "3000",
      instances: "max",
      exec_mode: "cluster",
      script: "./.output/server/index.mjs",
    },
  ],
};

Cluster mode:
image
image

Normal mode:
image
image

@8ctavio
Copy link

8ctavio commented Jun 15, 2024

Same for me. Cluster mode works without pm2-installer. The same used ecosystem.config.js file but without cluster config ("exec_mode": "cluster", "instances": "max") works with pm2-installer.

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

2 participants