NetWorker:进程 nsrmmdbd 的内存使用率高

Summary: NetWorker 服务器 nsrmmdbd作系统“内存不足”(OOM) 监视器关闭。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

操作系统正在关闭 nsrmmdbd 下一个步骤。这会对 NetWorker 服务器造成影响,例如备份失败。

NetWorker 服务器 daemon.raw 报告以下内容:

71193 12/13/25 15:46:34 0 0 0 841355584 29252 0 myserver nsrd NSR info NetWorker Daemons Warning: nsrmmdbd received signal 9 (SIGKILL)

在 Linux 服务器上, /var/log/messages 文件报告“内存不足”消息。这会导致 oom-kill 停止 nsrmmbdb

Dec 13 15:46:33 myserver kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=nsrmmdbd,pid=2079,uid=0
Dec 13 15:46:33 myserver kernel: Out of memory: Killed process 2079 (nsrmmdbd) total-vm:25889764kB, anon-rss:24201136kB, file-rss:0kB, shmem-rss:0kB
Dec 13 15:46:34 myserver kernel: oom_reaper: reaped process 2079 (nsrmmdbd), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

在 Windows 服务器上, 系统应用程序 事件日志可能会报告类似的错误消息。 

注意: 确切的错误消息可能会因操作系统平台和版本控制而异。常见观察结果是观察到“内存不足”错误,并且系统正在停止 nsrmmdbd 由于这个原因。

Cause

The nsrmmdbd 进程报告高内存使用率随时间推移而增加。 

当系统内存不足时,OOM 会终止进程。

Resolution

《NetWorker 性能优化规划指南 》详细介绍了以下各项的要求: nsrmmdbd 大小为 1GB 或更大。请参阅章节: 优化 nsrmmdbd 内存使用情况。可通过以下方法获得 NetWorker 文档: 对 NetWorker 的支持 |手册和文档 

为了实现更好的内存管理,请设置以下参数:

### Media database tunables
export MMDB_SQLITE_CONFIGURE_MEMORY=1
export MMDB_SQLITE_PAGECACHE_SIZE=65536
export MMDB_SQLITE_PAGE_COUNT=65536
export MMDB_SQLITE_HEAP_SIZE=2147483640 #This is the highest value possible
export MMDB_SQLITE_HEAP_MIN_ALLOC_SIZE=128

  

  

对于具有持续使用超过 5GB 内存的大型介质数据库的 Linux 服务器,我们可以指示内核使用以下参数执行更积极的后台内存压缩: vm.compaction_proactiveness。默认值为 20。较高的值(介于 40 和 50 之间)有助于提供较大的可用内存块。

此外,确保服务器具有足够的计算资源来适应环境大小。请参阅章节: NetWorker 服务器和 NetWorker 管理控制台的内存要求

The MMDB_SQLITE 参数和其他系统内核参数最佳实践记录在以下文章中: NetWorker:网络配置的最佳实践

Additional Information

示例:虚拟服务器的中型安装。系统安装了 8 个 vCPU 和 32 GB。 

The top 命令可用于检查高内存消耗:

$ top -b -n1 -o VIRT | head -10
top - 16:37:02 up 96 days,  9:43,  1 user,  load average: 0.22, 0.18, 0.18
Tasks: 233 total,   1 running, 232 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1.5 us,  0.0 sy,  0.0 ni, 98.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem : 32086.33+total,  819.785 free, 28642.18+used, 3852.422 buff/cache
MiB Swap:    0.000 total,    0.000 free,    0.000 used. 3444.148 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 4479 root      20   0 21.372g 0.019t  10320 S 0.000 63.21 333:05.33 nsrmmdbd
29053 nsrtomc+  20   0 13.205g 1.046g      0 S 0.000 3.338 292:31.41 jsvc
30201 root      20   0 5897400 1.324g    160 S 0.000 4.224 772:19.41 nsrjobd

连续 top all 8 小时显示增加:

PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
12-01-2026 16:37:02    4479 root      20   0 7494208 4.984g  17528 S 0.000 15.91  19:59.54 nsrmmdbd
13-01-2026 00:37:02    4479 root      20   0 9155648 6.781g  17528 S 0.000 21.64  35:29.59 nsrmmdbd
13-01-2026 08:37:02    4479 root      20   0 9853.0m 7.975g  17528 S 0.000 25.45  51:37.20 nsrmmdbd
13-01-2026 16:37:01    4479 root      20   0 10.153g 8.706g  15928 S 12.50 27.78  72:34.67 nsrmmdbd
14-01-2026 00:37:01    4479 root      20   0 11.302g 0.010t  15928 S 0.000 31.94  87:09.14 nsrmmdbd
14-01-2026 08:37:01    4479 root      20   0 11.747g 0.010t  15940 S 0.000 32.79 103:40.44 nsrmmdbd
14-01-2026 16:37:02    4479 root      20   0 12.716g 0.011t  15884 S 0.000 36.56 123:03.84 nsrmmdbd
15-01-2026 00:37:01    4479 root      20   0 13.997g 0.012t  15884 S 0.000 39.81 139:23.88 nsrmmdbd
15-01-2026 08:37:02    4479 root      20   0 14.466g 0.013t  15764 S 0.000 43.15 156:23.82 nsrmmdbd
15-01-2026 16:37:02    4479 root      20   0 14.974g 0.013t  15976 S 0.000 43.20 175:53.13 nsrmmdbd
16-01-2026 00:37:02    4479 root      20   0 15.411g 0.013t  15680 S 0.000 44.04 192:25.13 nsrmmdbd
16-01-2026 08:37:02    4479 root      20   0 15.521g 0.014t  15680 S 0.000 44.57 208:31.53 nsrmmdbd
16-01-2026 16:37:01    4479 root      20   0 16.685g 0.015t  10644 S 0.000 47.91 227:23.48 nsrmmdbd
17-01-2026 00:37:01    4479 root      20   0 17.747g 0.016t  10128 S 0.000 51.22 243:27.54 nsrmmdbd
17-01-2026 08:37:01    4479 root      20   0 18.677g 0.017t  10112 S 0.000 54.56 260:42.09 nsrmmdbd
17-01-2026 16:37:01    4479 root      20   0 19.802g 0.018t  10496 S 0.000 57.97 279:54.55 nsrmmdbd
18-01-2026 00:37:01    4479 root      20   0 19.911g 0.018t  10248 S 0.000 58.30 296:37.80 nsrmmdbd
18-01-2026 08:37:02    4479 root      20   0 21.083g 0.019t  10348 S 0.000 62.94 313:42.43 nsrmmdbd
18-01-2026 16:37:02    4479 root      20   0 21.372g 0.019t  10320 S 0.000 63.21 333:05.33 nsrmmdbd

有关流程资源利用率故障处理的其他信息,请参阅:

Products

NetWorker Family, NetWorker
Article Properties
Article Number: 000439016
Article Type: Solution
Last Modified: 13 يوليو 2026
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.