<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Cooper's blog: Tag zombie</title>
    <link>http://cooper.ezlibrary.com/articles/tag/zombie</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>&#1055;&#1088;&#1086;&#1075;&#1088;&#1072;&#1084;&#1084;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1077;, &#1073;&#1083;&#1086;&#1075;&#1075;&#1080;&#1085;&#1075;, online money making: &#1089;&#1086;&#1073;&#1099;&#1090;&#1080;&#1103;, &#1092;&#1072;&#1082;&#1090;&#1099;, &#1083;&#1080;&#1095;&#1085;&#1099;&#1081; &#1086;&#1087;&#1099;&#1090;</description>
    <item>
      <title>&#1047;&#1054;&#1052;&#1041;&#1048; &#1055;&#1056;&#1054;&#1062;&#1045;&#1057;&#1057;&#1067; &#1042; &#1051;&#1048;&#1053;&#1059;&#1050;&#1057;. &#1063;&#1090;&#1086; &#1101;&#1090;&#1086; &#1079;&#1085;&#1072;&#1095;&#1080;&#1090;, &#1082;&#1072;&#1082; &#1089; &#1101;&#1090;&#1080;&#1084; &#1073;&#1086;&#1088;&#1086;&#1090;&#1100;&#1089;&#1103; &#1080; &#1089;&#1090;&#1086;&#1080;&#1090; &#1083;&#1080;.</title>
      <description>&lt;p&gt;&#1053;&#1072;&#1074;&#1077;&#1088;&#1085;&#1103;&#1082;&#1072; &#1093;&#1086;&#1090;&#1100; &#1088;&#1072;&#1079; &#1084;&#1085;&#1086;&#1075;&#1080;&#1077; &#1079;&#1072;&#1076;&#1072;&#1074;&#1072;&#1083;&#1080; &#1089;&#1077;&#1073;&#1077; &#1074;&#1086;&#1087;&#1088;&#1086;&#1089;, &#1075;&#1083;&#1103;&#1076;&#1103; &#1085;&#1072; &#1074;&#1099;&#1076;&#1072;&#1095;&#1091; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1099; ps ax, &#1095;&#1090;&#1086; &#1101;&#1090;&#1086; &#1079;&#1072;&#1075;&#1072;&#1076;&#1086;&#1095;&#1085;&#1099;&#1077; zombie &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1099;. &#1048;&#1093; &#1087;&#1099;&#1090;&#1072;&#1077;&#1096;&#1100;&#1089;&#1103; &#1091;&#1076;&#1072;&#1083;&#1080;&#1090;&#1100; (&#1073;&#1091;&#1082;&#1074;&#1072;&#1083;&#1100;&#1085;&#1086; &#1091;&#1073;&#1080;&#1090;&#1100;) &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1086;&#1081; &lt;em&gt;kill&lt;/em&gt;, &#1085;&#1086; &#1086;&#1085;&#1080; &#1086;&#1089;&#1090;&#1072;&#1102;&#1090;&#1089;&#1103; &#1094;&#1077;&#1083;&#1099;&#1084;&#1080; &#1080; &#1085;&#1077;&#1074;&#1088;&#1077;&#1076;&#1080;&#1084;&#1099;&#1084;&#1080;.&lt;/p&gt;

