Operating System - HP-UX
1823721 Members
4044 Online
109664 Solutions
New Discussion юеВ

swinstall takes up 70 to 90% of cpu, can I kill it?

 
SOLVED
Go to solution
ajax13
Frequent Advisor

swinstall takes up 70 to 90% of cpu, can I kill it?

Hi,
I am using the "top" command to check the top processes. I noticed that %CPU for swinstall is the top process with 70 to 90%. I then did
ps -ef | grep sw
the result
1- root 0 0 0 Jul 20 ? 157:51 swapper
2- root 1123 1 0 Jul 20 ? 0:15 /usr/sbin/swagentd -r
3- root 19290 1123 0 Aug 20 ? 0:44 swagent / 4 12 ncacn_ip_tcp ncadg_ip_udp:999.999.99.99[2121]
4- root 19176 1 200 Aug 20 ? 17594:31 /usr/sbin/swinstall -i

There is no install going on now, Is it safe to kill these processes?

Why is the swinstall hanging?

Thanks
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: swinstall takes up 70 to 90% of cpu, can I kill it?

Samir,

If you don't have patches upto Jun 2000, there was a bug with some of the sw* processes. I usually get into situations where swlist used hang without aboring with ^C.

Upgrade your system to the latest possible patch levels.

You can kill the swinstall sessions if you are sure that no other person is installing anything. Also make sure to tail /var/adm/sw/swagent.log to verify nothing active is going on.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor
Solution

Re: swinstall takes up 70 to 90% of cpu, can I kill it?

Samir,

Due apologies.

Before killing it, verify /var/adm/sw/swagent.log and see if there is any installation that required reboot has been hanging. If so, killing this sessino will reboot the system.

So, be cautious.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
ajax13
Frequent Advisor

Re: swinstall takes up 70 to 90% of cpu, can I kill it?

Hi,
There was no install going on now, and no install needs a reboot, I killed the process, and looks ok.

Thanks
linuxfan
Honored Contributor

Re: swinstall takes up 70 to 90% of cpu, can I kill it?

Hi Samir,


You could also have tried "/usr/sbin/swagentd -k" before killing it, but i would say definitely install the latest SD-UX patch PHCO_23966 for 11.0

-Ramesh
They think they know but don't. At least I know I don't know - Socrates
James R. Ferguson
Acclaimed Contributor

Re: swinstall takes up 70 to 90% of cpu, can I kill it?

Hi Samir:

Transient network issues or running 'Measureware' can interfer with 'swinstall'. You can either stop Measureware during the install or do:

# swinstall -x rpc_binding_info=ncadg_ip_udp:[2121]

...JRF...