Proper BONIC project shutdown proc

Message boards : Number crunching : Proper BONIC project shutdown proc
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile jshenry1963

Send message
Joined: 17 Nov 04
Posts: 182
Credit: 68,878
RAC: 0
United States
Message 102176 - Posted: 21 Apr 2005, 13:13:19 UTC

Hi,
This one may already be here, but I have searched for 1/2 hour and couldn't find the right topic, so I am starting a new thread.
What is the proper procedure for shutting boinc down?

Reason I ask this is due to the following:
(windows xp, ht, boinc manager 4.25, einstein, predictor, and seti)
Last night and this morning, I followed the following procedure when shutting down boinc and pc:
1 - in boinc - "file" "exit"
2 - wait for boinc B to go away
3 - shut down PC (start/shutdown/turnoff/etc/etc)
Last night, when I turned it back on, I found that I had an error message for einstein and seti that a result had zero status but no fished file. two messages, one for seti, one for an einstein result.
This morning, shut down again to bring laptop to work, and when I restarted it all, got the same two messages for two different seti/einstein results.
I have never had this before, using this procedure for shut down.
Do I need to suspend the projects individually, then turn off boinc? or?

I do find it odd that four work units, two different projects, one right after another, would all do this.
Einstien takes almost 10-12 hours to complete, so I don't want to lose its work units, of course don't want to lose seti's either. Something might be found on one that I don't get done right, then it gets requeued, etc.
Thanks,
John Henry
Sevierville, TN
Thanks, and Keep on crunchin'
John Henry KI4JPL
Sevierville TN

I started with nothing,
and I still have some of it left.
<img src="http://www.boincstats.com/stats/banner.php?cpid=989478996ebd8eadba8f0809051cdde2">
ID: 102176 · Report as offensive
Pascal, K G
Volunteer tester
Avatar

Send message
Joined: 3 Apr 99
Posts: 2343
Credit: 150,491
RAC: 0
United States
Message 102205 - Posted: 21 Apr 2005, 16:08:37 UTC

When I shut down, it is Suspend, then exit using the icon on the task bar...
Semper Eadem
So long Paul, it has been a hell of a ride.

Park your ego's, fire up the computers, Science YES, Credits No.
ID: 102205 · Report as offensive
Profile Paul D. Buck
Volunteer tester

Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 102228 - Posted: 21 Apr 2005, 18:22:01 UTC

Hmmm ...

THis might be one to suggest in the bugbase ... It could be that it takes BOINC longer to shut down than expected in some cases ... so you don't get a clean shutdown ... if BOINC is still running when windows closes it might be possible to be in the middle of a disk write ...

All I can think of ...

The Macintosh has a mechanism where an application can hold or stop shutdown so that this type of behavior does not happen ...
ID: 102228 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 102274 - Posted: 21 Apr 2005, 22:35:48 UTC

I haven't noticed something like that, jshenry, and I don't even close boinc before shutting down windows. It does, however, take boinc some time to close, so when windows pops up with a message that boinc couldn't be closed I let that message stay on screen until it disappears on it's own, i.e. I don't click on Close now.


ID: 102274 · Report as offensive
Profile RDC
Volunteer tester
Avatar

Send message
Joined: 17 May 99
Posts: 544
Credit: 1,215,728
RAC: 0
United States
Message 102277 - Posted: 21 Apr 2005, 22:43:39 UTC

I have noticed that even after the BOINC icon dissapears, the HD on my PC still is flashing from anywhere from 3 to 10 seconds as the system continues to write data. I just wait until the HD light goes out before shutting down. Rarely have I had a problem on XP since using that method.



To truly explore, one must keep an open mind...
ID: 102277 · Report as offensive
N/A
Volunteer tester

Send message
Joined: 18 May 01
Posts: 3718
Credit: 93,649
RAC: 0
Message 102288 - Posted: 21 Apr 2005, 23:23:22 UTC - in response to Message 102228.  

