Fiware 内存不足:终止进程(contextBroker)
我们已经安装了最新版本的Orion Context Broker(0.24),并将其作为服务执行,但偶尔会停止,程序日志中会出现任何消息 运行dmesg时,我们发现以下消息:Fiware 内存不足:终止进程(contextBroker),fiware,fiware-orion,Fiware,Fiware Orion,我们已经安装了最新版本的Orion Context Broker(0.24),并将其作为服务执行,但偶尔会停止,程序日志中会出现任何消息 运行dmesg时,我们发现以下消息: [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name [ 278] 0 278 2687 116 1 -17 -1000 udevd [ 455] 0 455
[ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
[ 278] 0 278 2687 116 1 -17 -1000 udevd
[ 455] 0 455 2660 103 1 -17 -1000 udevd
[ 742] 0 742 23294 66 0 -17 -1000 auditd
[ 758] 0 758 64048 1243 0 0 0 rsyslogd
[ 797] 0 797 16654 178 0 -17 -1000 sshd
[ 873] 0 873 20324 227 0 0 0 master
[ 886] 89 886 20386 231 1 0 0 qmgr
[ 893] 497 893 160370 6803 0 0 0 mongod
[ 911] 0 911 29333 161 2 0 0 crond
[ 959] 0 959 1016 21 0 0 0 mingetty
[32251] 496 32251 5039887 3775085 2 0 0 contextBroker
[10052] 89 10052 20344 218 0 0 0 pickup
Out of memory: Kill process 32251 (contextBroker) score 984 or sacrifice child
Killed process 32251, UID 496, (contextBroker) total-vm:20159548kB, anon-rss:15100332kB, file-rss:8kB
系统有16GB的RAM。为了调试问题,请编辑问题以包含以下信息,好吗?1) CB从启动到停止收到的重新请求消息,2)有多少订阅和注册保存了DB,3)操作系统分发和版本,4)失败后/var/log/contextBroker.log文件的尾部,5)内存消耗(例如,刚启动CB、5分钟后、10分钟后等)开关
ps v-p
。谢谢!