Skip to content

Application crashes when droplet CPU usage reaches 40% #1371

Description

@roeurbnavy

I am using meteor version 2.7.1 and using mup to deploy to digital ocean. I bought a droplet with 8 core cpu and 16GB ram to deploy the application, but when deploying it to users, it crashes every time there are many users requesting the application. Every time it crashes, I check the cup droplet and container in docker, the cup droplet is up to 40%, the application is crashing, while the cup container in docker is 100%. Why is the cup droplet not up to 80% or 90%, why is the application crashing like this? What is the problem? Please help me solve this problem, thanks in advance 🙏 .

module.exports = {
  servers: {
    one: {
      host: 'xxx.xxx.xxx.xxx',
      username: 'root',
      password: 'server-password'
    },
  },

  app: {
    // TODO: change app name and path
    name: 'app',
    path: '../',
    volumes: {
      '/data/file_uploads': '/data/file_uploads',
    },

    servers: {
      one: {},
    },

    env: {
      // TODO: Change to your app's url
      ROOT_URL: 'http://xxx.xxx.xxx.xxx',
      MONGO_URL: 'mongodb://mongodb/dbName',
      MONGO_OPLOG_URL: 'mongodb://mongodb/local',
    },

    docker: {
      image: 'zodern/meteor:root',
      prepareBundle: true,
      useBuildKit: true,
    },
    deployCheckWaitTime: 120,
    enableUploadProgressBar: true,
  },

  mongo: {
    version: '5.0.5',
    servers: {
      one: {},
    },
  },
}

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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