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.

Running android emulators within a VM using nested virtualization causes the server to crash intermittently

Featured Replies

Specs

Unraid Version: 6.12.13
CPU: AMD Ryzen 9 7950X
Motherboard: MSI X670E CARBON
RAM: 64 GB DDR5 (32 GB x 2)

 

What I have done

  1. Ubuntu VM on Unraid with 8 CPU and 8704 mb of RAM (XML Attached)
  2. CPU Pinning & Isolation to ensure no other service is using those 8 CPUs (4 physical cores + 4 hyperthreaded cores) assigned to the VM 
  3. Inside the VM, android emulator is started using https://github.com/google/android-emulator-container-scripts (It uses docker & KVM Nested Virtualization)

 

What is happening

Sometimes, when the emulator is running and is busy, all of Unraid just crashes (probably some sort of kernel panic?) and reboots. 

 

What have I checked

  1. Have enabled `Mirror syslog to flash` and checked the syslog for any indication of the crash reason. Syslog has nothing around the time of the crash. All okay before. All okay after. 
  2. Connected a display to Unraid to monitor the logs and nothing came there when it crashed either as far as I can tell (it quickly went blank)
  3. Have increased the RAM/Memory on the VM in question and checked, doesn't seem to help. (Though I'd think if it was a resource constraint only the VM should have crashed and not the entire Unraid server)

 

---

 

I have tried everything I can think of and currently at a loss for ideas. Any help would be appreciated :) 

Thank you in advance ...

ubuntu-vm.xml

Edited by niranjan94

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.