Boinc refuses to stop

Message boards : Questions and problems : Boinc refuses to stop
Message board moderation

To post messages, you must log in.

AuthorMessage
ÄlveKatt

Send message
Joined: 14 Nov 10
Posts: 4
Sweden
Message 35729 - Posted: 14 Nov 2010, 19:17:20 UTC

I am using Ubuntu and I am NOT a Linux Poweruser, but I noticed something really annoying. When I closed Boinc Boinc didn't stop running untill I removed it with Synaptic.

I had a 100 % load on all six cores, but no program using them according to system monitor.

However, writing top in a terminal showed that BOINC was indeed running.

Now, I love contributing to others projects, but when I have closed a program I bloody well don't want it running hidden as it's own user.
ID: 35729 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 35730 - Posted: 14 Nov 2010, 20:31:57 UTC - in response to Message 35729.  

BOINC, at least for Windows, is in 2 parts:

1) The 'client', or worker, or daemon. This is the hidden part that runs the science apps.
2) A gui, which displays to the user what the client is doing. Apparently, some Linux users don't have/use this gui.

If you do, and this is what you closed, then it's possible that this is ALL that you closed.

In Windows versions, there's an option to also close the client when the gui is closed.
I don't know what is in various Linux versions for doing this.

ID: 35730 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 35731 - Posted: 14 Nov 2010, 21:50:47 UTC - in response to Message 35730.  

I don't know what is in various Linux versions for doing this.

I don't know either, but there should be at least the "Shut down connected client..." item in the Advanced or Tools menu.

Perhaps there's also the manager exit dialog, to enable from the Options... menu item.

Gruß,
Gundolf
ID: 35731 · Report as offensive
mo.v
Avatar

Send message
Joined: 13 Aug 06
Posts: 778
United Kingdom
Message 35732 - Posted: 15 Nov 2010, 0:30:53 UTC

In Windows you can right-click on the Boinc icon in the notification area then select Exit. This closes everything down.

In the Boinc manager File menu you can select Exit. This also closes everything and I think it should be the same with Linux.
ID: 35732 · Report as offensive
ÄlveKatt

Send message
Joined: 14 Nov 10
Posts: 4
Sweden
Message 35740 - Posted: 15 Nov 2010, 13:57:19 UTC - in response to Message 35732.  

If that is the case then I think this should be filed as a bug.
ID: 35740 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 35741 - Posted: 15 Nov 2010, 14:19:06 UTC - in response to Message 35740.  

It's not a bug, it's a feature, as requested by people who run several computers, and want to use the one manager to monitor those other computers

It's up to users to learn how the many parts of BOINC works.

ID: 35741 · Report as offensive
Theadalus

Send message
Joined: 6 Apr 10
Posts: 12
Netherlands
Message 35753 - Posted: 17 Nov 2010, 2:14:06 UTC

I wrote a little script to use on Ubuntu Server Edition, it starts/stops BOINC completely:

#!/bin/sh
# /etc/init.d/boincsvc
# start/stop/restart

# Specify BOINC install directory.
BOINCDIR=/usr/DC/BOINC
BOINCVER=6.10.58

# Exit if the package is not installed
test -x $BOINCDIR/boinc || exit 0

case "$1" in
  start)
    echo "Starting BOINC v${BOINCVER}..."
    cd $BOINCDIR && exec ./boinc > boinc.log &
    ;;
  
  stop)
    echo "Stopping BOINC Client..."
    killall boinc
    ;;
  
  restart)
    echo "Restarting BOINC v${BOINCVER}..."
    killall boinc
    sleep 5
    cd $BOINCDIR && exec ./boinc > boinc.log &
    ;;
  
  *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
    ;;
esac

exit 0


It uses killall to stop BOINC. ;)
ID: 35753 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 35757 - Posted: 17 Nov 2010, 8:01:03 UTC - in response to Message 35753.  

It uses killall to stop BOINC. ;)

Bad idea.

What about
boinccmd  --quit
?

Gruß,
Gundolf
ID: 35757 · Report as offensive
ÄlveKatt

Send message
Joined: 14 Nov 10
Posts: 4
Sweden
Message 35765 - Posted: 17 Nov 2010, 18:23:48 UTC

boinccmd --quit works. Didn't have the skills to restart it without a reboot though...
ID: 35765 · Report as offensive
ÄlveKatt

Send message
Joined: 14 Nov 10
Posts: 4
Sweden
Message 35769 - Posted: 17 Nov 2010, 20:09:52 UTC

Boinc manager can't suspend works at all though. Even when it says the works are suspended boinc has my processor cores at a 100%.
ID: 35769 · Report as offensive

Message boards : Questions and problems : Boinc refuses to stop

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.