admin管理员组

文章数量:1401149

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: '',
      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: {},
    },
  },
}

本文标签: meteorApplication crashes when digital ocean droplet CPU usage reaches 40Stack Overflow