BOINC client is restarting automatically

Message boards : BOINC client : BOINC client is restarting automatically
Message board moderation

To post messages, you must log in.

AuthorMessage
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 33826 - Posted: 19 Jul 2010, 12:12:21 UTC

I do this: boinccmd.exe --quit.

Most of the time it shuts down the client. But once in a while it shuts down (gone from the process list) but restarts itself (back in the process list).

Is there some other BOINC program that could restart the client automatically?

Is there another way to shut down the client?
TThrottle The way to control your CPU and GPU temperature.
BoincTasks The best view of BOINC.
My other activities
ID: 33826 · Report as offensive
BilBg
Avatar

Send message
Joined: 18 Jun 10
Posts: 73
Bulgaria
Message 33847 - Posted: 20 Jul 2010, 9:03:32 UTC - in response to Message 33826.  


I tried boinccmd.exe --quit
on 6.6.38 in Win98 (normal install = not service)

boincmgr.exe does this -

If boinc.exe is child process of boincmgr.exe and boinc.exe "disappears"
boincmgr.exe restarts boinc.exe after 30 sec.
(using Process Explorer 11.11 to monitor)


But if you exit boincmgr.exe with option to leave boinc.exe running
(= uncheck "Stop running science app")
and then start boincmgr.exe again it connects to the running boinc.exe
but does not try to restart boinc.exe if boinc.exe exits by boinccmd.exe --quit





- ALF - "Find out what you don't do well ..... then don't do it!" :)
ID: 33847 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 33850 - Posted: 20 Jul 2010, 10:01:08 UTC - in response to Message 33847.  


I tried boinccmd.exe --quit
on 6.6.38 in Win98 (normal install = not service)

boincmgr.exe does this -

If boinc.exe is child process of boincmgr.exe and boinc.exe "disappears"
boincmgr.exe restarts boinc.exe after 30 sec.
(using Process Explorer 11.11 to monitor)


But if you exit boincmgr.exe with option to leave boinc.exe running
(= uncheck "Stop running science app")
and then start boincmgr.exe again it connects to the running boinc.exe
but does not try to restart boinc.exe if boinc.exe exits by boinccmd.exe --quit


This is what I use boinccmd.exe --quit
And still boinc.exe sometimes starts running again. But so far I only saw this happen on Win 7 X64.

It looks like the boinc.exe doesn't shut down properly and restarts itself.
TThrottle The way to control your CPU and GPU temperature.
BoincTasks The best view of BOINC.
My other activities
ID: 33850 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 33852 - Posted: 20 Jul 2010, 10:57:45 UTC - in response to Message 33850.  

It looks like the boinc.exe doesn't shut down properly and restarts itself.

Is BOINC manager running when it restarts?

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)
ID: 33852 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 33853 - Posted: 20 Jul 2010, 11:56:24 UTC - in response to Message 33852.  

It looks like the boinc.exe doesn't shut down properly and restarts itself.

Is BOINC manager running when it restarts?

Gruß,
Gundolf

One time yes another time no, I already closed it just in case.

TThrottle The way to control your CPU and GPU temperature.
BoincTasks The best view of BOINC.
My other activities
ID: 33853 · Report as offensive
BilBg
Avatar

Send message
Joined: 18 Jun 10
Posts: 73
Bulgaria
Message 33854 - Posted: 20 Jul 2010, 14:12:43 UTC - in response to Message 33850.  


When I do boinccmd.exe --quit
only boinc.exe (+ its child science app) exits
but boincmgr.exe remains running.


When boincmgr.exe starts and no boinc.exe is in memory it is started
and boinc.exe becomes child process of boincmgr.exe

In this case if boinc.exe "disappears" (after boinccmd.exe --quit)
boincmgr.exe restarts boinc.exe after 30 sec.


In your case if you are sure that boincmgr.exe is not running
and you see boinc.exe to auto-restart after ?? sec
maybe your own program BoincTasks restarts boinc.exe ?





- ALF - "Find out what you don't do well ..... then don't do it!" :)
ID: 33854 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 33855 - Posted: 20 Jul 2010, 14:37:58 UTC - in response to Message 33854.  


When I do boinccmd.exe --quit
only boinc.exe (+ its child science app) exits
but boincmgr.exe remains running.


When boincmgr.exe starts and no boinc.exe is in memory it is started
and boinc.exe becomes child process of boincmgr.exe

In this case if boinc.exe "disappears" (after boinccmd.exe --quit)
boincmgr.exe restarts boinc.exe after 30 sec.


In your case if you are sure that boincmgr.exe is not running
and you see boinc.exe to auto-restart after ?? sec
maybe your own program BoincTasks restarts boinc.exe ?


As far as I can see BOINC Manager doesn't restart the client when you use.
boinccmd.exe --quit)
And BoincTasks certainly doesn't do such unexpected things.
But this is a once in a while thing, it goes ok 100 times and sometimes this happens after the second time.

TThrottle The way to control your CPU and GPU temperature.
BoincTasks The best view of BOINC.
My other activities
ID: 33855 · Report as offensive
BilBg
Avatar

Send message
Joined: 18 Jun 10
Posts: 73
Bulgaria
Message 33859 - Posted: 20 Jul 2010, 17:58:36 UTC - in response to Message 33855.  
Last modified: 20 Jul 2010, 18:41:45 UTC



Look the video I recorded
BOINC_Restarts_Vista32.avi (5 MB)

(BOINC 6.10.56 in Vista 32 bit)
(So it happens often if I can reproduce it on two BOINC versions in two Windows versions)

The restart time is about 50-60 sec after boinccmd.exe --quit

http://www.datafilehost.com/download-600fa20f.html