&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;10310 ?        Z      0:00 [php &amp;lt;defunct&amp;gt;]
10316 ?        Z      0:00 [php &amp;lt;defunct&amp;gt;]
10352 ?        Z      0:00 [php &amp;lt;defunct&amp;gt;]&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&#1053;&#1072; &#1089;&#1072;&#1084;&#1086;&#1084; &#1076;&#1077;&#1083;&#1077; &#1079;&#1086;&#1084;&#1073;&#1080; &#1091;&#1078;&#1077; &#1091;&#1085;&#1080;&#1095;&#1090;&#1086;&#1078;&#1077;&#1085;&#1085;&#1099;&#1077; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1099;. &#1040;, &#1082;&#1072;&#1082; &#1080;&#1079;&#1074;&#1077;&#1089;&#1090;&#1085;&#1086;, &#1085;&#1077;&#1083;&#1100;&#1079;&#1103; &#1091;&#1073;&#1080;&#1090;&#1100; &#1076;&#1074;&#1072;&#1078;&#1076;&#1099; :). &#1056;&#1072;&#1085;&#1077;&#1077; &#1076;&#1083;&#1103; &#1085;&#1080;&#1093; &#1091;&#1078;&#1077; &#1073;&#1099;&#1083;&#1072; &#1074;&#1099;&#1087;&#1086;&#1083;&#1085;&#1077;&#1085;&#1072; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1072; &lt;em&gt;kill&lt;/em&gt;, &#1085;&#1086;, &#1087;&#1086; &#1088;&#1072;&#1079;&#1085;&#1099;&#1084; &#1087;&#1088;&#1080;&#1095;&#1080;&#1085;&#1072;&#1084;, &#1086;&#1085;&#1072; &#1085;&#1077; &#1089;&#1084;&#1086;&#1075;&#1083;&#1072;   &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1080;&#1090;&#1100;&#1089;&#1103;  &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1077;&#1084; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1072;. &#1054;&#1085; &#1086;&#1089;&#1090;&#1072;&#1077;&#1090;&#1089;&#1103; &#1092;&#1086;&#1088;&#1084;&#1072;&#1083;&#1100;&#1085;&#1086; &#1089;&#1091;&#1097;&#1077;&#1089;&#1090;&#1074;&#1091;&#1102;&#1097;&#1080;&#1084;, &#1085;&#1086; &#1088;&#1077;&#1089;&#1091;&#1088;&#1089;&#1099;, &#1086;&#1090;&#1074;&#1077;&#1076;&#1077;&#1085;&#1085;&#1099;&#1077; &#1076;&#1083;&#1103; &#1085;&#1077;&#1075;&#1086;, &#1085;&#1072; &#1089;&#1072;&#1084;&#1086;&#1084; &#1076;&#1077;&#1083;&#1077;, &#1086;&#1089;&#1074;&#1086;&#1073;&#1086;&#1078;&#1076;&#1072;&#1102;&#1090;&#1089;&#1103;. &#1055;&#1088;&#1080;&#1095;&#1080;&#1085;&#1072; &#1089;&#1091;&#1097;&#1077;&#1089;&#1090;&#1074;&#1086;&#1074;&#1072;&#1085;&#1080;&#1103; &lt;em&gt;zombie&lt;/em&gt; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1086;&#1074; &#1079;&#1072;&#1082;&#1083;&#1102;&#1095;&#1072;&#1077;&#1090;&#1089;&#1103; &#1074; &#1090;&#1086;&#1084;, &#1095;&#1090;&#1086; &#1088;&#1086;&#1076;&#1080;&#1090;&#1077;&#1083;&#1100;&#1089;&#1082;&#1080;&#1081; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089; &#1084;&#1086;&#1078;&#1077;&#1090; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1080;&#1090;&#1100; &#1089;&#1090;&#1072;&#1090;&#1091;&#1089; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1080;&#1083;&#1080; &#1079;&#1072;&#1090;&#1088;&#1077;&#1073;&#1086;&#1074;&#1072;&#1090;&#1100; &#1089;&#1090;&#1072;&#1090;&#1080;&#1089;&#1090;&#1080;&#1082;&#1091; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1085;&#1080;&#1103; &#1088;&#1077;&#1089;&#1091;&#1088;&#1089;&#1086;&#1074; &#1087;&#1086;&#1088;&#1086;&#1078;&#1076;&#1077;&#1085;&#1085;&#1086;&#1075;&#1086; &#1079;&#1086;&#1084;&#1073;&#1080;. &#1042; &#1089;&#1083;&#1091;&#1095;&#1072;&#1077;, &#1077;&#1089;&#1083;&#1080; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;-&#1088;&#1086;&#1076;&#1080;&#1090;&#1077;&#1083;&#1100; &#1085;&#1077; &#1085;&#1091;&#1078;&#1076;&#1072;&#1077;&#1090;&#1089;&#1103; &#1073;&#1086;&#1083;&#1100;&#1096;&#1077; &#1074; &#1079;&#1086;&#1084;&#1073;&#1080;, &#1086;&#1085; &#1089;&#1080;&#1075;&#1085;&#1072;&#1083;&#1080;&#1079;&#1080;&#1088;&#1091;&#1077;&#1090; &#1086;&#1073; &#1101;&#1090;&#1086;&#1084; &#1086;&#1087;&#1077;&#1088;&#1072;&#1094;&#1080;&#1086;&#1085;&#1085;&#1086;&#1081; &#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1077; &#1089; &#1087;&#1086;&#1084;&#1086;&#1097;&#1100;&#1102; &#1074;&#1099;&#1079;&#1086;&#1074;&#1072; &#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1085;&#1086;&#1081; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1080; wait(). 
   &#1042; &#1085;&#1086;&#1088;&#1084;&#1072;&#1083;&#1100;&#1085;&#1086;&#1081; &#1089;&#1080;&#1090;&#1091;&#1072;&#1094;&#1080;&#1080;, &#1082;&#1086;&#1075;&#1076;&#1072; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1072;&#1077;&#1090;&#1089;&#1103;, &#1074;&#1089;&#1077; &#1077;&#1075;&#1086; child processes &#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1103;&#1090;&#1089;&#1103; &#1085;&#1072;&#1089;&#1083;&#1077;&#1076;&#1085;&#1080;&#1082;&#1072;&#1084;&#1080; &lt;em&gt;init&lt;/em&gt;, &lt;em&gt;PID&lt;/em&gt; &#1082;&#1086;&#1090;&#1086;&#1088;&#1086;&#1075;&#1086; &#1088;&#1072;&#1074;&#1077;&#1085; 1. Init &#1074;&#1089;&#1077;&#1075;&#1076;&#1072; &#1078;&#1076;&#1105;&#1090; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; child processes, &#1076;&#1083;&#1103; &#1090;&#1086;&#1075;&#1086;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1080;&#1079;&#1073;&#1077;&#1078;&#1072;&#1090;&#1100; &#1087;&#1086;&#1088;&#1086;&#1078;&#1076;&#1077;&#1085;&#1080;&#1103; &#1079;&#1086;&#1084;&#1073;&#1080;.
   &#1045;&#1089;&#1083;&#1080; &#1074;&#1089;&#1105; &#1078;&#1077; &#1074; &#1074;&#1072;&#1096;&#1077;&#1081; &#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1077; &#1079;&#1072;&#1074;&#1077;&#1083;&#1080;&#1089;&#1100; &#1079;&#1086;&#1084;&#1073;&#1080;, &#1101;&#1090;&#1086; &#1086;&#1079;&#1085;&#1072;&#1095;&#1072;&#1077;&#1090;,  &#1095;&#1090;&#1086; &#1086;&#1085;&#1080; &#1085;&#1077; &#1086;&#1073;&#1089;&#1083;&#1091;&#1078;&#1080;&#1074;&#1072;&#1102;&#1090; &#1073;&#1086;&#1083;&#1077;&#1077; &#1089;&#1074;&#1086;&#1080; &#1088;&#1086;&#1076;&#1080;&#1090;&#1077;&#1083;&#1100;&#1089;&#1082;&#1080;&#1077; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1099; (&#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1080;&#1090;&#1100;, &#1082;&#1089;&#1090;&#1072;&#1090;&#1080;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1084;&#1086;&#1078;&#1085;&#1086; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1086;&#1081; &lt;em&gt;ps -lax&lt;/em&gt;, &#1082;&#1086;&#1083;&#1086;&#1085;&#1082;&#1072; PPID):&lt;/p&gt;

