유출 파일 디스크립터


13

파일 디스크립터가 누출되는 경우의 의미

 File descriptor 6 (socket:[901758]) leaked on lvextend invocation. Parent PID 10035: /bin/zsh
 File descriptor 9 (/dev/pts/1) leaked on lvextend invocation. Parent PID 10035: /bin/zsh
 File descriptor 11 (/dev/pts/1) leaked on lvextend invocation. Parent PID 10035: /bin/zsh
 File descriptor 12 (/dev/pts/1) leaked on lvextend invocation. Parent PID 10035: /bin/zsh
 File descriptor 15 (/dev/pts/7) leaked on lvextend invocation. Parent PID 10035: /bin/zsh
 File descriptor 17 (/dev/pts/7) leaked on lvextend invocation. Parent PID 10035: /bin/zsh
 File descriptor 18 (/dev/pts/7) leaked on lvextend invocation. Parent PID 10035: /bin/zsh
   Extending logical volume usr to 30.00 GiB
   Logical volume usr successfully resized

무슨 뜻인가요?

답변:


6

그것들은 장치에서 열려있는 파일 설명자입니다 (크기 조정 중).

lvm (8)의 말 :

On invocation, lvm requires that only the standard file descriptors stdin, stdout
and stderr are available. If others are found, they get closed and messages
are issued warning about the leak.

3
아뇨. 이들은 lvm명령에 전달 된 열린 파일 디스크립터입니다 . 어떤 이유로 누군가가 여기에서 도움을 주기로 결정했습니다.
Simon Richter

6
이 메시지를 표시하지 않는 방법을 찾는 사람에게 This warning can be suppressed by setting the environment variable LVM_SUPPRESS_FD_WARNINGS
edoput

왜 대답이 틀렸는 지 이해하지 못합니다. 일반적으로 파일 시스템은 파일이 아닌 lvm 명령으로 전달됩니다.
MUY Belgium

edoput이 말했듯이 :export LVM_SUPPRESS_FD_WARNINGS=1
user3804598
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.