meteor - Application crashes when digital ocean droplet CPU usage reaches 40% - Stack Overflow

I am using meteor version 2.7.1 and using mup to deploy to digital ocean. I bought a droplet with 8 cor

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744298808a4567397.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信