Long-running tasks with 0% CPU usage

Questions and Answers : Windows : Long-running tasks with 0% CPU usage
Message board moderation

To post messages, you must log in.

AuthorMessage
Serg

Send message
Joined: 12 Jan 20
Posts: 12
Credit: 220,914
RAC: 0
Message 420 - Posted: 13 Jan 2020, 7:54:01 UTC
Last modified: 13 Jan 2020, 8:04:16 UTC

2 at the moment:
1
2
ID: 420 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
damotbe
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Help desk expert

Send message
Joined: 23 Jul 19
Posts: 289
Credit: 464,119,561
RAC: 0
Message 421 - Posted: 13 Jan 2020, 9:10:46 UTC - in response to Message 420.  

CPU usage is low, you can cancel. There is a problem with vbox guest additions that prevents access to work unit data and code.
ID: 421 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
marsinph

Send message
Joined: 13 Nov 19
Posts: 21
Credit: 2,596,565
RAC: 0
Message 437 - Posted: 14 Jan 2020, 18:44:37 UTC - in response to Message 421.  

CPU usage is low, you can cancel. There is a problem with vbox guest additions that prevents access to work unit data and code.



Hello,
nice advise to abort !
I have one WU running 4 days, two WU running 3 days, one running 2 days.
No any in error.
https://quchempedia.univ-angers.fr/athome/result.php?resultid=854441
https://quchempedia.univ-angers.fr/athome/result.php?resultid=853808
and so on.....
Here the four days WU : https://quchempedia.univ-angers.fr/athome/result.php?resultid=813148

I delete this project. There are much more stable as this one.

A lot of complaints and no change, exept to say the new WU will take some days.

To Admin : do you really think we will wait, days and days before to be obliged to cancel ???
ID: 437 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Serg

Send message
Joined: 12 Jan 20
Posts: 12
Credit: 220,914
RAC: 0
Message 575 - Posted: 16 Feb 2020, 15:32:37 UTC

Too many such tasks. Stopping this project.
If you wish more donors, make it stable for Windows.
ID: 575 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
damotbe
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Help desk expert

Send message
Joined: 23 Jul 19
Posts: 289
Credit: 464,119,561
RAC: 0
Message 588 - Posted: 17 Feb 2020, 11:58:50 UTC - in response to Message 575.  

Too many such tasks. Stopping this project.
If you wish more donors, make it stable for Windows.


We've tested a lot of official wrappers and it's not working. We're working on a workaround.
ID: 588 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Serg

Send message
Joined: 12 Jan 20
Posts: 12
Credit: 220,914
RAC: 0
Message 600 - Posted: 22 Feb 2020, 16:12:01 UTC - in response to Message 588.  
Last modified: 22 Feb 2020, 16:18:20 UTC

What's the problem with compiling a native application? Porting the program to Windows?
I am a Windows software developer, can try to help.
ID: 600 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Serg

Send message
Joined: 12 Jan 20
Posts: 12
Credit: 220,914
RAC: 0
Message 601 - Posted: 22 Feb 2020, 17:29:09 UTC

May it be a solution for the virtualbox app?
The Vbox job description file
...
completion_trigger_file
This provides a more bulletproof way for VM apps to exit; sometimes VMs fail to shut down, and the task hangs indefinitely. When the VM app is done, it writes a file of this name in the shared directory; the file can optionally contain an integer exit code (first line) a bool value for whether it should bubble up to the volunteer (second line) and stderr text (subsequent lines). If vboxwrapper finds this file, it cleans up the VM and exits with the given code (default 0).

https://boinc.berkeley.edu/trac/wiki/VboxApps
ID: 601 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
PHILIPPE

Send message
Joined: 4 Jan 20
Posts: 60
Credit: 516,736
RAC: 0
Message 621 - Posted: 25 Feb 2020, 21:37:14 UTC - in response to Message 437.  

I notice that in the marsinph 's wrong work units that the slots used during the work unit changed.

https://quchempedia.univ-angers.fr/athome/result.php?resultid=813148
It began with slot 3 , then used slot 6 and finally unregistered slot 3.

https://quchempedia.univ-angers.fr/athome/result.php?resultid=853808
It maybe began with slot 3 , then used slot 6 and finally unregistered slot 9.

It looks as if the slot number is lost during the processing , so the savings operations are not made in the good slot.This is maybe the reason why during the computation appeared access denied.

The normal way is described as :
How it works

Using the example startup script, the steps in running a vboxwrapper app are:

    BOINC client
        Create slot directory, say slot/0
        Create slot/0/shared, and copy input files there
        Execute vboxwrapper in the slot directory 
    vboxwrapper
        Create and run virtual machine 
    Virtual machine
        Startup script
            mounts shared directory
            cd into shared directory
            execute boinc_app
            when boinc_app exits, shut down virtual machine 
    vboxwrapper
        delete virtual machine
        call boinc_finish() 
    BOINC client
        copy output files from slot/0/shared to project directory 
ID: 621 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Windows : Long-running tasks with 0% CPU usage

©2024 Benoit DA MOTA - LERIA, University of Angers, France