- ALF - "Find out what you don't do well ..... then don't do it!" :)
ID: 33859 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 33860 - Posted: 20 Jul 2010, 19:23:29 UTC - in response to Message 33859.  



Look the video I recorded
BOINC_Restarts_Vista32.avi (5 MB)

(BOINC 6.10.56 in Vista 32 bit)
(So it happens often if I can reproduce it on two BOINC versions in two Windows versions)

The restart time is about 50-60 sec after boinccmd.exe --quit

http://www.datafilehost.com/download-600fa20f.html


Strange on my Vista 32 (BOINC 6.10.58) BOINC Manager stays unconnected and the BOINC client doesn't restart. At least not within 5 minutes.

Your video is not sharp enough to see everything...
But who restarts boinc.exe?
TThrottle The way to control your CPU and GPU temperature.
BoincTasks The best view of BOINC.
My other activities
ID: 33860 · Report as offensive
BilBg
Avatar

Send message
Joined: 18 Jun 10
Posts: 73
Bulgaria
Message 33872 - Posted: 21 Jul 2010, 8:41:57 UTC - in response to Message 33860.  
Last modified: 21 Jul 2010, 9:38:48 UTC



Look the video I recorded
BOINC_Restarts_Vista32.avi (5 MB)

(BOINC 6.10.56 in Vista 32 bit)
(So it happens often if I can reproduce it on two BOINC versions in two Windows versions)

The restart time is about 50-60 sec after boinccmd.exe --quit

http://www.datafilehost.com/download-600fa20f.html


Strange on my Vista 32 (BOINC 6.10.58) BOINC Manager stays unconnected and the BOINC client doesn't restart. At least not within 5 minutes.

Your video is not sharp enough to see everything...
But who restarts boinc.exe?


It is sharp enough (everything readable) if I/you look it at 1600x1200 full screen on 21" CRT monitor
(recorded at 1600x1200x32 5 FPS)
(When I play the video full screen it fools the people behind my back that I "work now".
It even fools me so I try to click something (which just pauses the video) :)
)

"Who restarts boinc.exe?":
Obviously BOINC Manager restarts boinc.exe -
it is visible in Process Explorer's window that the new started boinc.exe
is child process of boincmgr.exe
(and science app is child process of boinc.exe)
(Do you use Process Explorer? Do you need download link?)

To replicate the restart:
Exit BOINC completely (boincmgr.exe & boinc.exe disappear from the list of processes)
Start BOINC Manager (wait a few seconds so everything is running)
Do boinccmd.exe --quit (boinc.exe (and science app) disappear but boincmgr.exe remains in memory)
Wait 1-2 minutes and see how boinc.exe restarts (becomes child process of BOINC Manager)

(Do these 4 steps at least 3 times to be sure it works or not on your computer)

(Before this experiment it will be good to exit all programs which deal with BOINC "things", e.g.:
ReSchedule 1.9
BoincView
BoincLogX
And your programs (BoincTasks, etc.) (even if you are the best to know what they do)
)





- ALF - "Find out what you don't do well ..... then don't do it!" :)
ID: 33872 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 33874 - Posted: 21 Jul 2010, 10:01:23 UTC - in response to Message 33872.  

Ok I've looked at the code of the BoincManager and there is indeed a reconnect/autostart feature.
But that doesn't work when you don't have enough privileges. Like in Win 7 or as user in Vista.
This explains why it does a restart on some, but not on others.

That means I have to kill stop the BoincManager somehow.

Thanks for the help.

Fred
TThrottle The way to control your CPU and GPU temperature.
BoincTasks The best view of BOINC.
My other activities
ID: 33874 · Report as offensive
BilBg
Avatar

Send message
Joined: 18 Jun 10
Posts: 73
Bulgaria
Message 33878 - Posted: 21 Jul 2010, 11:06:17 UTC - in response to Message 33874.  
Last modified: 21 Jul 2010, 11:07:47 UTC

Ok I've looked at the code of the BoincManager and there is indeed a reconnect/autostart feature.
But that doesn't work when you don't have enough privileges. Like in Win 7 or as user in Vista.
This explains why it does a restart on some, but not on others.

That means I have to kill stop the BoincManager somehow.

Thanks for the help.

Fred


"I have to kill stop the BoincManager somehow":
that will be good but it leaves a small possibility
that the user (or program as Process Lasso) starts again BOINC Manager
during the processing of client_state.xml done by BoincRescheduler

Can you somehow Lock the boinc.exe file
so no program can Open/Execute it?





- ALF - "Find out what you don't do well ..... then don't do it!" :)
ID: 33878 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 33881 - Posted: 21 Jul 2010, 12:43:08 UTC - in response to Message 33878.  

Ok I've looked at the code of the BoincManager and there is indeed a reconnect/autostart feature.
But that doesn't work when you don't have enough privileges. Like in Win 7 or as user in Vista.
This explains why it does a restart on some, but not on others.

That means I have to kill stop the BoincManager somehow.

Thanks for the help.

Fred


"I have to kill stop the BoincManager somehow":
that will be good but it leaves a small possibility
that the user (or program as Process Lasso) starts again BOINC Manager
during the processing of client_state.xml done by BoincRescheduler

Can you somehow Lock the boinc.exe file
so no program can Open/Execute it?


Just after shutdown, when I'm sure the client has shut down, I will set the client Mutex. This will prevent the client from starting again, as it thinks it's already running.
Just before restarting I remove the Mutex.
This should cover all the bases.
TThrottle The way to control your CPU and GPU temperature.
BoincTasks The best view of BOINC.
My other activities
ID: 33881 · Report as offensive

Message boards : BOINC client : BOINC client is restarting automatically

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.