Isilon:NetWorker:NDMP 备份错误: “打开的文件太多”
Summary: Isilon 8.2 NetWorker NDMP 备份错误:“打开的文件过多”,可以通过增加 isilon isi_ndmp_d 的打开文件限制来修复
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
- Networker 19.4
- Isilon 8.2
- NDMP 备份有错误:“打开的文件太多”。
Cause
Isilon 8.2 在 Isilon isi_ndmp_d 中具有打开文件限制。
Resolution
“打开的文件太多”是一个已知问题。建议将打开文件限制提高至 isi_ndmp_d。
示例:
- 编辑 /etc/mcp/sys/services/ndmpd 文件并增加max_open_files
<action>/bin/sleep 30</action>
<action>/usr/bin/limits -B -P $(pgrep isi_ndmp_d) -n 32768</action>
<action>/usr/bin/limits -B -P $(pgrep isi_ndmp_d) -n 32768</action>
- 在任何节点上编辑 ndmpd:
cd /etc/mcp/sys/services
cp ndmpd /ifs/data/Isilon_Support
vi /ifs/data/Isilon_Support/ndmpd
cp ndmpd /ifs/data/Isilon_Support
vi /ifs/data/Isilon_Support/ndmpd
- <在 actionlist name=“start”> 部分中,添加以下行:
<action>/bin/sleep 30</action>
<action>/usr/bin/limits -B -P $(pgrep isi_ndmp_d) -n 32768</action>
<action>/usr/bin/limits -B -P $(pgrep isi_ndmp_d) -n 32768</action>
示例:
<?xml version="1.0"?>
<service name="ndmpd" enable="0" display="1" options="require-quorum,kill-on-sigquorum,require-post-ifs">
<isi-meta-tag id="ndmp_service">
<mod-attribs>enable</mod-attribs>
</isi-meta-tag>
<description>Network Data Management Protocol Daemon</description>
<process name="isi_ndmp_d" pidfile="/var/run/isi_ndmp_d.pid"
startaction="start" stopaction="stop"/>
<actionlist name="start">
<action>/usr/bin/isi_ndmp_d</action>
<action>/bin/sleep 30</action>
<action>/usr/bin/limits -B -P $(pgrep isi_ndmp_d) -n 32768</action>
</actionlist>
<actionlist name="stop">
<action>/usr/bin/killall isi_ndmp_d</action>
</actionlist>
</service>
- 保存文件(可能必须使用 !,因为该文件是只读的)
- 然后将文件分发到所有节点:
isi_for_array 'cp /ifs/data/Isilon_Support/ndmpd /etc/mcp/sys/services'
- 重新启动 NDMP 服务:
isi services ndmpd disable
isi services ndmpd enable
isi services ndmpd enable
- 检查 isi_ndmp_d PID 的打开文件限制:
isi_for_array 'procstat -l $(pgrep isi_ndmp_d)|grep openfiles'
dklimki-mr1512e-4: 26547 isi_ndmp_d openfiles 16384 16384
dklimki-mr1512e-5: 77179 isi_ndmp_d openfiles 16384 16384
dklimki-mr1512e-3: 74909 isi_ndmp_d openfiles 16384 16384
dklimki-mr1512e-1: 27389 isi_ndmp_d openfiles 16384 16384
dklimki-mr1512e-2: 3725 isi_ndmp_d openfiles 16384 16384
- 30 秒后再次检查:
isi_for_array 'procstat -l $(pgrep isi_ndmp_d)|grep openfiles'
dklimki-mr1512e-3: 74909 isi_ndmp_d openfiles 32768 32768
dklimki-mr1512e-1: 27389 isi_ndmp_d openfiles 32768 32768
dklimki-mr1512e-2: 3725 isi_ndmp_d openfiles 32768 32768
dklimki-mr1512e-4: 26547 isi_ndmp_d openfiles 32768 32768
dklimki-mr1512e-5: 77179 isi_ndmp_d openfiles 32768 32768
Article Properties
Article Number: 000191876
Article Type: Solution
Last Modified: 31 Aug 2022
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.