에러 코드 포털
Node.jsNode.js오류 코드

EMFILE

Too many open files in system

Node.js에서 파일·네트워크·프로세스 작업 중 전달된 시스템 오류입니다. 오류의 syscall, path, address 정보를 확인하세요.

EMFILE (Too many open files in system): Maximum number of file descriptors allowable on the system has been reached, and requests for another descriptor cannot be fulfilled until at least one has been closed. This is encountered when opening many files at once in parallel, especially on systems (in particular, macOS) where there is a low file descriptor limit for processes. To remedy a low limit, run ulimit -n 2048 in the same shell that will run the Node.js process.

해결·진단 링크

문서의 제품·버전·발생 환경이 현재 상황과 일치하는지 먼저 확인하세요.