{"id":505440,"date":"2026-11-30T16:08:11","date_gmt":"2026-11-30T13:08:11","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=505440"},"modified":"2026-11-30T16:08:11","modified_gmt":"2026-11-30T13:08:11","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=505440","title":{"rendered":"\u041f\u043e\u0447\u0435\u043c\u0443 \u0432 Linux \u043f\u043e\u0441\u043b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u043b\u043e\u0433\u0430 \u043d\u0435 \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u0441\u0442\u043e \u043d\u0430 \u0434\u0438\u0441\u043a\u0435"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u043e\u0440\u043a\u0435\u0440 \u043f\u0438\u0448\u0435\u0442 \u0432 <code>worker.log<\/code>. \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043b\u043e\u0433, \u043e\u043d \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0438\u0437 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430, \u0430 <code>df<\/code> \u0432\u0441\u0451 \u0435\u0449\u0451 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043c\u0435\u0441\u0442\u0430 \u043c\u0430\u043b\u043e. \u0415\u0441\u043b\u0438 \u0432\u043e\u0440\u043a\u0435\u0440 \u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0430\u0439\u043b \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043d\u0435\u0433\u043e \u0434\u0430\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 <code>rm<\/code>. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0438\u043c\u044f \u0438\u0437 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430. \u0414\u0430\u0436\u0435 \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430, \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u0430\u043c \u0444\u0430\u0439\u043b \u0438 \u0437\u0430\u043d\u044f\u0442\u044b\u0435 \u0438\u043c \u0431\u043b\u043e\u043a\u0438.<\/p>\n<p>\u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043d\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435. \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u0432 Bash \u043d\u0430 Linux \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 Python 3 \u0438 <code>lsof<\/code>.<\/p>\n<pre><code class=\"bash\">python3 - &lt;&lt;'PY'import osimport subprocessfrom pathlib import Pathfrom tempfile import TemporaryDirectorywith TemporaryDirectory() as folder:    path = Path(folder) \/ \"worker.log\"    with path.open(\"wb\") as log:        log.write(b\"before\\n\")        log.flush()        path.unlink()        log.write(b\"after unlink\\n\")        log.flush()        info = os.fstat(log.fileno())        print(\"\u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0435\u0441\u0442\u044c:\", path.exists())        print(f\"\u0416\u0451\u0441\u0442\u043a\u0438\u0445 \u0441\u0441\u044b\u043b\u043e\u043a: {info.st_nlink}, \u0440\u0430\u0437\u043c\u0435\u0440: {info.st_size} \u0431\u0430\u0439\u0442\", flush=True)        subprocess.run(            [\"lsof\", \"-nP\", \"-a\", \"-p\", str(os.getpid()), \"+L1\"],            check=True,        )    print(\"\u0424\u0430\u0439\u043b \u0437\u0430\u043a\u0440\u044b\u0442:\", log.closed)PY<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper\"><\/span><\/a><\/div><\/pre>\n<p>\u0418\u043c\u0435\u043d\u0438 \u0443\u0436\u0435 \u043d\u0435\u0442, \u0430 <code>fstat<\/code> \u043f\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c\u0443 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0443 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u043e\u043b\u044c \u0436\u0451\u0441\u0442\u043a\u0438\u0445 \u0441\u0441\u044b\u043b\u043e\u043a \u0438 20 \u0431\u0430\u0439\u0442 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418\u0437 \u043d\u0438\u0445 13 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u043f\u043e\u0441\u043b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438. \u0412 \u0432\u044b\u0432\u043e\u0434\u0435 <code>lsof<\/code> \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0430 <code>worker.log (deleted)<\/code> \u0441 <code>NLINK = 0<\/code>. \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u0438\u0437 <code>with<\/code> \u043f\u043e\u043b\u0443\u0447\u0438\u043c <code>\u0424\u0430\u0439\u043b \u0437\u0430\u043a\u0440\u044b\u0442: True<\/code>. \u041e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u0430 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.<\/p>\n<p>\u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0437\u043d\u0430\u0439\u0442\u0435, \u043d\u0430 \u043a\u0430\u043a\u043e\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043b\u0435\u0436\u0430\u043b \u043b\u043e\u0433. \u041f\u043e\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0432 <code>df<\/code>.<\/p>\n<pre><code class=\"bash\">df -h \/var\/log<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0417\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 <code>lsof<\/code> \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430 <code>df<\/code>. \u0415\u0441\u043b\u0438 \u0442\u0430\u043c <code>\/<\/code>, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u043e\u0439.<\/p>\n<pre><code class=\"bash\">sudo lsof -nP +aL1 \/<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0441\u0442\u0430\u0440\u044b\u0439 \u043b\u043e\u0433 \u0432 \u0441\u0442\u043e\u043b\u0431\u0446\u0435 <code>NAME<\/code>. \u041f\u043e <code>COMMAND<\/code> \u0438 <code>PID<\/code> \u0432\u0438\u0434\u043d\u043e, \u043a\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0430\u0439\u043b. \u0417\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u043f\u0430\u0440\u0443 <code>DEVICE<\/code> \u0438 <code>NODE<\/code>: \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0442\u0440\u043e\u043a\u0430\u0445, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u043e\u0432.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u043c\u0435\u0435\u0442 \u043f\u0435\u0440\u0435\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438, \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u044d\u0442\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u043b\u043e\u0433 \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0443\u0442\u0438. \u0417\u0430\u0442\u0435\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043e\u0431\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u0412 <code>lsof<\/code> \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0438\u0441\u0447\u0435\u0437\u043b\u0438 \u043b\u0438 \u0432\u0441\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u043e \u0441\u0442\u0430\u0440\u043e\u0439 \u043f\u0430\u0440\u043e\u0439 <code>DEVICE<\/code> \u0438 <code>NODE<\/code>. \u0412 <code>df<\/code> \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0434\u043e \u0438 \u043f\u043e\u0441\u043b\u0435. \u041d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u044d\u0442\u043e\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0438 \u0438\u0437-\u0437\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p><a href=\"https:\/\/man7.org\/linux\/man-pages\/man2\/unlink.2.html\" rel=\"noopener nofollow\">\u0421\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e unlink<\/a> \u00b7 <a href=\"https:\/\/man7.org\/linux\/man-pages\/man8\/lsof.8.html\" rel=\"noopener nofollow\">\u0421\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e lsof<\/a> \u00b7 <a href=\"https:\/\/man7.org\/linux\/man-pages\/man1\/df.1.html\" rel=\"noopener nofollow\">\u0421\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e df<\/a><\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1114082\/\">https:\/\/habr.com\/ru\/articles\/1114082\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u043e\u0440\u043a\u0435\u0440 \u043f\u0438\u0448\u0435\u0442 \u0432 worker.log. \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043b\u043e\u0433, \u043e\u043d \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0438\u0437 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430, \u0430 df \u0432\u0441\u0451 \u0435\u0449\u0451 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043c\u0435\u0441\u0442\u0430 \u043c\u0430\u043b\u043e. \u0415\u0441\u043b\u0438 \u0432\u043e\u0440\u043a\u0435\u0440 \u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0430\u0439\u043b \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043d\u0435\u0433\u043e \u0434\u0430\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 rm. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0438\u043c\u044f \u0438\u0437 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430. \u0414\u0430\u0436\u0435 \u043a\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430, \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u0430\u043c \u0444\u0430\u0439\u043b \u0438 \u0437\u0430\u043d\u044f\u0442\u044b\u0435 \u0438\u043c \u0431\u043b\u043e\u043a\u0438.\u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043d\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435. \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u0432 Bash \u043d\u0430 Linux \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 Python 3 \u0438 lsof.python3 &#8212; &lt;&lt;&#8216;PY&#8217;import osimport subprocessfrom pathlib import Pathfrom tempfile import TemporaryDirectorywith TemporaryDirectory() as folder:    path = Path(folder) \/ &#171;worker.log&#187;    with path.open(&#171;wb&#187;) as log:        log.write(b&#187;before\\n&#187;)        log.flush()        path.unlink()        log.write(b&#187;after unlink\\n&#187;)        log.flush()        info = os.fstat(log.fileno())        print(&#171;\u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0435\u0441\u0442\u044c:&#187;, path.exists())        print(f&#187;\u0416\u0451\u0441\u0442\u043a\u0438\u0445 \u0441\u0441\u044b\u043b\u043e\u043a: {info.st_nlink}, \u0440\u0430\u0437\u043c\u0435\u0440: {info.st_size} \u0431\u0430\u0439\u0442&#187;, flush=True)        subprocess.run(            [&#171;lsof&#187;, &#171;-nP&#187;, &#171;-a&#187;, &#171;-p&#187;, str(os.getpid()), &#171;+L1&#187;],            check=True,        )    print(&#171;\u0424\u0430\u0439\u043b \u0437\u0430\u043a\u0440\u044b\u0442:&#187;, log.closed)PY\u0418\u043c\u0435\u043d\u0438 \u0443\u0436\u0435 \u043d\u0435\u0442, \u0430 fstat \u043f\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c\u0443 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0443 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u043e\u043b\u044c \u0436\u0451\u0441\u0442\u043a\u0438\u0445 \u0441\u0441\u044b\u043b\u043e\u043a \u0438 20 \u0431\u0430\u0439\u0442 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418\u0437 \u043d\u0438\u0445 13 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u043f\u043e\u0441\u043b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u0438. \u0412 \u0432\u044b\u0432\u043e\u0434\u0435 lsof \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0430 worker.log (deleted) \u0441 NLINK = 0. \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u0438\u0437 with \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0424\u0430\u0439\u043b \u0437\u0430\u043a\u0440\u044b\u0442: True. \u041e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u0430 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.\u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0437\u043d\u0430\u0439\u0442\u0435, \u043d\u0430 \u043a\u0430\u043a\u043e\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043b\u0435\u0436\u0430\u043b \u043b\u043e\u0433. \u041f\u043e\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0432 df.df -h \/var\/log\u0417\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 lsof \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430 df. \u0415\u0441\u043b\u0438 \u0442\u0430\u043c \/, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u043e\u0439.sudo lsof -nP +aL1 \/\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0441\u0442\u0430\u0440\u044b\u0439 \u043b\u043e\u0433 \u0432 \u0441\u0442\u043e\u043b\u0431\u0446\u0435 NAME. \u041f\u043e COMMAND \u0438 PID \u0432\u0438\u0434\u043d\u043e, \u043a\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0430\u0439\u043b. \u0417\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u043f\u0430\u0440\u0443 DEVICE \u0438 NODE: \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0442\u0440\u043e\u043a\u0430\u0445, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u043e\u0432.\u0415\u0441\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u043c\u0435\u0435\u0442 \u043f\u0435\u0440\u0435\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438, \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u044d\u0442\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u043b\u043e\u0433 \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0443\u0442\u0438. \u0417\u0430\u0442\u0435\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043e\u0431\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u0412 lsof \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0438\u0441\u0447\u0435\u0437\u043b\u0438 \u043b\u0438 \u0432\u0441\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u043e \u0441\u0442\u0430\u0440\u043e\u0439 \u043f\u0430\u0440\u043e\u0439 DEVICE \u0438 NODE. \u0412 df \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0434\u043e \u0438 \u043f\u043e\u0441\u043b\u0435. \u041d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u044d\u0442\u043e\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0438 \u0438\u0437-\u0437\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f.\u0421\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e unlink \u00b7 \u0421\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e lsof \u00b7 \u0421\u043f\u0440\u0430\u0432\u043a\u0430 \u043f\u043e df\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1114082\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-505440","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/505440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=505440"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/505440\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=505440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=505440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=505440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}