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.

Force stop VM via terminal

Featured Replies

Hi, sometimes when I do gpu passthrough and start the VM, it will cause the VM tab page to hang.

 

1. I am unable to force stop VM since page is empty

2. If I go to the terminal and execute any `virsh` command, the command will hang as well

 

Is there any way we can force kill the VM? Maybe `kill -9 <VM process>`?

 

It's kinda troublesome to restart the PC everytime because of this ... Thanks

Solved by shawnngtq

  • Author
  • Solution

I noticed that the reason VM page hang is because my plex docker setting includes the gpu even though GPU is not in used that time. The moment I shut plex down, my VM page works => this is the root cause

 

As for the force stop VM via terminal, I still don't have a solution that doesn't include system reboot / shutdown.

 

Maybe as of 6.9.2, it's not possible. But I do hope this can be a future feature. Afterall slackware OS is still Linux-based, terminal should be able to do everything, considering that the default terminal user is already root user.

  • 1 year later...

One solution is to simply stop the conflicting container. It requires you to know that the reason it is hanging is a GPU access conflict and to know which container but it works for me.

 

You can do that with:

docker container stop <name-of-container>

 

Edited by voyager12
Add docker command

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.