NetWorker: 사용 중인 Linux NetWorker Server에서 "nsrd RPC critical Unable to accept client connection: 열린 파일이 너무 많음"
Summary: 사용 중인 Linux NetWorker Server에서 "nsrd RPC critical Unable to accept client connection: 열린 파일이 너무 많음"
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 Server가 응답하지 않습니다. 다음을 포함합니다.
- NMC 콘솔이 진행률 표시줄에서 멈춤
- 이
nsradmin명령이 반환되지 않음 - 이
nsrwatch반환하지 않음 - 클라이언트의 연결이 끊어짐
NetWorker for Linux 서버의 데몬은 열려 있는 파일 제한이 너무 낮은 상태에서 시작됩니다. 이는 데몬이 시작 시 프로세스당 제한을 상속하지 않기 때문입니다. 사용된 제한은 1024로 돌아갑니다. 더 큰 데이터 존에서는 충분하지 않을 수 있습니다.
Cause
NetWorker Server에서 열려 있는 파일 제한이 너무 낮습니다.
- nsrd의 PID 가져오기
$ ps aux | grep nsrd | grep -v grep | grep -v disp | awk '{ print $2; }'
4021
-
PID는 경로의 일부입니다.
/proc/<nsrd_PID>/limits를 사용하여 검토하려면cat명령을 사용하여 수행됩니다.
$ cat /proc/4021/limits Limit Soft Limit Hard Limit Units Max cpu time unlimited unlimited seconds Max file size unlimited unlimited bytes Max data size unlimited unlimited bytes Max stack size 10485760 unlimited bytes Max core file size unlimited unlimited bytes Max resident set unlimited unlimited bytes Max processes 63833 63833 processes Max open files 1024 1024 files Max locked memory 32768 32768 bytes Max address space unlimited unlimited bytes Max file locks unlimited unlimited locks Max pending signals 63833 63833 signals Max msgqueue size 819200 819200 bytes Max nice priority 0 0 Max realtime priority 0 0 $
Resolution
참고: 이 문서의 지침은 NetWorker 성능 최적화 및 계획 가이드에서 찾을 수 있습니다. https://www.dell.com/support/product-details/product/networker/docs 참조하십시오.
NetWorker 서비스를 시작하기 전에 다음 환경 변수를 활성화하여 로드가 많은 NetWorker Server에 대해 별도의 시작 스크립트를 생성합니다.
전체 OS 수준에서 설정하려면 다음을 수행합니다.
열린 파일 디스크립터: open file descriptors 매개변수를 최소로 변경하십시오.
- 8192(소규모 NetWorker 환경)
- 16384(중간 규모 NetWorker 환경)
- 32768(대규모 NetWorker 환경)
소형, 중형 또는 대형 NetWorker Server에 대한 정의는 NetWorker 성능 최적화 및 계획 가이드에서 찾을 수 있습니다.
최대 열린 파일 수
Linux NetWorker Server에서 ulimit -n 8192 안에 .bash_profile 파일을 만들고 현재 세션을 다시 시작합니다.
프로세스당 최소 및 최대 파일 설명자를 설정하려면: Red Hat 7, SLES 12, SLES 15
prlimit --pid <pid_of_the_process> --nofile=<min_limit>:<max_limit>예:prlimit --pid 12345 --nofile=1024:4096
프로세스당 최소 및 최대 파일 설명자를 설정하려면: Red Hat 6
echo -n "Max open files=min_limit:max_limit" > /proc/pid_of_the_process/limits예:echo -n "Max open files=4096:16384" > /proc/1208/limits
TCP 매개 변수
NetWorker Server가 로드가 많은 상태에서 실행될 때(서버 애플리케이션 포트에서 많은 소켓 요청이 동시에 실행됨) 다음 TCP 매개 변수를 추가합니다.
- Linux NetWorker Server의 경우
/etc/sysctl.conf파일을 열고sysctl --system명령을 사용하여 수행됩니다.net.ipv4.tcp_fin_timeout = 30 net.ipv4.ip_local_port_range = 15000 65535 net.core.somaxconn = 1024 - Linux NMC 서버에서 NetWorker Server가 과부하로 실행될 때 Postgres 데이터베이스 연결을 보장하려면 file-max 값을 65536으로 업데이트합니다.
echo 65536 > /proc/sys/fs/file-max
Additional Information
Article Properties
Article Number: 000026874
Article Type: Solution
Last Modified: 16 Apr 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.