> On 27/04/2016, at 11:42 AM, Jerry Jelinek <[email protected]> wrote:
>
> Almost none of this sounds right. If you're only running with a zone memory
> cap then you certainly never want to use the rcap daemon, since that only is
> for projects on smartos. That svc is disabled by default, so I assume you
> enabled it?
Yes.
> What does your zonecfg look like?
{
"brand": "lx",
"image_uuid": "257a5a32-0758-11e6-b5f1-5fea6d13e92f",
"kernel_version": "3.18.0",
"autoboot": true,
"alias": "debian-8",
"hostname": "debian-8",
"dns_domain": "20ft.nz",
"resolvers": [
"192.168.178.2",
"8.8.8.8"
],
"max_physical_memory": 4096,
"max_swap": 16384,
"max_cpu": 300,
"quota": 32,
"nics": [
{
"nic_tag": "admin",
"ip": "dhcp",
"primary": true
}
]
}
This is actually from a different machine than the crashed one but I think the
configs are very similar.
> Why aren't you using the normal zone memory capping mechanisms?
I tried and it didn't work. I thought that maybe I needed to turn the
appropriate daemon on. This was wrong.
> What crashed?
Nothing's crashed, it's live locked. A previous incident (trace not available)
you could see free memory becoming 32M and enormous amounts of disk activity
(then nothing). I also remember vmstat showing 0 running threads.
> Is there a panic or dump we could take a look at?
I don't know. I'm a fair way away from the dead machine so a quick reboot is
not really on the cards right now - it has been left logged in and attempting
to clear itself. BTW, the machine can still be ping'ed.
> What platform are you running?
- SmartOS Live Image v0.147+ build: 20160414T011743Z
The actual script I'm running it https://polymath.tech/build-mesos-debian
<https://polymath.tech/build-mesos-debian>
And now I think about it there may be some disabled services:
svcadm disable system/cron
svcadm disable smartdc/mdata:fetch
svcadm disable smartdc/mdata:execute
svcadm disable system/name-service-cache
svcadm disable network/inetd
svcadm disable system/console-login:default
svcadm disable system/console-login:vt2
svcadm disable system/console-login:vt3
svcadm disable system/console-login:vt4
svcadm disable system/console-login:vt5
svcadm disable system/console-login:vt6
svcadm disable network/ipsec/ipsecalgs
svcadm disable network/ipsec
svcadm disable system/console-login
svcadm disable lldp/server
svcadm disable dns/multicast
svcadm disable network/ntp
svcadm disable rpc/bind
svcadm disable iscsi/initiator
svcadm disable sendmail-client
Thanks,
Dave
-------------------------------------------
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