When deleting a spammer, delete
- forum_logging
- private messages
- notifications
Also, when displaying private messages, check if sender
doesn't exist, and delete if so
Apparently on some Win 7/8 with SSD drives, CreateProcess() sometimes returns
ERROR_NOT_ENOUGH_MEMORY; presumably it then allocates more swap space.
Treat this case using the "temporary exit" logic:
delay for 10 min, then try again.
If 100 failures, abort task.
Note: not tested. This may be a bad idea.
This commit adds two extra options:
- enable_cache_disk
- cache_disk_filename
This allows to attach a cache disk image to extend the storage
needs initially provided by the OS image.
In context-based systems such as uCernVM, this image can be
used to store the local cache of artifacs coming from CVMFS.
Note this image is attached without further checking on the content
and is entirely up to the main OS to make good use of it.
Signed-off-by: Carlos Aguado Sanchez <carlos.aguado@epfl.ch>
This commit allows to attach an ISO9660 image to a vbox VM
from a well-known file. The purpose is to enable the dynamic
configuration of the VM in first boot so that the volunteer VM
can be kept generic. This process is otherwise widely known as
contextualization of virtual machines.
The actual content of the ISO9660 image is application dependent
and outside the scope of this implementation.
Signed-off-by: Carlos Aguado Sanchez <carlos.aguado@epfl.ch>
Add logic in wrapper to maintain and checkpoint total runtime.
Also vboxwrapper: slight refactor.
Note: we often use "elapsed time" where we mean "runtime".
Should use the latter.
Sending or receiving trickle messages required setting flags in BOINC_OPTIONS.
There were two problems with this:
1) it wasn't documented
2) it's not necessary; the act of calling boinc_send_trickle_up()
tells the runtime system to do the trickle-up-related stuff.
Furthermore, because intermediate file upload shares message channels
with trickles, these functions also required the option flags
(also undocumented).
With this change, you don't need to set options to use
trickle messages are intermediate file upload.
Two separate problems:
- a well-meaning change to remove compile warnings on 9 July 2013
broke the reading of key files
- in the logic to scan old key files, we needed to use strip_whitespace()
to remove the \n at end of file.
If a project has both NCI and non-NCI apps,
it needs to send NCI jobs even if the work request is zero;
otherwise a client might not get NCI jobs.
However, this policy will send NCI jobs even if the user
has set "no new tasks" for the project.
To handle this correctly, we recently added a <dont_send_work>
element to the scheduler request.
Add logic to the scheduler to parse and enforce this flag.
When it's finished, the VM app can write a file of a given name
(specified in vbox_job.xml) in the shared dir.
This file can optionally contain an exit code and stderr text.
If vboxwrapper finds this file, it cleans up the VM and calls boinc_finish().
This works around a problem where the VM doesn't exit properly
and the task hangs forever.