- Change "CVS" into "SVN" in the CVS version tracker (automatically generated comment in the pages showing page revision number)
svn path=/trunk/boinc/; revision=12666
1) client wakes up from hibernate
2) one or more network ops start (e.g. because backoff expired)
3) ops fail because DNS system isn't up yet
4) connect to reference site fails too
5) user sees "please create physical connection",
even though there's been a physical connection the whole time.
Solution:
- keep track of "last wakeup time": the last time the
time of day (measured in poll_slow_events()) increased by more than 10 times the polling interval.
This must be either coming out of hibernation,
or the user resetting the system clock.
- When a network operation fails, try to contact the reference site
only if it's more than 30 seconds after the last wakeup time.
client/
client_state.C,h
net_stats.C
svn path=/trunk/boinc/; revision=12665
- API: Eric Myers reported that my 4 May checkin
(which increased worker thread stack size to the limit
returned by getrlimit())
broke his app on several Linux platforms.
So I added a worker_thread_stack_size element to BOINC_OPTIONS.
If you want an increased stack size, set this.
- web RPC: add <url> and <local_revision> elements to
the XML returned by get_project_config.php
html/user/
sample_get_project_config.php
api/
graphics_impl.C
svn path=/trunk/boinc/; revision=12664
if the initial sched request failed,
the manager would show "communicating" for 60 sec,
then time out and show "failed to attach".
But the project would actually be attached.
This was due to a logic error,
but I fixed it in a more fundamental way:
by considering an attach to be complete immediately,
without waiting for a successful scheduler RPC.
This was originally done to ensure that the URL and account key were valid.
But when using the BOINC Manager, we've already verified
both of these before doing the attach project RPC.
When using boinc_cmd, you now have to check for messages
indicating a bad URL or account key.
I changed things to print these messages on every sched RPC.
Implementation: the notion of "tentative project" no longer exists.
client/
client_state.C,h
client_types.C,h
cs_account.C
cs_benchmarks.C
cs_scheduler.C
gui_rpc_server_ops.C
scheduler_op.C
sim.C
sim_util.C
svn path=/trunk/boinc/; revision=12663
before linking.
- core client: when parse app_info.xml,
set platform to primary platform.
Otherwise anonymous platform mechanism doesn't work.
- GUI RPC: in attach project RPC, check for
already attached even in config file case
client/
cs_statefile.C
gui_rpc_server_ops.C
scheduler_op.C
time_stats.C
svn path=/trunk/boinc/; revision=12662
Limits total # of in-progress results per host
(independently of #CPUs)
sched/
sched_config.C,h
sched_resend.C
sched_send.C
server_types.h
svn path=/trunk/boinc/; revision=12661
- removed "add" (long deprecated)
- version.py is needed only in test/;
remove references to it in boinc_path_config.py,
and don't copy it to project/bin
py/Boinc/
boinc_path_config.py.in
setup_project.py
tools/
add (removed)
svn path=/trunk/boinc/; revision=12658
we need to use " to expand $PROJECT var
- scheduler:
take work_buf_min into account in deciding whether
a result will be reported by its deadline.
- all back end programs:
better error message if can't parse config file
html/inc/
translation.inc
sched/
*.C
svn path=/trunk/boinc/; revision=12652
If set, the scheduler will use EDF simulation,
together with the in-progress workload reported by the client,
to avoid sending results that
1) will miss their deadline, or
2) will cause an in-progress result to miss its deadline, or
3) will make an in-progress result miss its deadline
by more than is already predicted.
If this option is not set, or if the client request doesn't
include a workload description (i.e. the client is old)
use the existing approach, which assumes there's no workload.
NOTE: this is experimental. Production projects should not use it.
- EDF sim: write debug stuff to stderr instead of stdout
- Account manager:
- if an account is detach_when_done, set dont_request_more_work
- check done_request_more_work even for first-time projects
- update_uotd: generate a file for use by Google gadget
- user_links(): use full URLs (so can use in Google gadget)
client/
acct_mgr.C
work_fetch.C
html/
inc/
uotd.inc
util.inc
user/
uotd_gadget.php (new)
sched/
Makefile.am
edf_sim.C
sched_config.C,h
sched_resend.C
sched_send.C,h
server_types.C,h
svn path=/trunk/boinc/; revision=12639
If a task has already been aborted, don't enable the abort task
button.
clientgui/
ViewWork.cpp
ViewWorkGrid.cpp
svn path=/trunk/boinc/; revision=12637
tells how much disk space BOINC is using
(not including projects).
- added project.max_infeasible_count to client simulator
client/
gui_rpc_server_ops.C
sim.C,h
sim_util.C
clientgui/
ViewResources.cpp
lib/
filesys.C
bui_rpc_client.h
bui_rpc_client_ops.C
svn path=/trunk/boinc/; revision=12615