Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] How to stop kernel workqueues [iprt-VBoxWQueue] and [iprt-VboxTscthread]
-
- Posts: 41
- Joined: 2023-12-19 09:25
- Been thanked: 1 time
[Solved] How to stop kernel workqueues [iprt-VBoxWQueue] and [iprt-VboxTscthread]
I am running Debian 12 with 2 processes running from start up.
iprt-VBoxWQueue
iprt-VboxTscthread
I believe these are Virtualbox processes but they start without me activating Virtualbox. I would like to find where they start from. is it possible to determine what starts these processes ?
iprt-VBoxWQueue
iprt-VboxTscthread
I believe these are Virtualbox processes but they start without me activating Virtualbox. I would like to find where they start from. is it possible to determine what starts these processes ?
Last edited by admiincomp on 2024-05-06 13:46, edited 1 time in total.
-
- Debian Developer
- Posts: 467
- Joined: 2022-07-12 14:10
- Has thanked: 1 time
- Been thanked: 88 times
Re: finding start up process
You can use the command
to see what processes are part of each service. For example on my system I see
Note that virtualbox is not part of the official Debian distribution (main).
Code: Select all
sudo systemctl status
Code: Select all
─bolt.service
└─937 /usr/libexec/boltd
─colord.service
└─1063 /usr/libexec/colord
─cron.service
└─867 /usr/sbin/cron -f
- pbear
- Posts: 397
- Joined: 2023-08-27 15:05
- Location: San Francisco
- Has thanked: 2 times
- Been thanked: 65 times
Re: finding start up process
I have both Virt-Manager and VirtualBox installed (Deb12). At startup, lindi's command shows two leasehelper services for VirtMan, nothing for VBox. When I open VBox, these services appear:
When I close VBox, they disappear.
Code: Select all
CGroup: /
└─user.slice
└─user-1000.slice
├─session-1.scope
│ ├─2633 /usr/lib/virtualbox/VirtualBox
│ ├─2659 /usr/lib/virtualbox/VBoxXPCOMIPCD
│ └─2665 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
-
- Global Moderator
- Posts: 3103
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 77 times
- Been thanked: 419 times
Re: finding start up process
Hello,
Therefore, they are started by the VirtualBox kernel modules that are started by the Debian GNU/Linux kernel.
Hope this helps.
---
[1] https://docs.kernel.org/core-api/workqueue.html
[2] https://codesearch.debian.net/show?file ... c&line=113
They are kernel workqueues (something like process threads, but in kernel space) [1]; this is the source code [2]:admiincomp wrote: ↑2024-05-03 16:02 [..]I believe these are Virtualbox processes but they start without me activating Virtualbox. I would like to find where they start from. is it possible to determine what starts these processes ?Code: Select all
iprt-VBoxWQueue iprt-VboxTscthread
Code: Select all
[..]
DECLHIDDEN(int) rtR0InitNative(void)
{
int rc = VINF_SUCCESS;
IPRT_LINUX_SAVE_EFL_AC();
#if RTLNX_VER_MIN(2,5,41)
#if RTLNX_VER_MIN(2,6,13)
g_prtR0LnxWorkQueue = create_workqueue("iprt-VBoxWQueue");
#else
g_prtR0LnxWorkQueue = create_workqueue("iprt-VBoxQ");
#endif
if (!g_prtR0LnxWorkQueue)
rc = VERR_NO_MEMORY;
#endif
IPRT_LINUX_RESTORE_EFL_AC();
return rc;
}
[..]
Hope this helps.
---
[1] https://docs.kernel.org/core-api/workqueue.html
[2] https://codesearch.debian.net/show?file ... c&line=113
-
- Posts: 41
- Joined: 2023-12-19 09:25
- Been thanked: 1 time
Re: finding start up process
I wanted to identify the process file that starts up automatically so I can stop the process.
if i run the command systemctl list-units --type=service
I see the services even though Virtualbox is not running.
vboxautostart-service.service >
vboxballoonctrl-service.service >
vboxdrv.service >
vboxweb-service.service
Where are these services starting from ?
if i run the command systemctl list-units --type=service
I see the services even though Virtualbox is not running.
vboxautostart-service.service >
vboxballoonctrl-service.service >
vboxdrv.service >
vboxweb-service.service
Where are these services starting from ?
-
- Global Moderator
- Posts: 3103
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 77 times
- Been thanked: 419 times
Re: finding start up process
Hello,
These services are started by the init process (systemd).
As an example, these are commands to stop them:
Of course, if you do not want them to start the next time you boot, you will have to disable these services; i.e.:
These services are started by the init process (systemd).
As an example, these are commands to stop them:
Code: Select all
$ pgrep -lf iprt
5753 iprt-VBoxWQueue
$ sudo systemctl stop vboxdrv.service
$ pgrep -lf iprt
Code: Select all
sudo systemctl disable vboxdrv.service
-
- Posts: 41
- Joined: 2023-12-19 09:25
- Been thanked: 1 time
-
- Global Moderator
- Posts: 3103
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 77 times
- Been thanked: 419 times
Re: [Solved] finding start up process
I'm glad you sorted it out. :)
I updated the subject of the first post from:
I updated the subject of the first post from:
- [Solved] finding start up process
- [Solved] How to stop kernel workqueues [iprt-VBoxWQueue] and [iprt-VboxTscthread]