The Macintosh has a mechanism where an application can hold or stop shutdown so that this type of behavior does not happen ...
I don't have a copy of "Inside Macintosh: Interapplication Communication", but IIRC the best way to have an app close on shutdown is to support AppleScript's quit command (It's part of the required suite). Otherwise if that's not present, the System (v.7-9) will send a "Quit" to each app's event queue.

This has changed in OS X... I'm not sure how interapp comm works now, but I seem to recall a tech note stating that using AppleScript's quit will exit an app cleanly and quickly. Perhaps the required suite (open, close, run, quit, print) could be added to BOINC Menubar, and that in turn could notify the project app.
ID: 102288 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 102297 - Posted: 21 Apr 2005, 23:31:39 UTC - in response to Message 102176.  

> Hi,
> This one may already be here, but I have searched for 1/2 hour and couldn't
> find the right topic, so I am starting a new thread.
> What is the proper procedure for shutting boinc down?

I just shut down the computer and let BOINC shut down as part of the system shutdown.

Ctrl-Esc/Enter/Enter does that in most windows versions....
ID: 102297 · Report as offensive
Profile RDC
Volunteer tester
Avatar

Send message
Joined: 17 May 99
Posts: 544
Credit: 1,215,728
RAC: 0
United States
Message 102307 - Posted: 21 Apr 2005, 23:56:04 UTC - in response to Message 102297.  

> I just shut down the computer and let BOINC shut down as part of the system
> shutdown.
>

I used to do that but would end up with corrupt files occaisionally. Win98 was far worse for it than XP but even with XP, it seems not to always shut BOINC down properly. I have 4 projects with all stored in memory and I was finding that I would get occaisional file errors during a shut down that corrupted the WU's. Since I started shutting BOINC down manually a while back, I haven't had any errors from a reboot/shut down.

Then my PC is a royal pain in the rear too with a hard drive that I believe is hard coded incorrectly from Western Digital as a faster drive than it really is. None of the other smaller capacity hard drives I've used on this PC have the start up routine that I have to manually go through of always having to find the hard drive in the BIOS on a cold boot like I have to do with this 40GB Western Digital drive. Once it's found in the BIOS, it'll boot up and run but I have noticed since I moved to the larger hard drive that it does take longer to write to the drive. I know, get a new HD ;)



To truly explore, one must keep an open mind...
ID: 102307 · Report as offensive
Astro
Volunteer tester
Avatar

Send message
Joined: 16 Apr 02
Posts: 8026
Credit: 600,015
RAC: 0
Message 102353 - Posted: 22 Apr 2005, 2:01:00 UTC
Last modified: 22 Apr 2005, 2:02:11 UTC

Don't feel alone, I just shut down Boinc using the task bar, and 5 min later Mfold was still running. (according to task manager)

Boinc 4.32 Win Xp

ID: 102353 · Report as offensive
Digitalis
Volunteer tester
Avatar

Send message
Joined: 24 Jul 99
Posts: 93
Credit: 85,678
RAC: 0
Ireland
Message 102384 - Posted: 22 Apr 2005, 2:37:11 UTC - in response to Message 102297.  
Last modified: 22 Apr 2005, 2:38:18 UTC

> Ctrl-Esc/Enter/Enter does that in most windows versions....
>
Help the environment and save key presses. Try WINKey/u/u. Or set "When I press the power button..." in the advanced tab of Power Option Properties to Shut Down, then one short press of the power button gives a clean shutdown. The second method is great for when you've messed up a driver installation for a graphic card.

ID: 102384 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 102392 - Posted: 22 Apr 2005, 2:44:32 UTC - in response to Message 102384.  
Last modified: 22 Apr 2005, 2:50:32 UTC

> > Ctrl-Esc/Enter/Enter does that in most windows versions....
> >
> Help the environment and save key presses. Try WINKey/u/u.

Which doesn't work at all on the LAST TRULY CIVILIZED keyboard for the PC -- and dammit IBM does not make them any more.

Fortunately, I have three genuine IBM 102 key keyboards put away. Thank God for eBay and "new old stock."

They don't have a Windows key.
ID: 102392 · Report as offensive
Digitalis
Volunteer tester
Avatar

Send message
Joined: 24 Jul 99
Posts: 93
Credit: 85,678
RAC: 0
Ireland
Message 102398 - Posted: 22 Apr 2005, 2:50:18 UTC - in response to Message 102392.  

> > > Ctrl-Esc/Enter/Enter does that in most windows versions....
> > >
> > Help the environment and save key presses. Try WINKey/u/u.
>
> Which doesn't work at all on the LAST TRULY CIVILIZED keyboard for the PC --
> and dammit IBM does not make them any more.
>
> Fortunately, I have three genuine IBM 102 key keyboards put away. Thank God
> for eBay and "new old stock."
>
Wires are soooo yesterday.

ID: 102398 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 102400 - Posted: 22 Apr 2005, 2:52:16 UTC - in response to Message 102398.  


> > Fortunately, I have three genuine IBM 102 key keyboards put away. Thank
> God
> > for eBay and "new old stock."
> >
> Wires are soooo yesterday.

Show me a wireless keyboard with the same feel as the IBM 102 key, and I'm there.

On a good keyboard, I can type 70wpm easily. On a crappy keyboard, I might do 20.
ID: 102400 · Report as offensive
Profile The Pirate
Volunteer tester
Avatar

Send message
Joined: 14 Apr 00
Posts: 191
Credit: 4,929,008
RAC: 0
United States
Message 102433 - Posted: 22 Apr 2005, 3:29:56 UTC

On both windows32 bit, windows64 bit and Linux if I think of it I kill Boinc first, however, if I don't think of it, I just shut down the OS. Sometimes with XP32bit SP2 I have to push reset to kill things.

ID: 102433 · Report as offensive
N/A
Volunteer tester

Send message
Joined: 18 May 01
Posts: 3718
Credit: 93,649
RAC: 0
Message 102454 - Posted: 22 Apr 2005, 4:21:58 UTC - in response to Message 102392.  
Last modified: 22 Apr 2005, 4:22:26 UTC

Which doesn't work at all on the LAST TRULY CIVILIZED keyboard for the PC -- and dammit IBM does not make them any more. Fortunately, I have three genuine IBM 102 key keyboards put away.

I envy your keyboards.
- Mr. 135 WPM
ID: 102454 · Report as offensive
Aurora Borealis
Volunteer tester
Avatar

Send message
Joined: 14 Jan 01
Posts: 3075
Credit: 5,631,463
RAC: 0
Canada
Message 102460 - Posted: 22 Apr 2005, 4:48:09 UTC

I use Win98SE and I have to close the Boinc Manager with File - Exit. I then have to wait for the icon to disappear from the task box. This can take a minute for each of the projects to close the processes that are in stand by mode waiting for their turn to work.
If I try to exit Windows without following this procedure, or if some program install or update tries to reboot, I get an error message asking me to close down Boinc first.



Boinc V7.2.42
Win7 i5 3.33G 4GB, GTX470
ID: 102460 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 102468 - Posted: 22 Apr 2005, 5:13:51 UTC - in response to Message 102454.  
Last modified: 22 Apr 2005, 5:37:40 UTC

> Which doesn't work at all on the LAST TRULY CIVILIZED keyboard for
> the PC -- and dammit IBM does not make them any more. Fortunately, I have
> three genuine IBM 102 key keyboards put away.

>
> I envy your keyboards.
> - Mr. 135 WPM

There are more than 50 of them on eBay right now. (some "new old stock")
ID: 102468 · Report as offensive
N/A
Volunteer tester

Send message
Joined: 18 May 01
Posts: 3718
Credit: 93,649
RAC: 0
Message 102481 - Posted: 22 Apr 2005, 5:43:49 UTC - in response to Message 102468.  

But not a decent Apple ][gs ADB keyboard. ;-/

Anyway, I'm unhijacking... back to topic everyone...
ID: 102481 · Report as offensive
Profile Paul D. Buck
Volunteer tester

Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 102664 - Posted: 22 Apr 2005, 16:22:14 UTC

I wonder if this could be related to the extraneous processes problem that I see on the Macintosh ... aside from the slower shutdown on the PCs I have not seen extra processes running there ...

What I mean is that I can close BOINC/BOINC Menubar and there will still be a Science Application running, even though as a child process it should die when the parent does. Or the other symptom (may be a second problem) where I will have 3-4 Science Applications running on the two processor machine (with appropriate resource splits; and is usually "fixed" by stopping and restarting the BOINC Daemon).

Hmmmm ...
ID: 102664 · Report as offensive
Profile Digger
Volunteer tester

Send message
Joined: 4 Dec 99
Posts: 614
Credit: 21,053
RAC: 0
United States
Message 102672 - Posted: 22 Apr 2005, 16:41:11 UTC
Last modified: 22 Apr 2005, 16:41:33 UTC

Just asking... is this a problem with Boinc Manager specifically? I ditched that beast a while ago and have not had shutdown problems of any kind since.

Dig
ID: 102672 · Report as offensive
1 · 2 · Next

Message boards : Number crunching : Proper BONIC project shutdown proc


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.