Message boards : BOINC client : BOINC client is restarting automatically
Message board moderation
Author | Message |
---|---|
Send message Joined: 8 Aug 08 Posts: 570 |
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 |
Send message Joined: 18 Jun 10 Posts: 73 |
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!" :) |
Send message Joined: 8 Aug 08 Posts: 570 |
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 |
Send message Joined: 20 Dec 07 Posts: 1069 |
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) |
Send message Joined: 8 Aug 08 Posts: 570 |
It looks like the boinc.exe doesn't shut down properly and restarts itself. 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 |
Send message Joined: 18 Jun 10 Posts: 73 |
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!" :) |
Send message Joined: 8 Aug 08 Posts: 570 |
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 |
Send message Joined: 18 Jun 10 Posts: 73 |
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!" :) |
Send message Joined: 8 Aug 08 Posts: 570 |
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 |
Send message Joined: 18 Jun 10 Posts: 73 |
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!" :) |
Send message Joined: 8 Aug 08 Posts: 570 |
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 |
Send message Joined: 18 Jun 10 Posts: 73 |
Ok I've looked at the code of the BoincManager and there is indeed a reconnect/autostart feature. "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!" :) |
Send message Joined: 8 Aug 08 Posts: 570 |
Ok I've looked at the code of the BoincManager and there is indeed a reconnect/autostart feature. 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 |
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.