Message boards : Questions and problems : Unable to stop BOINC from running as a service upon system boot
Message board moderation
Author | Message |
---|---|
Send message Joined: 26 Mar 16 Posts: 6 ![]() |
I'm currently running BOINC version 7.6.31 on Linux Mint 18.3. The BOINC service runs at boot before any user is logged in, in spite of taking certain actions to stop this. I have verified there are no entries in the Startup Applications settings page. I have also set the /etc/default/boinc-client config value to 0 to disable the init script. I even marked all the boinc packages for complete removal, and reinstalled, but still have the same problem. Any suggestions? I'd like to have more control over when BOINC runs. Thanks. |
Send message Joined: 5 Mar 08 Posts: 272 ![]() |
You don’t really get any control over the service running. What you can do is have it not compute through the various settings, like when in use or certain times of the day. You can even give a start delay if you just want to get through the boot sequence. If you really want to micro manage you can even set it to no new tasks and suspend what’s running. The service itself doesn’t use much cpu or memory on its own. What is your reason for not wanting it to run at start up? MarkJ |
Send message Joined: 26 Mar 16 Posts: 6 ![]() |
You don’t really get any control over the service running. It seems pretty strange for there to be no option to control whether or not BOINC will run tasks upon booting. In case I wasn't clear, I was following this guide, which indicated I can actually control whether or not the service runs at boot. https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu What happens right now is that BOINC will begin crunching before any user logs in. This has two undesirable effects: First, I want to be able to log in and have all other parts of the OS loaded before BOINC takes a hold of the CPU. In my mind, this can only make logging in to my user account take longer. I'd also like to be able to set up a delayed launch via Startup Applications after 2 minutes or so, after I'm sure everything else has gone about loading. The second concern is that when logging in to a different user account, BOINC runs regardless. If one opens the activity monitor in the alternate account, they can see the CPU is fully loaded, but yet there will be no visible tasks shown. It would not be fair to other users to have this running and taking up resources, without them being able to do anything about it. |
Send message Joined: 5 Mar 08 Posts: 272 ![]() |
If you want to have BOINC wait after starting up edit the config file: sudo nano /var/lib/boinc-client/cc_config.xml and paste the following in: <cc_config> <options> <start_delay>120</start_delay> </options> </cc_config> It will read it the next time it starts up. That says we want a 120 second delay before computations start. There are various other preferences you can set via the manager (not to mention seeing what its actually doing) to control it. BOINC runs tasks at a low priority anyway (nice level of 19) so I don't think you'll find it interfering, but you can tell it via the option settings in the manager that you don't want it computing while the computer is being used and you could also tell it to only use a percentage of the CPU cores. I think you should try it first and see if you notice any impact while you use the machine and adjust if needed. MarkJ |
Send message Joined: 26 Mar 16 Posts: 6 ![]() |
If you want to have BOINC wait after starting up edit the config file: Thanks for the help. Actually I went through the boinc manager settings pretty thoroughly. I have it set up to crunch at maximum performance even while the computer is being used, so modifying those is out of the question. I just specifically want to disable, not delay the start of the boinc client, as performance in other user accounts is still a concern. If this is not yet a consideration for developers, I think it should be. One should absolutely have control over whether or not boinc runs at boot. |
Send message Joined: 1 Jul 16 Posts: 147 ![]() |
I have the same issue when running GPU tasks with Mint 17 as BOINC started before the drivers loaded so no usable GPUs were recognized.. I just ended up restarting the client so that GPU tasks could run. A start delay would make that much simpler. |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
I just specifically want to disable, not delay the start of the boinc client, as performance in other user accounts is still a concern. When you install BOINC from distro repository it is installed as a service. You then have to use the methods the OS provides for controlling services. Mint 18 is probably a systemd distro in which case the method is "sudo systemctl <command> boinc-client". systemctl man page explains the commands. Main commands of interest are below.
|
Copyright © 2025 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.