<?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: killing a process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921716#M579062</link>
    <description>Out of all these i can see only one file that can be removed and thats &lt;BR /&gt;/var/spool/sockets/pwgr/client4179&lt;BR /&gt;but after removing this i have seen it gets created.&lt;BR /&gt;Rest all files are application file which cant be removed ( i mean its the program file and its home directory which is NFS mounted)&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 07 Mar 2003 06:11:05 GMT</pubDate>
    <dc:creator>Rajeev  Shukla</dc:creator>
    <dc:date>2003-03-07T06:11:05Z</dc:date>
    <item>
      <title>killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921706#M579052</link>
      <description>Any idea on killing a process which doesn't even get killed by kill -9&lt;BR /&gt;Its a c program which is doing some select in database for some reason it needs to be killed. But doesn't appear to happen by kill -9&lt;BR /&gt;&lt;BR /&gt;Any idea about stoping that process without rebooting the server&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;rajeev</description>
      <pubDate>Fri, 07 Mar 2003 05:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921706#M579052</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-03-07T05:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921707#M579053</link>
      <description>Hi rajeev,&lt;BR /&gt;&lt;BR /&gt;If -9 doesn't do it, it's probably waiting on I/O. Find the process that's hung the I/O, kill it &amp;amp; the org process will die with it.&lt;BR /&gt;If you're lucky, you won't have to shutdown the DB.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 07 Mar 2003 05:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921707#M579053</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-03-07T05:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921708#M579054</link>
      <description>Hi Jeff,&lt;BR /&gt;The problem is that the parent process is "1" there is no process associated with it. And by looking at the logs of database i can see that it hasn't even started any query yet.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 05:09:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921708#M579054</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-03-07T05:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921709#M579055</link>
      <description>If the process has a parent id of 1, you can't kill it with -9 because that would kill the init process, whole box.&lt;BR /&gt;&lt;BR /&gt;killing the parent in this case is bad and illegal in all 50 states.  hee hee.&lt;BR /&gt;&lt;BR /&gt;There are other possible codes on the kill command.&lt;BR /&gt;&lt;BR /&gt;kill -25 suspends the process which is almost as good as killing it.  A sleeping process can't hurt anybody.&lt;BR /&gt;&lt;BR /&gt;kill -9 is usually the last resort.  For me, when that doesn't work its usually reboot time.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 07 Mar 2003 05:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921709#M579055</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-03-07T05:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921710#M579056</link>
      <description>Dont tell me, there should be something, somewhere to remove a process from the process table.&lt;BR /&gt;By the way all kill signals have been tested and none seems to be working.</description>
      <pubDate>Fri, 07 Mar 2003 05:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921710#M579056</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-03-07T05:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921711#M579057</link>
      <description>What does:&lt;BR /&gt;&lt;BR /&gt;lsof -p pid&lt;BR /&gt;&lt;BR /&gt;...say?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 05:33:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921711#M579057</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-07T05:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921712#M579058</link>
      <description>this is the output&lt;BR /&gt;# /opt/lsof/bin/lsof -p 4179                                                                         &lt;BR /&gt;COMMAND   PID  USER   FD   TYPE     DEVICE SIZE/OFF  NODE NAME                                       &lt;BR /&gt;au_wwwpu 4179 auwww  cwd   VDIR    255,0x2     2048  4307 /tmp_mnt/home/auwww                        &lt;BR /&gt;au_wwwpu 4179 auwww  txt   VREG    255,0x2    32768 17587 /tmp_mnt/home -- au_wwwpu                  &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7    40960   109 /usr/lib/libnss_files.1                    &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7   126976 24333 /usr/lib/libxti.2                          &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7   679936 26326 /usr/lib/libnsl.1                          &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7    40960 26890 /usr/lib/libnss_nis.1                      &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG 64,0x2003b  2842624  3161 /mars_informix/lib/tools/lib4gsh730.sl     &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7   122880  1835 /usr/lib/libnsl_s.2                        &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7    12288   698 /usr/lib/libisamstub.1                     &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7  1241088   684 /usr/lib/libcl.2                           &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7   282624 22679 /usr/lib/libm.2                            &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7   143360   111 /usr/lib/libsec.2                          &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7   335872  8818 /usr/lib/libcur_colr.1                     &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7    24576 21322 /usr/lib/libdld.2                          &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7  1552384 25162 /usr/lib/libc.2                            &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x7   159744 21320 /usr/lib/dld.sl                            &lt;BR /&gt;au_wwwpu 4179 auwww  mem   VREG     64,0x8      532 15947 /var/spool/pwgr/status                     &lt;BR /&gt;au_wwwpu 4179 auwww    0r  VCHR      3,0x2      0t0    66 /dev/null                                  &lt;BR /&gt;au_wwwpu 4179 auwww    1w  VREG     64,0x6    30903   242 /tmp/auwww.cron                            &lt;BR /&gt;au_wwwpu 4179 auwww    2w  VREG     64,0x6    30903   242 /tmp/auwww.cron                            &lt;BR /&gt;au_wwwpu 4179 auwww    3u  VREG    255,0x2        0 17987 /tmp_mnt/home -- mutex                     &lt;BR /&gt;au_wwwpu 4179 auwww    4u  unix 0x4c092800      0t0       /var/spool/sockets/pwgr/client4179         &lt;BR /&gt;au_wwwpu 4179 auwww    5u  inet 0x4f7d8668      0t0   TCP mars:58901-&amp;gt;mars:csm_service (CLOSE_WAIT)  &lt;BR /&gt;#</description>
      <pubDate>Fri, 07 Mar 2003 05:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921712#M579058</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-03-07T05:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921713#M579059</link>
      <description>The /var/spool pids can probably be killed.  The /usr/lib pids should be left alone.&lt;BR /&gt;The real killer though and the one that's probably a problem, is likely to be that /tmp_mnt "fella".  Is there a NFS or other network association there?&lt;BR /&gt;&lt;BR /&gt;I'm concerned about the dld.sl entries.  Those usually aren't good.  (* Dynamic Link Loader. *)</description>
      <pubDate>Fri, 07 Mar 2003 05:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921713#M579059</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-07T05:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921714#M579060</link>
      <description>Ya the home is NFS mounted and thats where the program was run from.&lt;BR /&gt;You said to kill the /var/spool pid's but the problem is how? coz all these process have same PID..&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 06:05:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921714#M579060</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-03-07T06:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921715#M579061</link>
      <description>Ooops.  Meant remove.</description>
      <pubDate>Fri, 07 Mar 2003 06:08:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921715#M579061</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-07T06:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921716#M579062</link>
      <description>Out of all these i can see only one file that can be removed and thats &lt;BR /&gt;/var/spool/sockets/pwgr/client4179&lt;BR /&gt;but after removing this i have seen it gets created.&lt;BR /&gt;Rest all files are application file which cant be removed ( i mean its the program file and its home directory which is NFS mounted)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 06:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921716#M579062</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-03-07T06:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921717#M579063</link>
      <description>OK Lets concentrate on NFS then.&lt;BR /&gt;&lt;BR /&gt;nfsstat -s&lt;BR /&gt;(* if readlink calls on same magnitude as lookup calls then symbolic links frenquently traversed - Remove symbolic links *)&lt;BR /&gt;&lt;BR /&gt;nfsstat -rc&lt;BR /&gt;(*If timeout and retrans values high and badxid is near zero then packets are dropped - Increase timeout *)&lt;BR /&gt;&lt;BR /&gt;nfsstat -rc&lt;BR /&gt;(*timeouts and retrans similar then client RPC requests time out - Increase timeout in /etc/rc.config.d/nfsconf *)&lt;BR /&gt;&lt;BR /&gt;netstat -m&lt;BR /&gt;(* IF # of requests for memory denied high then server doesn't have enough memory *)&lt;BR /&gt;&lt;BR /&gt;netstat -s -p udp&lt;BR /&gt;(* high socket overflows then need mord nfsd daemons *)&lt;BR /&gt;&lt;BR /&gt;sar -u 5 5&lt;BR /&gt;%idle = 0?  cpu bottleneck</description>
      <pubDate>Fri, 07 Mar 2003 06:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921717#M579063</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-07T06:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921718#M579064</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;take a look at this line&lt;BR /&gt;au_wwwpu 4179 auwww 5u inet 0x4f7d8668 0t0 TCP mars:58901-&amp;gt;mars:csm_service (CLOSE_WAIT) &lt;BR /&gt;&lt;BR /&gt;This process has a connection from mars port 58901 to mars port csm_service (you can see the portnumber in /etc/services)&lt;BR /&gt;&lt;BR /&gt;try:&lt;BR /&gt;lsof | grep csm_service&lt;BR /&gt;&lt;BR /&gt;maybe you get something like this:&lt;BR /&gt;mars:csm_service--&amp;gt;mars:58901&lt;BR /&gt;&lt;BR /&gt;with another PID&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 07 Mar 2003 07:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921718#M579064</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2003-03-07T07:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921719#M579065</link>
      <description>I don't know if this is your case.&lt;BR /&gt;&lt;BR /&gt;I had a problem with a process hanging on the socket. SIGKILL didn't help. However SIGALRM did.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Adam&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 11:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921719#M579065</guid>
      <dc:creator>Adam J Markiewicz</dc:creator>
      <dc:date>2003-03-07T11:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921720#M579066</link>
      <description>A process like this with a parent PID of 1 is a true orphaned zombie.  The only way to kill a zombie is to kill off the parent.  Since you really don't want to kill off PID 1, there's no way to do it.  You can't kill it.  The only way to get rid of it is reboot.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 07 Mar 2003 11:48:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921720#M579066</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-07T11:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921721#M579067</link>
      <description>The problem is with networking. You'll need to look at how the program is handling socket connections as well as NFS usage. Assume that all network connections are extremely unreliable and must be explicitly monitored for proper completion. Your program is hung on network activity that will never complete, thus making kill -9 (and all other kill signals fir that matter) appear to be ineffective. The reality is that once the network connection completes the current trasnaction (pass or fail doesn't matter) then your program will disappear. The kill command is actually a process signal transmitter, but it is the program's responsibility to 'see' the signal. Your program can't see anything because it's waiting on I/O. HP-UX lacks an abort-I/O command.&lt;BR /&gt;&lt;BR /&gt;But until that time, it will simply sit there since the kernel has done all it can to tell the program to go away. Datacomm and network connections are the most common sources for processes that hang and can't be killed with kill -9.</description>
      <pubDate>Fri, 07 Mar 2003 12:15:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921721#M579067</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-03-07T12:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: killing a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921722#M579068</link>
      <description>Pull your LAN cable.</description>
      <pubDate>Fri, 07 Mar 2003 13:38:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/killing-a-process/m-p/2921722#M579068</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-07T13:38:05Z</dc:date>
    </item>
  </channel>
</rss>

