Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] VM shutting itself down after an arbitrary amount of time

Featured Replies

I have a Server 2022 VM configured which is being shut down after what appears to be an arbitrary length of time.

 

This appears in the logs:

 

2021-09-10T21:36:41.927876Z qemu-system-x86_64: terminating on signal 15 from pid 4371 (/usr/sbin/libvirtd)
2021-09-10 21:36:42.157+0000: shutting down, reason=shutdown

 

I've had a search and can't find anything obvious relating to this problem.  The closest I could find was someone who's VMs were pausing and it was due to a full cache drive.  Mine is 500GB and only 25% full.  I tried a BTRFS balance for fun and it hasn't made any difference.

 

Any ideas?

 

Edited by CodeThief

  • Author

Discovered there's a /var/log/libvirt/libvirtd.log and it has this entry for the same time:

 

2021-09-10 21:36:41.956+0000: 4648: error : qemuMonitorIO:578 : internal error: End of file from qemu monitor
 

2021-09-10 21:36:41.956+0000: 4648: error : qemuMonitorIO:578 : internal error: End of file from qemu monitor

 

Interestingly there's an entry in syslog at exactly the same time for a Docker container starting:

 

Sep 10 21:36:40 Server kernel: eth0: renamed from vethd78ed5c
Sep 10 21:36:40 Server kernel: IPv6: ADDRCONF(NETDEV_CHANGE): veth0fea234: link becomes ready
Sep 10 21:36:40 Server kernel: docker0: port 6(veth0fea234) entered blocking state
Sep 10 21:36:40 Server kernel: docker0: port 6(veth0fea234) entered forwarding state
Sep 10 21:36:41 Server rc.docker: Komga: started succesfully!
Sep 10 21:36:41 Server kernel: docker0: port 7(veth28dce0c) entered blocking state
Sep 10 21:36:41 Server kernel: docker0: port 7(veth28dce0c) entered disabled state
Sep 10 21:36:41 Server kernel: device veth28dce0c entered promiscuous mode
Sep 10 21:36:41 Server kernel: docker0: port 7(veth28dce0c) entered blocking state
Sep 10 21:36:41 Server kernel: docker0: port 7(veth28dce0c) entered forwarding state
Sep 10 21:36:41 Server kernel: docker0: port 7(veth28dce0c) entered disabled state

 

Could be a coincidence?

Edited by CodeThief

  • Author

It's just shut down again with no corresponding entry in syslog this time, so must have been a coincidence :(

  • Author

OK, false alert, I had a look in the system log of the server and it's the Windows licensing management service that's shutting the machine down, not the VM host!

  • CodeThief changed the title to [SOLVED] VM shutting itself down after an arbitrary amount of time

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.