&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;[user1@www user1]$ ps -lax
F   UID   PID  PPID PRI  NI   VSZ  RSS WCHAN  STAT TTY        TIME COMMAND
0     0 10302     1  15   0 29420 8132 -      S    ?          0:06 /usr/local/bin/ruby /var/www/site/public/dispatch.fcgi
0     0 10310 10302  15   0     0    0 -      Z    ?          0:00 [php &amp;lt;defunct&amp;gt;]
0     0 10316 10301  15   0     0    0 -      Z    ?          0:00 [php &amp;lt;defunct&amp;gt;]&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&#1042; &#1101;&#1090;&#1086;&#1084; &#1089;&#1083;&#1091;&#1095;&#1072;&#1077; &#1091; &#1074;&#1072;&#1089;  &#1077;&#1089;&#1090;&#1100; &#1090;&#1088;&#1080; &#1074;&#1072;&#1088;&#1080;&#1072;&#1085;&#1090;&#1072;: (1) &#1080;&#1089;&#1087;&#1088;&#1072;&#1074;&#1080;&#1090;&#1100; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089; &#1088;&#1086;&#1076;&#1080;&#1090;&#1077;&#1083;&#1100;; (2) &#1091;&#1073;&#1080;&#1090;&#1100; &#1077;&#1075;&#1086;; (3) &#1080;&#1083;&#1080; &#1087;&#1088;&#1086;&#1076;&#1086;&#1083;&#1078;&#1072;&#1090;&#1100; &#1078;&#1080;&#1090;&#1100; &#1089; &#1101;&#1090;&#1080;&#1084;. &#1053;&#1072;&#1076;&#1086; &#1079;&#1072;&#1084;&#1077;&#1090;&#1080;&#1090;&#1100;, &#1095;&#1090;&#1086; &#1078;&#1080;&#1090;&#1100; &#1089; &#1101;&#1090;&#1080;&#1084; &#1085;&#1077; &#1090;&#1072;&#1082; &#1091;&#1078; &#1080; &#1089;&#1083;&#1086;&#1078;&#1085;&#1086;, &#1087;&#1086;&#1089;&#1082;&#1086;&#1083;&#1100;&#1082;&#1091;  &#1079;&#1086;&#1084;&#1073;&#1080; - &#1101;&#1090;&#1086; &#1074;&#1089;&#1077;&#1075;&#1086; &#1083;&#1080;&#1096;&#1100; &#1076;&#1086;&#1087;&#1086;&#1083;&#1085;&#1080;&#1090;&#1077;&#1083;&#1100;&#1085;&#1072;&#1103; &#1089;&#1090;&#1088;&#1086;&#1095;&#1082;&#1072; &#1074; &#1074;&#1099;&#1076;&#1072;&#1095;&#1077; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1099; &lt;em&gt;ps&lt;/em&gt; .&lt;/p&gt;</description>
      <pubDate>Tue, 24 Feb 2009 23:09:00 +0300</pubDate>
      <guid isPermaLink="false">urn:uuid:7792ca0a-0e51-42ac-acbc-caca19447aa9</guid>
      <author>Cooper</author>
      <link>http://cooper.ezlibrary.com/articles/2009/02/24/zombie-processes-in-linux</link>
      <category>Linux</category>
      <category>zombie</category>
      <category>kill</category>
      <category>ps</category>
      <category>init</category>
      <category>PID</category>
      <category>child</category>
      <category>process</category>
    </item>
  </channel>
</rss>

