How does one kill the BOINC Mgr and associated work processes in Ubuntu Linux?

Message boards : Questions and problems : How does one kill the BOINC Mgr and associated work processes in Ubuntu Linux?
Message board moderation

To post messages, you must log in.

AuthorMessage
wlathan

Send message
Joined: 20 Jul 23
Posts: 9
Message 112342 - Posted: 23 Jul 2023, 21:08:49 UTC

I am using BOINC as downloaded and installed via the instructions provided for Ubuntu on page https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Debian_or_Ubuntu. I am using Ubuntu 22.04 DTS.

I have noted an issue, at least for me. Unlike the Windows version of the manager, which has an "Exit BOINC" under "File" that then shuts down the manager plus all work in progress, the Linux version of the manager merely has a "Close Window" under "File." That command merely closes the BOINC Mgr. window but leaves all the work processes working as evidenced by all the processors in System Monitor working their little hearts out. Just what command(s) am I to use to shut down the manager plus all associated work processes?

Many thanks,

Bill
ID: 112342 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 877
United States
Message 112348 - Posted: 24 Jul 2023, 19:52:23 UTC - in response to Message 112342.  

You can thank the distro devs for that. Boinc runs as a service and can't be killed by the user. With your version the only way to stop the client is to invoke superuser.

sudo systemctl stop boinc-client


I run an older client that still has the ability to stop the client and all processes through the Manager interface.

To restart the client if you aren't going to reboot use this.

sudo systemctl start boinc-client
ID: 112348 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2573
United Kingdom
Message 112352 - Posted: 24 Jul 2023, 20:48:02 UTC
Last modified: 24 Jul 2023, 20:55:39 UTC

I run an older client that still has the ability to stop the client and all processes through the Manager interface.


An alternative if you are prepared for a rather steep learning curve is to compile your own from the source code at git-hub. As Keith says, it is the distribution developers that have decided on this, "security measure" Personally, I feel more secure having control over what BOINC does.

Edit 2: What they have done makes some sense for a multi-user computer but not for a personal one with only one user.
ID: 112352 · Report as offensive
wlathan

Send message
Joined: 20 Jul 23
Posts: 9
Message 112368 - Posted: 26 Jul 2023, 0:06:42 UTC - in response to Message 112348.  

Thanks for your help. Now at least I have a way to kill all processes along with the Boinc manager. I agree that the developer put a little too much security into the thing.

Regards,

Bill
ID: 112368 · Report as offensive
hadron

Send message
Joined: 5 Sep 22
Posts: 30
Canada
Message 112483 - Posted: 6 Aug 2023, 20:00:28 UTC - in response to Message 112348.  
Last modified: 6 Aug 2023, 20:02:15 UTC

You can thank the distro devs for that. Boinc runs as a service and can't be killed by the user. With your version the only way to stop the client is to invoke superuser.

sudo systemctl stop boinc-client


I run an older client that still has the ability to stop the client and all processes through the Manager interface.

To restart the client if you aren't going to reboot use this.

sudo systemctl start boinc-client

You can indeed shut down the boinc-client service from the Manager -- you have to be a member of group boinc to use it, so that right is yours.
It seems the only thing you cannot do is restart the client, at least not that I have found.

Maybe Ubuntu is somehow different, it certainly wouldn't surprise me.
ID: 112483 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2573
United Kingdom
Message 112485 - Posted: 6 Aug 2023, 20:51:24 UTC - in response to Message 112483.  

Ubuntu is the same. You still need sudo to restart the client.
ID: 112485 · Report as offensive

Message boards : Questions and problems : How does one kill the BOINC Mgr and associated work processes in Ubuntu Linux?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.