Zombie processes

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
raki
Participant
Posts: 17
Joined: Mon Dec 25, 2006 3:04 pm
Location: New Jersey

Zombie processes

Post by raki »

Hi all,

When i view all the processes open by using DataStage administration in Unix(DS.TOOLS), i'm getting alot of Processes with last command processed as "Unavailable" like below
============================State of all processes============================
Pid....... User name. Who. Port name..... Last command processed.................
28743 dsadm 15 /dev/pts/2 PORT.STATUS
Pid....... User name. Printer Segment Last command processed......................
27326 u427597 0xADEB9542 Unavailable
27031 dsadm 0xADEB9669 SH -c hostname [ JOB.1931255910.DT.1385135121.TRASH -c hostname @ 0x2E8 ]
27015 dsadm 0xADEB9679 PHANTOM SQUAWK DSD.StageRun LdACU001FProspect. LdACU001FProspect.ACU001F_Tfm 117 0/1/1 [ DSD.RUN @ 0x3016 ]
27001 dsadm 0xADEB9687 PHANTOM SQUAWK DSD.RUN LdACU001FProspect. 0/1/1/0/0 [ DSWaitForJob @ 0x1630 ]
26986 dsadm 0xADEB9696 DSR_LICENSE GETPROTECT
26980 dsadm 0xADEB969C PHANTOM SQUAWK DSD.RUN AOPSChildSeq1. 0/50/1/0/0 [ DSWaitForJob @ 0x1630 ]
26977 dsadm 0xADEB969F PHANTOM SQUAWK DSD.RUN AOPSParentSeq1. 0/50/0/0/0 [ DSWaitForJob @ 0x1630 ]
25993 dsadm 0xADEB9A77 SH -c hostname [ DSD.UVClose @ 0x216 ]
24797 dsadm 0xADEB9F23 Unavailable
23463 dsadm 0xADEBA459 Unavailable
22267 dsadm 0xADEBA905 Unavailable
19208 dsadm 0xADEBB4F8 Unavailable 15505 dsadm 0xADEBC36F Unavailable
14700 dsadm 0xADEBC694 Unavailable
14102 dsadm 0xADEBC8EA Unavailable
13481 dsadm 0xADEBCB57 SH -c hostname [ DSD.UVClose @ 0x216 ]
10974 dsadm 0xADEBD522 Unavailable
6112 dsadm 0xADEBE820 Unavailable
4847 dsadm 0xADEBED11 Unavailable
3743 dsadm 0xADEBF161 Unavailable
3559 dsadm 0xADEBF219 SH -c hostname [ DSD.UVClose @ 0x216 ]


When i actually go into Unix prompt and PS -ef those PID's, Unix responds with "No such process"

How can i remove those "unavailable" processes from DS.TOOLS?

thank you.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

You need to clear out the segments of memory by using the REMOVE.SHM command. Refer here for more details.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
raki
Participant
Posts: 17
Joined: Mon Dec 25, 2006 3:04 pm
Location: New Jersey

Post by raki »

DSguru2B,

i'm not able to run that command i'm getting the following error

>RUN ADMIN_BP REMOVE.SHM
No record found in the VOC file for "ADMIN_BP".

is there a way to add ADMIN_BP to VOC file?
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Ask your admin to run that command. You need to run it with dsadm or root id.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
raki
Participant
Posts: 17
Joined: Mon Dec 25, 2006 3:04 pm
Location: New Jersey

Post by raki »

i do have access to admin account. i'm getting the error using datastage admin account.
raki
Participant
Posts: 17
Joined: Mon Dec 25, 2006 3:04 pm
Location: New Jersey

Post by raki »

DSguru2B is there something that i need to configure in DataStage to get ADMIN_BP in the VOC file?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No, it's because you are 'LOG'd on to a specific project. At the TCL prompt type LOGTO UV and try again.
-craig

"You can never have too many knives" -- Logan Nine Fingers
raki
Participant
Posts: 17
Joined: Mon Dec 25, 2006 3:04 pm
Location: New Jersey

Post by raki »

thanks Craig/DSguru2B, it works now.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Possibly easier to use is

Code: Select all

$DSHOME/bin/dsdlockd -p
if you have the requisite access.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply