What do you mean by "machines"? Nodes or guests? If you are talking about guests you should search the syslog for OOM messages. If VMs/LXCs are shutdown its most of the time the OOM killer that kills processes because your host is running out of RAM because you overprovisioned your RAM.