<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to identify SAS 9.4 Ghost/Zombie/Defunct session on AIX in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854381#M25790</link>
    <description>&lt;P&gt;Start with&lt;/P&gt;
&lt;PRE&gt;ps -ef|pg&lt;/PRE&gt;
&lt;P&gt;and look at the output.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 17:18:10 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2023-01-18T17:18:10Z</dc:date>
    <item>
      <title>How to identify SAS 9.4 Ghost/Zombie/Defunct session on AIX</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854296#M25788</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you are doing good&lt;/P&gt;&lt;P&gt;Am actually new to SAS 9.4 and it is run on a AIX platform.&lt;/P&gt;&lt;P&gt;Wanted to know the best AIX command to find SAS 9.4 Ghost or Zombie or Defunct session on the AIX machine so that we can kill them.&lt;/P&gt;&lt;P&gt;Can anyone please help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanking you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 10:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854296#M25788</guid>
      <dc:creator>Akshay1005</dc:creator>
      <dc:date>2023-01-18T10:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify SAS 9.4 Ghost/Zombie/Defunct session on AIX</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854349#M25789</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it might help if you explain what type of 'session' -- SAS EG sessions, batch jobs, interactive SAS sessions?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:04:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854349#M25789</guid>
      <dc:creator>Morse_Bill</dc:creator>
      <dc:date>2023-01-18T15:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify SAS 9.4 Ghost/Zombie/Defunct session on AIX</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854381#M25790</link>
      <description>&lt;P&gt;Start with&lt;/P&gt;
&lt;PRE&gt;ps -ef|pg&lt;/PRE&gt;
&lt;P&gt;and look at the output.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 17:18:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854381#M25790</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-18T17:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify SAS 9.4 Ghost/Zombie/Defunct session on AIX</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854505#M25792</link>
      <description>yes we have batch jobs, users EG sessions and also interactive sas sessions. I was thinking of something like this:&lt;BR /&gt;ps aux | awk {'print $2'}|grep "defunct" |grep sas&lt;BR /&gt;ps aux | awk {'print $2'}|grep Z |grep sas</description>
      <pubDate>Thu, 19 Jan 2023 08:05:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854505#M25792</guid>
      <dc:creator>Akshay1005</dc:creator>
      <dc:date>2023-01-19T08:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify SAS 9.4 Ghost/Zombie/Defunct session on AIX</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854506#M25793</link>
      <description>Thanks Kurt. Idea here is find all SAS zombies/ghost/defunct processes for kill. I was thinking of something like that:&lt;BR /&gt;ps aux | awk {'print $2'}|grep "defunct" |grep sas&lt;BR /&gt;ps aux | awk {'print $2'}|grep Z |grep sas&lt;BR /&gt;&lt;BR /&gt;I don't know if that will be OK</description>
      <pubDate>Thu, 19 Jan 2023 08:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854506#M25793</guid>
      <dc:creator>Akshay1005</dc:creator>
      <dc:date>2023-01-19T08:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify SAS 9.4 Ghost/Zombie/Defunct session on AIX</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854510#M25794</link>
      <description>&lt;P&gt;You need to first find a real appearance of what you define as "ghost process", and then create a suitable identifying pattern for the grep. I don't think that the intermediate awk is necessary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has been a very long time now that I found real "defunct" remnants of SAS processes in the AIX process list; defunct means a process has terminated and the parent process doesn't acknowledge this.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 08:26:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854510#M25794</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-19T08:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify SAS 9.4 Ghost/Zombie/Defunct session on AIX</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854727#M25796</link>
      <description>&lt;P&gt;Your question is "Wanted to know the best AIX command to find SAS 9.4 Ghost or Zombie or Defunct session on the AIX machine so that we can kill them".&lt;BR /&gt;&lt;STRONG&gt;The system administrator cannot kill the Zombie process.&lt;/STRONG&gt; They are removed by the parent process or the OS.&lt;BR /&gt;You can however kill the parent process. If the number of Zombies is high or parent cannot be killed then reboot is the option.&lt;BR /&gt;The Unix/AIX Admin of your installation&amp;nbsp; is the appropriate resource to reach out to.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 03:06:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854727#M25796</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-01-20T03:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify SAS 9.4 Ghost/Zombie/Defunct session on AIX</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854759#M25802</link>
      <description>&lt;P&gt;And yes, a "defunct" process cannot be killed, because that already happened. "defunct" means that only the entry in the process list remains because the termination has not been picked up (through a wait() call) by the parent process. Sometimes, sending a kill -1 to the parent process works, but such a situation usually points to a code issue in the parent (e.g. the SAS object spawner).&lt;/P&gt;
&lt;P&gt;By killing/terminating the parent, the system init process takes over all its children and will remove them after receiving the -1 signal (kill -1 1). If that also fails, a system reboot is in order. Although I haven't seen that happening for a long time now (&amp;gt;10 years, not with AIX 6/7 and SAS 9.2 and above)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 08:15:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-identify-SAS-9-4-Ghost-Zombie-Defunct-session-on-AIX/m-p/854759#M25802</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-20T08:15:43Z</dc:date>
    </item>
  </channel>
</rss>

