Skip to content

dont work with cluster mode #101

@ldiellyoungl

Description

@ldiellyoungl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions