当前位置:网站首页>Mongo uses too much memory and is automatically shut down by the system
Mongo uses too much memory and is automatically shut down by the system
2022-06-21 23:07:00 【sms technonogy】
background :
There is an online application for mongo(v 4.4.4), Generally, the system business volume is relatively small , There is no problem with the system , Recently, the system business volume has suddenly increased . Find out mongo Hang up , After reboot , The next day I hung up again .
screening :
cd /var/log
grep "mongod" messages
Conclusion :
From the query results, we can see , “Out of memory: Kill process 24567 (mongod)”, Express mongod Too much memory , System auto kill fall mongo 了 .
Access to information (In-Memory Storage Engine — MongoDB Manual),mongo The default maximum memory of the storage engine is server memory 50%-1GB, Other services are deployed on my server , Occupy 50% Memory -1GB This will cause the server to run out of memory . So the Mongo kill .

Solution :
Sure By setting cacheSizeGB, Set the maximum memory used by the cache .


边栏推荐
- 软件测试 答疑篇
- The way of FPGA -- interface level standard between digital systems
- 软件测试概念篇
- uni-app进阶之样式框架/生产环境【day10】
- tkinter中text文本与scroll滚动条关联
- uniapp封装request函数 实现唯一登录,一个账号同时只能登陆一个设备
- [WUSTCTF2020]朴实无华-1
- 语音信号处理之多阶MFCC提取(matlab)
- C datatable converted to entity (reflection & generics)
- Functions for automatically calculating bit width during Verilog parameterization
猜你喜欢

【强烈推荐】Markdown 语法大全

软件测试 答疑篇

UWP 阴影效果

mongo 内存占用过大被系统自动关闭问题

WPF thread manipulation UI problem

H5之微信授权登陆 (uniapp网页版微信授权登录)

WPF routing

Analysis of 43 cases of MATLAB neural network: Chapter 9 associative memory of discrete Hopfield Neural Network -- number recognition

4. ESP8266通过OLED实时显示DHT11温湿度参数

numpy矩阵初等变换
随机推荐
Matlab2020a使用App Designer如何导出exe
C# 删除正在使用的文件
The concept of multiprocess and Multithread
libra白皮书
【强烈推荐】Markdown 语法大全
《MATLAB 神经网络43个案例分析》:第19章 基于SVM的手写字体识别
Common options and commands of Synplify Pro
Flink real-time risk control rule engine
danfoss丹佛斯变频器维修VLT5000/VLT6000/VLT8000
Uwp confirms whether there is pop-up display
uniapp版本更新 热更新及自然更新
牛客月赛-环上食虫
Speech breakpoint detection (short time improved subband spectral entropy)
解决笔记本电脑(i)某个键的字母按不出来
H5之微信授权登陆 (uniapp网页版微信授权登录)
pointer-events的三个值的使用
WPF ListBox虚拟化
Guys, some field updates of starrocks PK model in 2.2.1 still do not support SQL, right?
WPF 手写板
Getting to know Vxe table (I)