Probably cleaner to inject a smf service before vmadmd that on shutdown will loop all your kvm zones and set autoboot to false.
Then insert a 2nd one after zones service is up that starts all your kvm zones one by one with a delay between them. It's not very clean but it's better than patching svc-zones. I may or may not have done this in the past ;) before I switched everything to lx-branded zones aside 1 bsd kvm. Regards Jorge On 2015-11-14 12:19, Micky wrote: > To cut to the chase, I have started noticing kvm zones slow down with I/O > load because everything starts at once, if they are more than 10 or so. > > This can cause big problems on moderate hardware e.g. service startup > failures inside the kvm zones. > So I am thinking of throwing in a manifest in /opt/custom/smf; making it > depend on any service (e.g. multi-user-server) that depends on > svc:/system/zones. > > Which would run a script and patch "/lib/svc/method/svc-zones" with something > like "sleep 30" and log to syslog. > > How would you skin this cat? > :) > > SMARTOS-DISCUSS | Archives [1] [2] | Modify [3] Your Subscription > [4] Links: ------ [1] https://www.listbox.com/member/archive/184463/=now [2] https://www.listbox.com/member/archive/rss/184463/26452851-88b650c7 [3] https://www.listbox.com/member/?& [4] http://www.listbox.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
