Thread 'Help deleting workunits!'

Message boards : Server programs : Help deleting workunits!
Message board moderation

To post messages, you must log in.

AuthorMessage
Chris Elliott

Send message
Joined: 23 Jul 08
Posts: 4
Message 18753 - Posted: 23 Jul 2008, 2:47:15 UTC

Is there a proper way to delete workunits on the server that have been created? Until now I have been deleting workunits from the mySQL database and removing files in the project's download folder. While this makes the workunit stop being sent out, it causes errors and I am sure is not the proper way to do this.

Scenario: I was running "sample_work_generator" with the "uppercase" app and added a new workunit with an executable I had created and ran the "make_work" function for it. This executable was causing problems and I need it to stop being sent out, but I don't want to stop other work from being sent out. With "feeder", "transitioner", and "file_deleter" being the only daemons running, workunits of the faulty executable continue to be sent out because I have not successfully removed the workunits for it.
ID: 18753 · Report as offensive
Chris Elliott

Send message
Joined: 23 Jul 08
Posts: 4
Message 18784 - Posted: 23 Jul 2008, 18:21:21 UTC - in response to Message 18753.  

UPDATE:

I have found here
http://boinc.berkeley.edu/trac/wiki/HtmlOps
that I can use the "Administrative "Web Interface" to cancel workunits. However, I see no documentation about how to access this functionality.
ID: 18784 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15561
Netherlands
Message 18785 - Posted: 23 Jul 2008, 19:00:56 UTC - in response to Message 18784.  

I think it's only included in the latest revision, or at least from something like 15600 onwards. This SVN is now being tested by some projects to see if it is stable, so only update if you really need to.

In the mean time, why not use http://boinc.berkeley.edu/trac/wiki/FileDeleter ?
ID: 18785 · Report as offensive
Chris Elliott

Send message
Joined: 23 Jul 08
Posts: 4
Message 18796 - Posted: 24 Jul 2008, 3:58:08 UTC

I spoke with someone today that told me you can get to the Administrative Web Interface by going to $PROJECTSERVER/$PROJECTNAME_ops in a browser. This actually has a nifty link for canceling workunits where you can specify a range of workunit ID's. Got the job done.

On the file_deleter, I didn't know of a way to get rid of the workunits I had named with the "_nodelete" tag on the end.
ID: 18796 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 18849 - Posted: 26 Jul 2008, 12:33:31 UTC - in response to Message 18796.  

On the file_deleter, I didn't know of a way to get rid of the workunits I had named with the "_nodelete" tag on the end.

Right now it just won't delete those. I'd like to add the functionality, but have not had time, and it doesn't really matter. There should only be a few of those, compared to the larger set of workunits cloned from them, so they are not a big problem.

-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 18849 · Report as offensive

Message boards : Server programs : Help deleting workunits!

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.