Operating System - HP-UX
1835983 Members
2469 Online
110088 Solutions
New Discussion

Slow shutdown on HPUX 10.2

 
John Baker_11
New Member

Slow shutdown on HPUX 10.2

Hi, I have four Visualize B2000 workstations running HPUX 10.2. The issue is when I do a shutdown, it takes two of the workstations longer to shutdown (5-10 mins longer). The two
offending workstations seem to get hung on "killing user processes" and it takes longer to stop the USB daemon. There are no users connected to the workstations and I compared the system shutdown log in /etc/rc.log.old. The logs of the fast
shutdown and the slow shutdown workstations are identical. I verified the NIS information on each workstation is the same.
Is there a fix for this? ----Thanks----
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Slow shutdown on HPUX 10.2

The kill process is killing all user processes.

If the one workstation is running more applications than the other and those processes are sticky and don't shut down well. This could be casuing the problem.

Its not hanging, its doing work, especially if it shuts down without the power switch.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Helen French
Honored Contributor

Re: Slow shutdown on HPUX 10.2

Are all systems running the same type of applications? If not, this time may differ. Before shutdown, compare the processes running on the system. I would consider it like normal if there is a big difference in applications and processes (like closing a big database) and if it takes only 5-10 mnts more.

Also make sure that the systems are on same patch level. Btw, 10.20 will be obsoleted on this Monday!
Life is a promise, fulfill it!
John Baker_11
New Member

Re: Slow shutdown on HPUX 10.2

All of the workstations are running the same applications and have the same versions of patches. ---Thanks Again---
S.K. Chan
Honored Contributor

Re: Slow shutdown on HPUX 10.2

If these 4 machines are identical in terms of its application, processes, kernel, patches (among others) then they would exhibit similar shutdown time. Otherwise it's really subjective. Now you mentioned the USB daemon .. do this .. (when system is idle).
# ps -ef|grep hubd
==> If you said the usb daemon is enabled, this should exist.
# /sbin/init.d/hub stop
# /sbin/init.d/hub start
==> What's the timing on the stop|start ? Does the 2 wkstn consistently hang at this point ?
Bill Douglass
Esteemed Contributor

Re: Slow shutdown on HPUX 10.2

/usr/sbin/killall is a shell script in 11.0 (I don't have a 10.2 system to look at).

You could try putting

set -x

at the top of the script and monitor it during shutdown.
Caesar_3
Esteemed Contributor

Re: Slow shutdown on HPUX 10.2

Hello!

Probably some process take more time to stop/kill them on the shutdown, like free resorces that they where used when it run.
Does your station do the same thing or not?

Caesar