फ़ाइल डिस्क्रिप्टर को लीक करना


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कमांड को दिए गए हैं; किसी कारण से किसी ने यहाँ सहायक होने का फैसला किया।
— साइमन रिक्टर

6
किसी को भी, जो इस संदेश को दबाने के लिए खोज कर रहा है This warning can be suppressed by setting the environment variable LVM_SUPPRESS_FD_WARNINGS
— edoput

मुझे समझ नहीं आ रहा है कि उत्तर गलत क्यों है। आम तौर पर, एक फाइलसिस्टम को lvm कमांड्स में पास किया जाता है, फाइल्स को नहीं ...
— MUY Belgium

जैसा कि एडोपुट ने कहा:export LVM_SUPPRESS_FD_WARNINGS=1
— user3804598
हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.