Re: [zones-discuss] zone hung in shutting_down status

2008-11-23 Thread Ihsan Zaghmouth
Jerry,

Usually zoneadm -z zonename unmount -f works for me but not this time so I 
diid the followings:

I ran the following 2 commands and got out of the state:
1) zoneadm -z zonename reboot -- -s  
2) pkill -9 -z zonename  (from a second terminal)

Zone moved into Ready state and I was able to bring it up again.

Ihsan

Ihsan
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] zone hung in shutting_down status

2007-04-21 Thread Sean Sprague

Ihsan, (apols for the direct email earlier - I meant to copy the list...)


Try
global# pkill -9 -z zonename
global# umount -f  /zonepath/zonename

Hope this would help, otherwise your hangup status is not controlable 
and you would have to bounce the box


Please forgive me for chiming in, but using phrases like you would have to bounce the box are not a good advertisement 
for Zones  ;-)  whereas we all know that Zones are fantastic.


I am sure that there will be some DTrace wizardry that will help further diagnose the hung zone; and hopefully lead to a 
resolution, before Mr. Gates's official recommendation should be employed ;-)


Regards... Sean.
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] zone hung in shutting_down status

2007-04-21 Thread Sean Sprague

Mike,


On 4/20/07, Dave Pigliavento [EMAIL PROTECTED] wrote:

UID   PID  PPID   CSTIME TTY TIME CMD
root   551 1   0   Mar 19 ?   0:00 zsched
0005000  1919 1   0   Mar 19 ?   0:05 
/u01/app/oracle/OracleHomes/oms10g/Apache/Apache/bin/httpd -d 
/u01/app/oracle/O

0005000  1956  1919   0- ?   0:00 defunct


Aside from rebooting the entire system is there anything I can do to 
clean this up?


Which process did you try to kill?  1919 or 1956?  Normally killing
1919 would cause 1956 to go away.  Is 1919 in some state that it can't
be killed?


I guess that 1956 could be preap'd as well. I am more used to seeing defunct 
processes owned by init...

Regards... Sean.
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] zone hung in shutting_down status

2007-04-21 Thread Mike Gerdts

On 4/21/07, Sean Sprague [EMAIL PROTECTED] wrote:

 Which process did you try to kill?  1919 or 1956?  Normally killing
 1919 would cause 1956 to go away.  Is 1919 in some state that it can't
 be killed?

I guess that 1956 could be preap'd as well. I am more used to seeing defunct 
processes owned by init...

Regards... Sean.



I would also expect that 1956 could be preap'd.  However, in order for
the zone to go down 1919 also needs to go away.  Having 1956's parent
(1919) go away could change things enough that 1919 is automatically
reaped the normal way and the zone can go down.

Mike

--
Mike Gerdts
http://mgerdts.blogspot.com/
___
zones-discuss mailing list
zones-discuss@opensolaris.org