[OmniOS-discuss] OmniOS r151016 zone has difficulties shutting down

Dominik Hassler hasslerd at gmx.li
Tue Dec 22 10:50:22 UTC 2015


Dan,

I remember that in my cases when a zone shutdown got stuck, "zoneadm 
list -cv" showed the state of the hung zone as: shutting_down


On 12/22/2015 02:02 AM, Dan McDonald wrote:
> I forgot to mention "zoneadm list -cv".  That would've shown the zone's state.
>
> The pstack for zoneadmd showed this function:
>
> http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/zoneadmd/zoneadmd.c#1089
>
> is waiting for something to only exit a loop after a long wait.
>
> I'm curious which of:  zone_get_state() failing or "zstate == ZONE_STATE_INSTALLED" fails?  That's why the "list -cv" would've been nice.
>
> If this happens ever again, some more useful captures:
>
> 	ptree `pgrep -z <zonename>`
>
> 	pargs `pgrep -z <zonename>`
>
> 	pstack `pgrep -z <zonename>`
>
> That'll be a LOT of output, BUT it may provide more clues.
>
> Thanks for this, and sorry I don't have more immediately useful data.
>
> Dan
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>


More information about the OmniOS-discuss mailing list