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
版权声明:本文标题:meteor - Application crashes when digital ocean droplet CPU usage reaches 40% - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744298807a2599478.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论