Operating System - HP-UX
1833704 Members
2943 Online
110063 Solutions
New Discussion

How can I have a zombie process immediately after a reboot

 
Don Spare
Regular Advisor

How can I have a zombie process immediately after a reboot

I just rebooted my server because I couldn't get SAM to show me the disk devices list so I can create a new VG. After the reboot I tried SAM again and it is still hanging. I looked at TOP and found:
System: dwdev001 Wed Jul 13 10:07:15 2005
Load averages: 1.04, 1.00, 0.68
136 processes: 124 sleeping, 11 running, 1 zombie
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 1.37 2.0% 0.0% 1.8% 96.2% 0.0% 0.0% 0.0% 0.0%
1 0.71 1.6% 0.0% 1.8% 96.6% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 1.04 1.8% 0.0% 1.8% 96.4% 0.0% 0.0% 0.0% 0.0%

Memory: 153188K (104732K) real, 246556K (213528K) virtual, 3388764K free Page# 1/4

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 1540 root 180 20 0K 0K zomb 0:00 0.68 0.68 agdbserver
0 pty/ttyp1 5343 oracle 178 20 2712K 536K run 0:00 0.30 0.30 top
0 pty/ttyp2 4872 root 154 20 1896K 2704K sleep 0:00 0.25 0.25 samx
1 ? 1205 root -16 20 5756K 5212K run 0:02 0.23 0.22 midaemon
1 ? 32 root 152 20 0K 0K run 0:00 0.16 0.16 vxfsd
.

How can this happen and how do I get rid of it? Is this affecting how SAM works? I don't know anything about the 'agdbserver' process. Can someone enlighten me please?
3 REPLIES 3
Uday_S_Ankolekar
Honored Contributor

Re: How can I have a zombie process immediately after a reboot

This may be due to MWA process

Check with mwa status command to see the status of agdbserver

stop mwa and remove log files and status file and then restart mwa

1 mwa stop

2. cp /var/opt/perf/datafiles/log* to some directory>

3. rm /var/opt/perf/datafiles/log*

4. rm /var/opt/perf/status*

4. mwa start

-USA..
Good Luck..
Babu A
Frequent Advisor

Re: How can I have a zombie process immediately after a reboot

Hi,

agdbserver is part of measureware. It ia a Alarm Generator DataBase SERVER. Agdbserver is started by perflbd after it has started all the rep_servers. agdbserver handles requests to access the agdb (Alarm Generator DataBase)

perflbd ia a PERFormance Location Broker Daemon. The purpose of perflbd is to start the remaining server processes and "find" data sources for MWA

You may run
# mwa status
and see the output

Regards,

Babu
Devesh Pant_1
Esteemed Contributor

Re: How can I have a zombie process immediately after a reboot

Don,
what does a ps -ef| grep agdbserver
show ?
you should see something like this

root 3202 1652 0 Jun 25 ? 0:37 /opt/perf/bin/agdbserver -t alarmgen /var/opt/perf/datafiles/

and like others have suggested it could be the mwa that you might have to restart after taking care of the datafiles.
Just in case you wanted to know more on mwa, it is a script that is used to start, stop, and re-initialize
MeasureWare Agent processes.
man mwa

Thanks
DP