Commit Graph

1526 Commits

Author SHA1 Message Date
David Anderson c0c6cf779d - file upload handler:
in get_file_size() RPC, check if volume has < 1MB available space
    and if so return transient error.
    This prevents client from trying upload,
    which apparently sends entire file even if
    handler fails at the beginning
- API, Win: remove use of GetTickCount(); use dtime() instead
- use new BOINC logo in sample project home page

svn path=/trunk/boinc/; revision=13574
2007-09-12 08:25:22 +00:00
David Anderson 0505c15ec8 - boinc_cmd: improve output of --help
- scheduler: remove giant log output when use <workload_sim>
- db_purge: fix crash if nothing logged

svn path=/trunk/boinc/; revision=13556
2007-09-08 21:34:20 +00:00
David Anderson c99833a7c9 - scheduler: don't show resource share in msgs in cases where
it's not used.
- db_purge: add "no_archive" option

svn path=/trunk/boinc/; revision=13430
2007-08-21 20:07:50 +00:00
David Anderson 4e1f0b7019 - client: add a <data_dir> option in cc_config.xml;
tells the client to use this as the data directory
- scheduler: improve the message telling the client that
    more disk or memory is needed;
    tell them the minimum amount needed to
    send any of the jobs rejected,
    rather than the amount needed for the first job rejected
- manager: fix text in "connect now" dialog

svn path=/trunk/boinc/; revision=13387
2007-08-16 17:33:41 +00:00
David Anderson 71fc375d1b - feeder: created shared mem seg with 0666 rather than 0660.
In principle 0660 should work (assuming apache belongs to admin group)
    but apparently on some Linux systems it doesn't,
    and the feeder gets "can't attach to shared mem" errors.
- scheduler: print uid/gid info if can't attach to shared mem
- user web: fix bug in team founder transfer form

svn path=/trunk/boinc/; revision=13255
2007-08-01 15:35:08 +00:00
David Anderson c38c8fc4df - sample app: adapt the one from boinc_samples
svn path=/trunk/boinc/; revision=13199
2007-07-20 18:47:52 +00:00
David Anderson 30ec49bba6 svn path=/trunk/boinc/; revision=13173 2007-07-17 21:12:59 +00:00
David Anderson 2d74b133a1 - scheduler: move startup checks (stop_sched, shmem) inside FCGI loop.
Hopefully this will make it feasible to run scheduler
    even when project is down.
- lib: fix cygwin build error

svn path=/trunk/boinc/; revision=13172
2007-07-17 20:34:37 +00:00
David Anderson 4f61f60851 - scheduler: FCGI version would crash if stop_sched is set
svn path=/trunk/boinc/; revision=13132
2007-07-10 18:44:58 +00:00
David Anderson d07916ca51 - client: change order so that backoff because of no work
happens before server-requested backoff (eliminate double messages)

svn path=/trunk/boinc/; revision=13114
2007-07-06 21:58:32 +00:00
David Anderson 80c7b4aae1 - added sample host-distribution file for HR
svn path=/trunk/boinc/; revision=13113
2007-07-06 18:19:10 +00:00
David Anderson 797c464b3a - Back end: add a feature for "blackballing" hosts.
To do this, set host.max_results_day to -1.
    If you do this, scheduler requests from that host
    will get an error message, and will otherwise be ignored
    (no jobs in or out, no trickles).
- Scheduler: send_message() should be called ONLY if you're
    not going to call handle_request();
    otherwise we'll write two separate replies.
    To fix this, I added a separate function (send_error_message())
    that can be called within handle_request()
    to deal with error situations.
- Scheduler: moved debug_sched() to main.C
- Scheduler: moved logic to send "delete file" commands
    out of handle_request() into a separate function,
    send_file_deletes() in sched_locality.C.
    Remove #ifdef EINSTEIN_AT_HOMEs; maybe someday another project
    will use locality scheduling!

svn path=/trunk/boinc/; revision=13108
2007-07-06 16:37:00 +00:00
David Anderson 26a1c63b20 - feeder: add debugging feature:
if you send it a USR1 signal, it writes a summary
    of the shmem contents and HR state to the log file

svn path=/trunk/boinc/; revision=13107
2007-07-05 23:06:18 +00:00
David Anderson 0bbe224c21 - scheduler: the "max_wus_in_progress" option only worked if
"resend_lost_results" option was used also
    (because the count of in-progress results was
    based from the DB query used by resend_lost_results).

    Fix: initialize the count of in-progress results to
    the list provided in the scheduler request.
- scheduler: add "--mark_jobs_done" flag; if set, all jobs
    sent are marked as done, and their WUs enabled for transition.
    This is used for simulation purposes,
    in conjunction with sched_driver.
- scheduler: if --batch option is set, don't check RPC seqnos
    (for simulation purposes)

svn path=/trunk/boinc/; revision=13101
2007-07-05 04:18:48 +00:00
David Anderson ef80e8576f - Added program sched/sched_driver.C.
This generates a sequence of scheduler requests,
    with host info taken from a file,
    that you can feed into the scheduler (cgi --batch)
    to simulate things like homogeneous redundancy
- Added args to XML_PARSER::skip_unexpected() to you can say
    whether to write messages to stderr for unparsed stuff.
    This is set to true if log_flags.unparsed_xml is set (client)
    or if debug_level is 3 (server)
- removed references to $(LIBRSA) in Makefile.am's

client/
    Makefile.am
    acct_mgr.C
    gui_rpc_server_ops.C
    log_flags.C
lib/
    Makefile.am
    app_ipc.C
    gui_rpc_client_ops.C
    parse.C,h
    prefs.C
sched/
    Makefile.am
    sched_config.C
    sched_driver.C

svn path=/trunk/boinc/; revision=13090
2007-07-03 21:55:50 +00:00
Bruce Allen a5854e5485 fix typo in comment and docs
svn path=/trunk/boinc/; revision=13089
2007-07-03 21:35:59 +00:00
Bruce Allen 204a88ceda An E@H specific hack
If deleting a file with name matching pattern h1_XXXX.XX_S5R2
generate corresponding l1_h1_XXXX.XX_S5R2 pattern and delete it also

This is needed because E@H is doing file locality scheduling with
PAIRS h1_... and l1_... of files. Yuk.


svn path=/trunk/boinc/; revision=13087
2007-07-03 20:45:13 +00:00
David Anderson 823df51238 - client: allow up to a day (rather than work_buf_min()) to elapsed
between completing a result and reporting it.
- back end: added <httpd_user> config option:
    Web server user name (used by file deleter)
- back end: don't report unparsed XML in config.xml as an error

client/
    app.h
    work_fetch.C
lib/
    shmem.C
sched/
    file_deleter.C
    file_upload_handler.C
    sched_config.C,h
    show_shmem.C

svn path=/trunk/boinc/; revision=13039
2007-06-27 20:09:18 +00:00
David Anderson 7ea662932c - add new stats site
- back end: use boinc_mkdir to get permissions right

html/inc/
    stats_sites.inc
lib/
    filesys.C
sched/
    db_dump.C
    db_purge.C
    feeder.C

svn path=/trunk/boinc/; revision=13033
2007-06-26 21:14:58 +00:00
David Anderson fdbe1dbd2d - added hr_info.*
svn path=/trunk/boinc/; revision=13023
2007-06-25 23:56:03 +00:00
David Anderson a97556bdfd - feeder: added a new enumerator of DB_WORK_ITEM that,
on successive calls, scans through ALL the sendable
    jobs satisfying the select clause
    (it does this by ID order, so there's no order clause)
    This is used for HR, so that if a job has been committed
    to an HR class, we eventually get it.

    With extremely minimal testing, the new HR stuff seems to work.

db/
    boinc_db.C,h
sched/
    feeder.C
    sample_work_generator.C
    server_types.C

svn path=/trunk/boinc/; revision=12988
2007-06-22 23:48:37 +00:00
David Anderson c912a6506b - user web: fixed bug in private-message code
- back end: moved HR_INFO to a separate file;
    did some debugging in HR code

html/
    inc/
        forum_user.inc
        util.inc
    user/
        forum_pm.php
sched/
    Makefile.am
    census.C
    feeder.C
    hr.C,h
    hr_info.C,h (new)

svn path=/trunk/boinc/; revision=12978
2007-06-22 03:46:42 +00:00
David Anderson f5d94818dd - added "census", a program that counts up how much RAC
there is for each HR class, and writes it to a file.
    This will be used soon for HR support in the feeder.
- split the HR code into hr.C,h (stuff used by both census and scheduler)
    and sched_hr.C (stuff used only by the scheduler)
- database: change DB_CREDITED_JOB to treat workunitid
    as a double (which it is) rather than a long.
    BTW, long == int.
- fixed lots of compile warnings in the server code

db/
    boinc_db.C,h
lib/
    boinc_cmd.C
    miofile.C
    util.C
sched/
    Makefile.am
    census.C (new)
    feeder.C
    file_deleter.C
    file_upload_handler.C
    handle_request.C
    hr.C,h (new)
    main.C
    sample_assimilator.C
    sample_work_generator.C
    sched_array.C
    sched_hr.C,h
    sched_send.C
    server_types.C
    transitioner.C
    validator.C

svn path=/trunk/boinc/; revision=12970
2007-06-20 22:34:06 +00:00
David Anderson 6ad51e0452 - feeder: more code cleanup
sched/
    feeder.C


svn path=/trunk/boinc/; revision=12969
2007-06-20 20:23:07 +00:00
David Anderson 45f04aa04b - back end: make it possible to run multiple instances of make_work,
for WUs of different applications
    (need to count unsent results separately by app)
- feeder: major code cleanup
    - application interleaving (for -allapps) is now done
        by building a static slot-to-app array "app_indices".
        Fractional weights now work correctly.
    - enum sizes (for -allapps) are now precomputed
        in an array "enum_sizes"
    - rename "found" (confusing!!) to "collision"
    - swapped the names of mod_select_clause and select_clause,
        to reflect what they actually are
- file deleter: in finding oldest WU, order by id instead of create_time
    (there's no index on create_time)
- user web: show "merge by name" only to host owner
- add cpu_scheduler_period() member to GLOBAL_PREFS
    (so you don't have to multiply by 60 everywhere)
- infinite() fix for HPUX

client/
    cpu_sched.C
    cs_cmdline.C
    cs_scheduler.C
    rrsim_test.C
    sim.C
    work_fetch.C
html/user/
    hosts_user.php
lib/
    parse.h
    prefs.h
sched/
    feeder.C
    file_deleter.C
    make_work.C
    sample_work_generator.C
    sched_util.C,h
tools/
    updater.C

svn path=/trunk/boinc/; revision=12968
2007-06-20 16:27:27 +00:00
David Anderson 9850a17167 - GUI RPC: add graphics_exec_path and slot_path fields to RESULT.
These let the Manager run the graphics app.
    Graphics apps have physical name *v6graphics*
- Separated ACTIVE_TASK::write() and ACTIVE_TASK::write_gui().
    These need to write largely disjoint set of items.
- code cleanup: remove a zillion "else"s in parsing code
- code cleanup: change a zillion match_tag(buf, "<foo/>"
    to parse_bool(buf, "foo")

client/
    app.C,h
    client_state.C
    client_types.C,h
lib/
    gui_rpc_client.h
    gui_rpc_client_ops.C
sched/
    server_types.C

svn path=/trunk/boinc/; revision=12938
2007-06-14 23:08:43 +00:00
David Anderson fcab43c4da - scheduler: support per-app HR type, specified in the DB;
this supercedes the global HR type specified in config.xml
- API: eliminate small memory leak
    (if reread app init file, free malloc'd project prefs from last time)
- file upload handler: parse <md5_cksum> to avoid error msg

lib/
    app_ipc.C
sched/
    file_upload_handler.C
    sched_array.C
    sched_hr.C,h
    sched_send.C,h

svn path=/trunk/boinc/; revision=12936
2007-06-14 18:02:00 +00:00
David Anderson 981eef6b14 - Scheduler: changed the <homogeneous_redundancy> option
from a bool to an int:
    0 = no HR
    1 = HR with fine-grained classification (from MF Somers)
    2 = HR with coarse-grained classification (from WCG)

    Note: numerical equivalence depends on your application
    and how it's compiled.  Some apps may need classifications
    other than these two.  Contact me if so.

sched/
    sched_hr.C
    sched_config.C,h

svn path=/trunk/boinc/; revision=12934
2007-06-14 15:05:20 +00:00
David Anderson 05226427dd - API: set timer thread stack size to 16KB
- Scheduler: for no_amd_k6 option, check CPU vendor as well as model

sched/
    handle_request.C
api/
    boinc_api.C

svn path=/trunk/boinc/; revision=12929
2007-06-13 19:09:46 +00:00
David Anderson df5909d473 - scheduler: add no_darwin_6 option
(don't send work to Mac OS X 10.2 or earlier).
    This used to be #ifdef in by Einstein@home.
- scheduler: add no_amd_k6 option
    (don't send work to AMD K6 CPUs)

sched/
    handle_request.C
    sched_config.C,h

svn path=/trunk/boinc/; revision=12912
2007-06-12 21:40:32 +00:00
David Anderson 2f2757d4e9 - sched compile fix
sched/
    server_types.C

svn path=/trunk/boinc/; revision=12862
2007-06-08 23:01:25 +00:00
David Anderson 610d4cfa77 - client: allow suspension of non-CPU-intensive project or app
(undoes checkin of 25 Jan 2005; I don't remember why we
    made that change.  Next time put in checkin notes!)
- client: Linux: show error msg if can't open /proc/cpuinfo
    or /proc/meminfo; set memory size of 1 GB in latter case.
    Remove duplicate code that read /proc/meminfo
- 'start' script; handle <disabled>0</disable> in tasks and daemon
    elements of config.xml (can't handle <disable/>, however).
    
client/
    gui_rpc_server_ops.C
    hostinfo_unix.C
sched/
    feeder.C
    start

svn path=/trunk/boinc/; revision=12807
2007-06-03 19:37:45 +00:00
David Anderson 2fa5db2775 - scheduler: move HR check to wu_is_infeasible()
In principle, a project can now use both
    locality scheduling and homogeneous redundancy.
- scheduler: do HR check before deadline check,
    since the latter is slower.
- scheduler: wu_is_infeasible() doesn't return a bitmap.
    Change its return values to sequential numbers.
- scheduler: ignore <accelerator> and <p_capabilities> tags

sched/
    sched_send.C,h
    sched_array.C
    sched_locality.C
    server_types.C

svn path=/trunk/boinc/; revision=12791
2007-05-31 18:14:45 +00:00
David Anderson 6eacc21409 - scheduler: add debugging msg for HR reject
sched/
    sched_hr.C,h
    sched_array.C

svn path=/trunk/boinc/; revision=12787
2007-05-30 22:10:57 +00:00
David Anderson 88860ed316 - user web: fix bug in host merge function
- core client: fix bug in set_debt() GUI RPC
- scheduler: some of the "quick checks" in scan_work_array()
    are applicable to locality scheduling also,
    so they should be moved to wu_is_infeasible().
    I did this for one: the check for one result
    per user (or host) per WU.  Should do for others.
    
client/
    gui_rpc_server_ops.C
html/
    host_edit_action.php
    host_edit_form.php
sched/
    sched_array.C
    sched_send.C,h

svn path=/trunk/boinc/; revision=12784
2007-05-30 17:25:51 +00:00
David Anderson d673440faf - Scheduler: increased the resolution of homogeneous redundancy (HR)
e.g. distinguish between models of Intel and AMD
- Scheduler: add a quick HR check that doesn't access the DB
- Transitioner: if a workunit has >0 error results and no success results,
    set its HR class to zero
From M.F. Somers.

db/
    boinc_db.C,h
sched/
    sched_array.C
    sched_hr.C,h
    transitioner.C

svn path=/trunk/boinc/; revision=12773
2007-05-29 23:41:31 +00:00
David Anderson ec57e4180c tweak to last checkin
svn path=/trunk/boinc/; revision=12772
2007-05-29 22:05:48 +00:00
David Anderson 1e7e58875a - client: add cmdline options --exit_before_start and --exit_after_finish.
This cause the core client to exit immediately before or after
    running a job,
    letting you examine the contents of the slot directory.
- scheduler: changed max # of CPUs used in daily_result_quota
    limit from 4 to 8, and make it a compile-time parameter
- feeder/scheduler: make the number of work items in shared
    memory configurable (in config.xml).
    The element is <shmem_work_items>
- feeder: make the size of the work item query configurable
    (<feeder_query_size)
- feeder: remove code related to removing infeasible results
    from shared mem.
    This mechanism was never needed,
    and I think a timeout would accomplish the same effect.

client/
    app.C
    app_start.C
    client_state.C,h
    cs_cmdline.C
sched/
    feeder.C
    sched_array.C
    sched_config.C,h
    sched_send.C
    sched_shmem.C,h
    sched_util.C
    show_shmem.C

svn path=/trunk/boinc/; revision=12771
2007-05-29 21:45:01 +00:00
David Anderson b751d2924d fix to "project ended" mechanism
svn path=/trunk/boinc/; revision=12743
2007-05-24 16:20:18 +00:00
David Anderson 4f81994be6 - Add a mechanism for a project to shut down gracefully.
If <ended>1</ended> is included in config.xml,
    this gets send to clients,
    and they display a "Project ended - OK to detach" message.

client/
    client_state.C
    client_types.C,h
    scheduler_op.C
clientgui/
    VIewProjects.cpp
    VIewProjectsGrid.cpp
lib/
    gui_rpc_client.h
    gui_rpc_client_ops.C
    gui_rpc_client_print.C
sched/
    sched_config.C,h
    server_types.C

svn path=/trunk/boinc/; revision=12742
2007-05-24 16:07:21 +00:00
Jeff Cobb 9ea5467b45 added an fcgi entry counter
svn path=/trunk/boinc/; revision=12733
2007-05-23 20:42:45 +00:00
Jeff Cobb bad412aebc fcgi_file_upload_handler : compile, and link to, the necessary .o files
svn path=/trunk/boinc/; revision=12732
2007-05-23 20:41:50 +00:00
David Anderson 2fcd2cb7d5 - lib/filesys: do timed retry of delete/rename on Unix as well as Win
- client: sleep 1 sec (not 60) before retry statefile write
- client: parse <credit> in workunit XML
- scheduler: better error messages if insert_wu_tags() fails

api/
    graphics2_unix.C
client/
    client_state.C
    client_types.C
lib/
    filesys.C
sched/
    sched_send.C

svn path=/trunk/boinc/; revision=12720
2007-05-23 03:55:53 +00:00
David Anderson fe68a746fd - scheduler: fix FCGI compile
- API: add files for version 6 graphics

api/
    Makefile.am
    graphics2.C (new)
    graphics2_unix.C (new)
    graphics2_win.C (new)
sched/
    Makefile.am

svn path=/trunk/boinc/; revision=12714
2007-05-22 20:12:45 +00:00
David Anderson 17a83ada30 - feeder: fixed SQL query again
sched/
    feeder.C

svn path=/trunk/boinc/; revision=12707
2007-05-22 02:58:01 +00:00
David Anderson 9b4eff7284 - feeder: the query change of 13 April broke the -random_order,
-priority_order, -priority_order_create_time,and -mod options
    (from Nicolas Maire)

sched/
    feeder.C

svn path=/trunk/boinc/; revision=12703
2007-05-21 15:06:43 +00:00
David Anderson 087aa84915 - scheduler: fix bug that caused crash in anonymous platform case;
don't send result platform or version num if anon platform.
- back end: parse server status-related config elements
    (wwww_host etc.) to avoid XML warnings

sched/
    sched_config.C
    sched_send.C
    server_types.C

svn path=/trunk/boinc/; revision=12701
2007-05-21 14:49:00 +00:00
David Anderson 826e65f8d0 - client simulator: fix cpu_sched_rr_only bug
- boinc_cmd: canonicalize URLs
- user web: fix link to Top Teams
- back end: remove code related to alternate download dir

client/
    cpu_sched.C
    sim.C
html/
    inc/
        stats_sites.inc
    user/
        stats.php
lib/
    boinc_cmd.C
sched/
    file_deleter.C
    sched_config.C,h

svn path=/trunk/boinc/; revision=12694
2007-05-18 22:02:51 +00:00
David Anderson 01f4851323 - scheduler: add max_wus_in_progress option.
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
2007-05-14 15:21:38 +00:00
David Anderson 0daa5a8802 - translation.inc: backed out change of 7 May;
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
2007-05-11 16:30:13 +00:00
David Anderson a37403a673 - scheduler: add <workload_sim> config option.
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
2007-05-10 21:50:52 +00:00
David Anderson a3c22a1bf7 - client: add constructor/destructor for APP_VERSION, WORKUNIT, RESULT
- client: with anonymous platform, don't link app version twice

client/
    client_types.h
    client_state.C
    cs_apps.C
    cs_files.C
    cs_prefs.C
    cs_scheduler.C
    cs_statefile.C
    sim_util.C
html/
    uotd.inc
sched/
    edf_sim.h
    server_types.h

svn path=/trunk/boinc/; revision=12638
2007-05-10 16:23:10 +00:00
David Anderson ca2dead91d - client simulator: make it compile on Win
- client: parse version_num in active_task to avoid spurious error msg

	client/
		app.C
		sim.C
	win_build/
		sim.vcproj

svn path=/trunk/boinc/; revision=12636
2007-05-10 16:07:45 +00:00
David Anderson 78807f659c - scheduler: slight code cleanup prior to adding EDF stuff
languages/translations/
    en.po
sched/
    sched_send.C
    server_types.h

svn path=/trunk/boinc/; revision=12631
2007-05-09 17:45:18 +00:00
David Anderson f6a06c60ac - client simulator:
- Add --server_uses_workload option
            (simulate server that does EDF simulation)
        - Add simulation of exponential backoff when don't get work.
            Otherwise it will keep asking forever.
        - move non-interesting stuff to sim_util.C
    - change simulator code to use ' instead of " in compiled translations
    
    client/
        makefile_sim
        sim_util.C
        sim.C,h
        work_fetch.C
    html/inc/
        translation.inc
    sched/
        edf_sim.C
        edf_sim.h (new)

svn path=/trunk/boinc/; revision=12604
2007-05-08 01:55:28 +00:00
David Anderson d1adc3ab49 sim-related stuff
svn path=/trunk/boinc/; revision=12563
2007-05-04 23:05:17 +00:00
David Anderson 4c76f95a34 - scheduler: in send_result_abort(), distinguish between
the enumeration ending versus it failing.
        This fixes a bug where lots of results would be
        incorrectly aborted if there's a database problem.
        This fix only matters if you use the <send_result_abort> config flag.
        (from Kevin Reed)
    - validator: add -credit_from_wu option.
        This gets credit from the workunit XML
        (which must have a <credit> flag).
        This lets you use credit-from-WU with the standard validators
        (sample_bitwise and sample_trivial)

    sched/
        handle_request.C
        validator.C
        validate_util.h

svn path=/trunk/boinc/; revision=12558
2007-05-04 17:59:50 +00:00
Matt Lebofsky 136ce49b84 svn path=/trunk/boinc/; revision=12536 2007-05-02 23:17:52 +00:00
David Anderson 7ecdc2f44e - Scheduler: in reply, add <platform> element to each <app_version,
and add <platform> and <version_num> elements to <result>
        (server half of multi-version changes)
    - scheduler: make ssp a global; could eliminate from args everywhere

    db/
        boinc_db.h
    sched/
        feeder.C
        main.C,h
        sched_send.C
        sched_shmem.C,h
        server_types.C

svn path=/trunk/boinc/; revision=12535
2007-05-02 23:14:00 +00:00
Matt Lebofsky 846ec9fbb0 svn path=/trunk/boinc/; revision=12532 2007-05-02 18:51:51 +00:00
David Anderson c72634456d - make_project and upgrade now write a file 'local.revision'
in the project home directory.
        It contains the output of /usr/bin/svnversion,
        i.e. the code revision from which the server software was built.
    - Web files that create directories now give them g+rwx permissions

    html/inc/
        cache.inc
        translation.inc
    sched/
        edf_sim.C
    tools/
        make_project
        upgrade

svn path=/trunk/boinc/; revision=12521
2007-05-01 21:21:13 +00:00
David Anderson 445b3e8696 server EDF simulator
svn path=/trunk/boinc/; revision=12516
2007-04-30 23:35:39 +00:00
David Anderson 9fae8d017c added edf_sim.C
svn path=/trunk/boinc/; revision=12515
2007-04-30 22:43:45 +00:00
David Anderson 4f35ec39c9 - scheduler: un-comment-out code to send abort_if_result_not_started
messages

    sched/
        handle_request.C

svn path=/trunk/boinc/; revision=12514
2007-04-30 22:20:33 +00:00
David Anderson 2e7b82b631 - scheduler: added (correct this time!) support for
<alt_platform> tags in scheduler requests.
    - file_deleter: add check for -dont_delete_batches 

    sched/
        file_deleter.C
        handle_request.C
        sched_array.C,h
        sched_locality.C,h
        sched_resend.C,h
        sched_send.C,h
        server_types.h

svn path=/trunk/boinc/; revision=12512
2007-04-30 21:19:24 +00:00
Rytis Slatkevičius 69e5386c8b Ignore <akismet_key> in SCHED_CONFIG::parse
svn path=/trunk/boinc/; revision=12498
2007-04-29 13:08:31 +00:00
Eric J. Korpela 8a8ffc8ef9 Eric K 24 Apr 07
-  Exteded the "altername_platform" mechanism to x86_64 linux
       and solaris.  The current alternate platforms found by configure
       are...
	 x86_64-pc-linux-gnu    -> i686-pc-linux-gnu
	 sparc64-sun-solaris    -> sparc-sun-solaris
	 sparc-sun-solaris      -> sparc-sun-solaris2.7
	 powerpc64-apple-darwin -> powerpc-apple-darwin
    -  The alternate platform can be overridden on the configure command line
         --with-boinc-alt-platform="platformname"

    m4/
        boinc_platform.m4
    sched/
        Makefile.am
    client/
        client_state.C
        cs_scheduler.C
        client_state.h


svn path=/trunk/boinc/; revision=12467
2007-04-25 02:02:24 +00:00
David Anderson 7e2b39c4db David 24 Apr 2007
- Server: add new database field host.error_rate.
        Stores a dynamic estimate of the fraction of the hosts's
        results that fail validation (updated by the validator).

    client/
        sim.C
        cs_prefs.C
    db/
        boinc_db.C,h
    html/ops/
        db_update.php
    sched/
        handle_request.C
        sched_msgs.h
        validator.C

svn path=/trunk/boinc/; revision=12466
2007-04-24 23:21:42 +00:00
David Anderson fe32380dcf David 23 Apr 2007
- make_project: remove --no_test_app option, add --test_app option
    - make_project: initial config in all cases has
        one_result_per_user_per_wu = 0
    - sample_assimilator: make it able to handle > 1 output file
    - boinc_cmd: make --help output more readable
    - User web: fix some undefined vars in translation.inc
        Rytis: let's try to fix PHP runtime warnings
    - DB: add default values for app table (avoid MySQL warnings)

    db/
        schema.sql
    html/
        inc/
            translation.inc
            uotd.inc
        ops/
            update_forum_activities.php
    lib/
        str_util.C
        boinc_cmd.C
    py/Boinc/
        setup_project.py
    sched/
        sample_work_generator.C
        sample_assimilator.C
    tools/
        make_project
        uc_wu, uc_result (new)

svn path=/trunk/boinc/; revision=12450
2007-04-23 16:14:47 +00:00
Bruce Allen 8ce18a7b4a Minor sched locality changes for E@H
svn path=/trunk/boinc/; revision=12446
2007-04-23 12:27:35 +00:00
David Anderson b686f89d85 David 20 Apr 2007
- make_project: add periodic tasks to default config.xml:
        dp_dump, update_uotd, update_forum_activities, update_stats,
        update_profile_pages
    - backend_lib.C: refuse to create a job for which some necessary
        parameter (rsc_fpops_est, rsc_fpops_bound, etc.) is missing
    - Unix build: don't include std_fixes.h in config.h.
        std_fixes.h is (I think) deprecated
    - sched_util: default sched log level is MSG_NORMAL
    - client: add ".txt" to job log filename
    - compile fixes

    configure.ac
    api/
        reduce_main.C
    client/
        file_names.C
    lib/
        str_util.h
    sched/
        sample_work_generator.C
        sched_msgs.h
    tools/
        backend_lib.C

svn path=/trunk/boinc/; revision=12430
2007-04-20 17:14:08 +00:00
David Anderson 712d1c027f David 19 Apr 2007
- scheduler: accept elements of the form
        <alt_platform>
            <name>windows_x86</name>
        </alt_platform>
        in request messages.
        These are platforms that the client can handle, 
        other than its main one,
        listed in order of decreasing preferences.
        fixes #81.

    sched/
        handle_request.C
        server_types.C,h

svn path=/trunk/boinc/; revision=12423
2007-04-19 22:45:57 +00:00
David Anderson 1880a50cc5 David 19 Apr 2007
- Change things so that make_project installs a test application
        (uppercase) and the daemons to go along with it
        (sample_work_generator, sample_bitwise_validator, sample_assimilator).
        This is mostly working, not completely.

    apps
        upper_case.C
    html/ops/
        mass_email_script.php
    py/Boinc/
        setup_project.py
    sched/
        sched_config.C,h
        sample_work_generator.C
    tools/
        make_project
        project.xml
        Makefile.am

svn path=/trunk/boinc/; revision=12422
2007-04-19 22:11:25 +00:00
David Anderson 1ea3bb781e David 18 Apr 2007
- bug fixes for sample work generator

    sched/
        sched_config.C,h
        sample_work_generator.C


svn path=/trunk/boinc/; revision=12417
2007-04-19 03:12:13 +00:00
David Anderson 3431d99471 svn path=/trunk/boinc/; revision=12414 2007-04-18 20:49:58 +00:00
David Anderson 985a39c99f svn path=/trunk/boinc/; revision=12409 2007-04-17 23:08:24 +00:00
David Anderson 564504eff6 svn path=/trunk/boinc/; revision=12402 2007-04-17 17:12:44 +00:00
David Anderson 66071c9de1 svn path=/trunk/boinc/; revision=12373 2007-04-16 22:22:15 +00:00
David Anderson e6f9499b02 *** empty log message ***
svn path=/trunk/boinc/; revision=12361
2007-04-13 04:22:20 +00:00
David Anderson 75a2b2c55b *** empty log message ***
svn path=/trunk/boinc/; revision=12322
2007-04-05 17:02:01 +00:00
David Anderson b89e5c3827 *** empty log message ***
svn path=/trunk/boinc/; revision=12275
2007-03-27 21:39:40 +00:00
Jeff Cobb 2ff43c743a jeffc - added #defines for FCGI_feof and FCGI_ferror at the bottom of this file
svn path=/trunk/boinc/; revision=12260
2007-03-21 19:56:45 +00:00
David Anderson cf4ed3d546 *** empty log message ***
svn path=/trunk/boinc/; revision=12242
2007-03-19 00:10:36 +00:00
Josh Von Korff 3d52ecd4a8 Multiple inclusion protection.
svn path=/trunk/boinc/; revision=12226
2007-03-14 22:59:26 +00:00
David Anderson 138f17af40 *** empty log message ***
svn path=/trunk/boinc/; revision=12216
2007-03-13 19:33:27 +00:00
David Anderson 5cb43bbcf5 *** empty log message ***
svn path=/trunk/boinc/; revision=12210
2007-03-11 03:15:17 +00:00
David Anderson 071467d702 *** empty log message ***
svn path=/trunk/boinc/; revision=12209
2007-03-11 01:16:37 +00:00
David Anderson 74c120f8b3 *** empty log message ***
svn path=/trunk/boinc/; revision=12189
2007-03-05 18:34:30 +00:00
Bruce Allen 2ce4a496dc Scheduler: stop complaining about some unrecognized tags
svn path=/trunk/boinc/; revision=12166
2007-02-27 14:40:22 +00:00
Bruce Allen ae3fa03555 Scheduler: stop complaining about some unrecognized tags
svn path=/trunk/boinc/; revision=12165
2007-02-27 13:20:51 +00:00
Bruce Allen f6b68e7068 - scheduler: stop logging error messages about unrecognized
<no_forum_rating> tag.
- locality scheduler: when getting a working set file name
      using glob(3), do not glob multiple times, possibly getting
      back the same file name again.  Instead glob once and then
      randomly choose file names, crossing items off the list one
      at a time. Note: I wrote this code using STL vectors and
      strings, but now regret this: the necessary vector insertions
      are potentially inefficient..  Sometime next week I will
      recode this using a C-style pointer arrays with guaranteed O(1)
      efficiency.  But I want to get this into CVS while it's
      working.
- locality scheduler: fix is_host_slow() function following
      David's Jan 12 checkins to use claimed_credit_per_cpu_sec.

svn path=/trunk/boinc/; revision=12156
2007-02-25 05:29:31 +00:00
David Anderson 6b4803d969 *** empty log message ***
svn path=/trunk/boinc/; revision=12146
2007-02-23 20:24:52 +00:00
David Anderson 4d76b40d04 *** empty log message ***
svn path=/trunk/boinc/; revision=12144
2007-02-23 17:29:19 +00:00
David Anderson 81effa6a7b *** empty log message ***
svn path=/trunk/boinc/; revision=12127
2007-02-21 16:26:51 +00:00
David Anderson e980ba94af *** empty log message ***
svn path=/trunk/boinc/; revision=12096
2007-02-15 21:11:05 +00:00
David Anderson f7d648e350 *** empty log message ***
svn path=/trunk/boinc/; revision=12075
2007-02-13 21:41:07 +00:00
David Anderson 77e757c6f9 *** empty log message ***
svn path=/trunk/boinc/; revision=12043
2007-02-06 21:50:48 +00:00
David Anderson ff91c8450f *** empty log message ***
svn path=/trunk/boinc/; revision=12004
2007-01-30 18:19:30 +00:00
David Anderson 47f8a509fe *** empty log message ***
svn path=/trunk/boinc/; revision=11981
2007-01-26 18:38:17 +00:00
David Anderson b0ce2533c6 *** empty log message ***
svn path=/trunk/boinc/; revision=11945
2007-01-23 21:37:27 +00:00
David Anderson cc9ab449e0 *** empty log message ***
svn path=/trunk/boinc/; revision=11872
2007-01-15 22:53:41 +00:00
Reinhard Prix cc071a0653 mini-fix in helpstring
svn path=/trunk/boinc/; revision=11859
2007-01-15 00:23:37 +00:00
Reinhard Prix 428ac91a61 add usage/help output to validator.C
svn path=/trunk/boinc/; revision=11858
2007-01-15 00:19:37 +00:00
Reinhard Prix 240d733a41 install validate_util.h for external building of validators
svn path=/trunk/boinc/; revision=11856
2007-01-14 22:43:10 +00:00
David Anderson 3967a1f924 *** empty log message ***
svn path=/trunk/boinc/; revision=11850
2007-01-12 17:42:29 +00:00
David Anderson 3433f87bcf *** empty log message ***
svn path=/trunk/boinc/; revision=11747
2006-12-30 18:11:25 +00:00
David Anderson 2732dd5f0b *** empty log message ***
svn path=/trunk/boinc/; revision=11742
2006-12-29 22:16:08 +00:00
David Anderson c6ee2edf87 *** empty log message ***
svn path=/trunk/boinc/; revision=11738
2006-12-29 19:01:03 +00:00
David Anderson a1da0712e8 *** empty log message ***
svn path=/trunk/boinc/; revision=11725
2006-12-27 20:04:50 +00:00
David Anderson d34f09ef18 *** empty log message ***
svn path=/trunk/boinc/; revision=11614
2006-12-04 19:00:37 +00:00
David Anderson 20211fd17e *** empty log message ***
svn path=/trunk/boinc/; revision=11613
2006-12-04 17:10:39 +00:00
Bruce Allen 121ad788d0 If browser contacts scheduler CGI, redirect to project home page
svn path=/trunk/boinc/; revision=11612
2006-12-04 11:25:48 +00:00
David Anderson 76cc3ab30d *** empty log message ***
svn path=/trunk/boinc/; revision=11597
2006-11-28 03:27:13 +00:00
David Anderson d4fbc3b52d *** empty log message ***
svn path=/trunk/boinc/; revision=11592
2006-11-27 01:07:00 +00:00
David Anderson 6fe4e20b6b *** empty log message ***
svn path=/trunk/boinc/; revision=11590
2006-11-26 03:17:44 +00:00
Bruce Allen 4d8cc8367e server: file_deleter would turn off -delete_antiques if it encountered a
stale .nfs* lockfile which was more than 60 days older than the oldest WU.
This should not happen! After these modifications, antique deletion
will not be turned off, but a CRITICAL error message will be logged.

svn path=/trunk/boinc/; revision=11548
2006-11-19 11:39:01 +00:00
David Anderson 6e3925cefc *** empty log message ***
svn path=/trunk/boinc/; revision=11524
2006-11-14 17:30:59 +00:00
David Anderson d22c55147b *** empty log message ***
svn path=/trunk/boinc/; revision=11501
2006-11-09 00:20:14 +00:00
David Anderson 7767ca1eb8 *** empty log message ***
svn path=/trunk/boinc/; revision=11492
2006-11-07 17:40:55 +00:00
David Anderson 9f43f77628 *** empty log message ***
svn path=/trunk/boinc/; revision=11488
2006-11-07 04:05:05 +00:00
David Anderson 60e224aa18 *** empty log message ***
svn path=/trunk/boinc/; revision=11472
2006-11-05 00:15:10 +00:00
David Anderson 0cb8434d75 *** empty log message ***
svn path=/trunk/boinc/; revision=11466
2006-11-03 21:42:49 +00:00
David Anderson 71fbfb9fa8 *** empty log message ***
svn path=/trunk/boinc/; revision=11416
2006-10-31 17:14:03 +00:00
David Anderson d9465a8138 *** empty log message ***
svn path=/trunk/boinc/; revision=11387
2006-10-28 18:25:35 +00:00
David Anderson 7918111de2 *** empty log message ***
svn path=/trunk/boinc/; revision=11356
2006-10-25 21:15:08 +00:00
David Anderson e12f6efa55 *** empty log message ***
svn path=/trunk/boinc/; revision=11340
2006-10-23 14:08:20 +00:00
David Anderson 190f7d177a *** empty log message ***
svn path=/trunk/boinc/; revision=11337
2006-10-22 01:46:33 +00:00
David Anderson c98a2415af *** empty log message ***
svn path=/trunk/boinc/; revision=11336
2006-10-22 00:42:44 +00:00
David Anderson 34d94f9ecf *** empty log message ***
svn path=/trunk/boinc/; revision=11332
2006-10-21 01:44:32 +00:00
David Anderson ad23db4efe *** empty log message ***
svn path=/trunk/boinc/; revision=11277
2006-10-12 18:47:21 +00:00
David Anderson 45e21f2489 *** empty log message ***
svn path=/trunk/boinc/; revision=11272
2006-10-11 16:32:59 +00:00
David Anderson d5fd6240e7 *** empty log message ***
svn path=/trunk/boinc/; revision=11253
2006-10-06 18:52:50 +00:00
David Anderson adf4a44b55 *** empty log message ***
svn path=/trunk/boinc/; revision=11246
2006-10-04 21:08:37 +00:00
David Anderson 6835cdac20 *** empty log message ***
svn path=/trunk/boinc/; revision=11244
2006-10-04 17:01:36 +00:00
David Anderson be615f6a82 *** empty log message ***
svn path=/trunk/boinc/; revision=11204
2006-09-27 16:50:47 +00:00
Bruce Allen 2c45c1708f For computing and tracking a host's average credit/cpu_time I
have inserted a new averaging function
update_credit_per_cpu_sec() into lib/util.C.  This function
should be called from validator.C, and then the value of
credit_per_cpu_sec should be exported by db_dump.C in the
host_id.gz stats file.

David, Eric, if you could check the code and logic here I would
be grateful. This is currently disabled in validator.C with
a #ifdef macro.  I won't enable it until we've agreed on this.

svn path=/trunk/boinc/; revision=11136
2006-09-11 11:41:54 +00:00
David Anderson 7ce1144b73 *** empty log message ***
svn path=/trunk/boinc/; revision=11076
2006-09-01 21:06:30 +00:00
David Anderson 5fea7f0226 *** empty log message ***
svn path=/trunk/boinc/; revision=10976
2006-08-23 03:34:30 +00:00
David Anderson 121043ac9f *** empty log message ***
svn path=/trunk/boinc/; revision=10973
2006-08-22 21:52:44 +00:00
David Anderson 5af4702c1d *** empty log message ***
svn path=/trunk/boinc/; revision=10957
2006-08-21 22:25:21 +00:00
David Anderson ba63f6c949 *** empty log message ***
svn path=/trunk/boinc/; revision=10955
2006-08-21 19:41:25 +00:00
David Anderson 2d47ee0d8b *** empty log message ***
svn path=/trunk/boinc/; revision=10932
2006-08-16 03:44:47 +00:00
Bruce Allen 5c5f76a8a4 scheduler: improved message to client for clarity
svn path=/trunk/boinc/; revision=10923
2006-08-15 19:21:45 +00:00
David Anderson 486e704ba4 *** empty log message ***
svn path=/trunk/boinc/; revision=10654
2006-07-17 16:38:53 +00:00
David Anderson cc5c1189c0 *** empty log message ***
svn path=/trunk/boinc/; revision=10623
2006-07-11 21:56:53 +00:00
David Anderson b9b5d0ed48 *** empty log message ***
svn path=/trunk/boinc/; revision=10622
2006-07-11 21:49:20 +00:00
David Anderson a2bf431a6e *** empty log message ***
svn path=/trunk/boinc/; revision=10607
2006-07-09 20:59:41 +00:00
David Anderson 7f00b2fa3f outcome CLIENT_DETACHED
svn path=/trunk/boinc/; revision=10593
2006-07-06 17:30:03 +00:00
David Anderson 0f9b83a55b project files
svn path=/trunk/boinc/; revision=10517
2006-06-26 22:58:24 +00:00
David Anderson 1234444558 app user friendly name
svn path=/trunk/boinc/; revision=10516
2006-06-26 19:08:00 +00:00
David Anderson 978c79f062 *** empty log message ***
svn path=/trunk/boinc/; revision=10467
2006-06-22 19:40:30 +00:00
David Anderson 9edde1793f *** empty log message ***
svn path=/trunk/boinc/; revision=10442
2006-06-21 19:48:41 +00:00
David Anderson a951f5e9c1 *** empty log message ***
svn path=/trunk/boinc/; revision=10432
2006-06-21 17:34:55 +00:00
David Anderson 3c80d4726f verify-files-on-app-start option
svn path=/trunk/boinc/; revision=10413
2006-06-20 17:36:28 +00:00
David Anderson c745174e90 *** empty log message ***
svn path=/trunk/boinc/; revision=10402
2006-06-19 22:20:24 +00:00
David Anderson 89930e4aa8 *** empty log message ***
svn path=/trunk/boinc/; revision=10400
2006-06-19 17:40:53 +00:00
Bruce Allen 0e182804bb Scheduler: populate sreq.host.credit_per_cpu_sec in case project wants
to send different work to slow and fast hosts.  I'm experimenting with
the use of this in the locality scheduler.

svn path=/trunk/boinc/; revision=10390
2006-06-17 17:26:07 +00:00
Bruce Allen d81e37f29f Scheduler: populate sreq.host.credit_per_cpu_sec in case project wants
to send different work to slow and fast hosts.  I'm experimenting with
the use of this in the locality scheduler.

(DAVID: please check that the one-line change in handle_request.C is
globally harmless.)

svn path=/trunk/boinc/; revision=10388
2006-06-17 17:08:02 +00:00
Bruce Allen fdad366b2e Scheduler: improve message to user if user running anonymous platform
and project+app does not support it.

svn path=/trunk/boinc/; revision=10386
2006-06-17 14:16:55 +00:00
David Anderson 51c8c62fa3 *** empty log message ***
svn path=/trunk/boinc/; revision=10348
2006-06-14 20:17:35 +00:00
Bruce Allen 231934fafd Einstein@Home-specific change.
svn path=/trunk/boinc/; revision=10346
2006-06-14 18:36:20 +00:00
David Anderson 4811c240b3 *** empty log message ***
svn path=/trunk/boinc/; revision=10329
2006-06-13 20:27:35 +00:00
David Anderson 2ef946d3ff *** empty log message ***
svn path=/trunk/boinc/; revision=10305
2006-06-10 23:46:36 +00:00
David Anderson fb338265a0 *** empty log message ***
svn path=/trunk/boinc/; revision=10304
2006-06-10 21:29:51 +00:00
Bruce Allen 089f44cd0d file_deleter: if deleting antique files, follow links when
finding the files.  This allows NFS mounting of the upload
directory, pointed to by a symbolic link.

svn path=/trunk/boinc/; revision=10302
2006-06-10 13:41:47 +00:00
Bruce Allen f3b603204a Delete commented-out line (obsolete)
svn path=/trunk/boinc/; revision=10301
2006-06-10 13:01:15 +00:00
Bruce Allen 39704a95a5 DAVID: config was not defined in validate_util.C ; I made
it extern. Likewise for validate_util2.C.  Also messed up
includes in latter file.

svn path=/trunk/boinc/; revision=10300
2006-06-10 12:55:23 +00:00
Bruce Allen 7e37639f68 DAVID: config was not defined in validate_util.C ; I made
it extern.

svn path=/trunk/boinc/; revision=10299
2006-06-10 12:43:08 +00:00
Bruce Allen b7315f3b62 DAVID: your change to create_shmem() broke the sched build.
Check my 'fix' to feeder.C to see if this is what you had
intended.

svn path=/trunk/boinc/; revision=10298
2006-06-10 12:37:24 +00:00
David Anderson 7d144b3d4d *** empty log message ***
svn path=/trunk/boinc/; revision=10291
2006-06-09 23:17:05 +00:00
Bruce Allen f19d074a87 Sched code: move function into sched_util; useful for project
validation.
Minor E@H specific change

svn path=/trunk/boinc/; revision=10287
2006-06-09 19:07:34 +00:00
David Anderson d1caa3b689 pass rsc_fpops_est to app
svn path=/trunk/boinc/; revision=10276
2006-06-09 02:33:00 +00:00
David Anderson b2e6bd1b10 make_work
svn path=/trunk/boinc/; revision=10272
2006-06-08 05:54:40 +00:00
Bruce Allen a9dffd4ef5 Eliminate compiler warning (harmless)
svn path=/trunk/boinc/; revision=10270
2006-06-07 18:47:37 +00:00
David Anderson 016112bf0d scheduler logging
svn path=/trunk/boinc/; revision=10261
2006-06-07 04:10:04 +00:00
David Anderson 3199549ec8 *** empty log message ***
svn path=/trunk/boinc/; revision=10259
2006-06-07 00:09:05 +00:00
David Anderson 923075d005 *** empty log message ***
svn path=/trunk/boinc/; revision=10258
2006-06-06 18:45:40 +00:00
Bruce Allen 033c6719a5 Scheduler: refuse to upload results if DB item is
(1) over and (2) validate state init and (3) NOT file_delete==INIT.

(David, please bless addition of file_delete_state to SCHED_RESULT_ITEM.)

svn path=/trunk/boinc/; revision=10245
2006-06-03 16:22:34 +00:00
Bruce Allen e37637661d Transitioner: nasty bug in logging, wrong result id/name
Scheduler: clearer logging for debugging purposes

svn path=/trunk/boinc/; revision=10243
2006-06-03 14:59:22 +00:00
David Anderson 9929015c1e xml_escape bug
svn path=/trunk/boinc/; revision=10238
2006-06-01 19:59:57 +00:00
Bruce Allen 3f8792bf2a scheduler: clearer messages to use if refusing to accept a result.
DB purger: make sleep interval a command line option (current 600
                 secs is still the default value).

svn path=/trunk/boinc/; revision=10236
2006-06-01 13:51:10 +00:00
David Anderson a822d8312b server permissions
svn path=/trunk/boinc/; revision=10228
2006-05-31 21:25:39 +00:00
Bruce Allen 490d4858bf scheduler: do a better job of accepting results from host machines
which may modify an EXISTING & OVER result in the database.

file_upload_handler: check for 'stop_upload' trigger file in the
project root directory.  If so, return ERR_TRANSIENT to hosts which
attempt uploads.  This is the equivalent of 'stop_sched' for the
scheduler.  (Eric, you may want to check that this is FCGI compatible).

svn path=/trunk/boinc/; revision=10227
2006-05-31 20:39:32 +00:00
David Anderson 210e22e537 *** empty log message ***
svn path=/trunk/boinc/; revision=10226
2006-05-31 17:19:29 +00:00
David Anderson aa07d32e39 *** empty log message ***
svn path=/trunk/boinc/; revision=10208
2006-05-26 19:40:11 +00:00
David Anderson f72b5e7887 *** empty log message ***
svn path=/trunk/boinc/; revision=10207
2006-05-25 23:15:06 +00:00
David Anderson 6519a32c8c *** empty log message ***
svn path=/trunk/boinc/; revision=10200
2006-05-25 18:51:57 +00:00
David Anderson 033cab5e44 *** empty log message ***
svn path=/trunk/boinc/; revision=10195
2006-05-25 05:22:10 +00:00
Bruce Allen 29c352a869 Einstein@Home specific changes
svn path=/trunk/boinc/; revision=10192
2006-05-24 19:00:12 +00:00
Bruce Allen ce3f6885b0 Have scheduler ignore some additional unrecognized tags in sched
requests: cache_l[123] and cpu_caps.  These appear not to be
anywhere in the source code tree or documented anywhere!!

svn path=/trunk/boinc/; revision=10191
2006-05-24 09:40:35 +00:00
Bruce Allen 85a7b741fa Fix log print statement
svn path=/trunk/boinc/; revision=10190
2006-05-24 09:22:34 +00:00
Bruce Allen 2ada65c20d Adding a bit of logging to the scheduler to try and track down a
bug that might have been introduced ~ March 11, which is marking
some 'in progress' results as 'client error' and triggering
the transitioner.

svn path=/trunk/boinc/; revision=10189
2006-05-24 08:31:49 +00:00
Bruce Allen 55d1ad6199 Make backend more robust, to prevent 'stuck' workunits. Now
transitioner will not sent the transition_time to INT_MAX
UNLESS a canonical result has been found.  Otherwise it is
set to MAX(ten days, 1.5*delay_bound) in the future.  This
ensures that the transition will 'see' the workunit again
if no canonical result has been found.

svn path=/trunk/boinc/; revision=10185
2006-05-23 06:08:55 +00:00
David Anderson 85be4593fa symstore support
svn path=/trunk/boinc/; revision=10174
2006-05-22 09:54:31 +00:00
David Anderson a9183d00dc *** empty log message ***
svn path=/trunk/boinc/; revision=10097
2006-05-04 04:29:28 +00:00
David Anderson f6a01ea730 *** empty log message ***
svn path=/trunk/boinc/; revision=10084
2006-05-02 22:33:00 +00:00
David Anderson 2e7b35b9ec feeder/scheduler enhancements
svn path=/trunk/boinc/; revision=10083
2006-05-02 22:17:09 +00:00
David Anderson 3ede98d8a3 scheduler fix
svn path=/trunk/boinc/; revision=9968
2006-04-19 18:49:54 +00:00
David Anderson 6dfea20db2 url_escape speedup
svn path=/trunk/boinc/; revision=9938
2006-04-17 22:41:29 +00:00
David Anderson 505b4648cf *** empty log message ***
svn path=/trunk/boinc/; revision=9842
2006-04-11 19:54:27 +00:00
Bruce Allen c7188847f1 Clearer logging by scheduler
svn path=/trunk/boinc/; revision=9679
2006-03-17 18:17:47 +00:00
Bruce Allen 56d1fe36d4 Adding some logging for scheduler fixes from yesterday: log specific
message saying when a result is unavilable because aonther scheduler
instance grabbed it from under our hands.

svn path=/trunk/boinc/; revision=9678
2006-03-17 14:31:25 +00:00
David Anderson 1b3e1fe484 scheduler race condition
svn path=/trunk/boinc/; revision=9666
2006-03-17 04:47:51 +00:00
David Anderson 71d7e76b07 *** empty log message ***
svn path=/trunk/boinc/; revision=9634
2006-03-12 06:33:38 +00:00
David Anderson f74c293dd2 scheduler fix
svn path=/trunk/boinc/; revision=9633
2006-03-12 06:20:28 +00:00
David Anderson ad91e8475b avoid dup hosts
svn path=/trunk/boinc/; revision=9629
2006-03-11 00:17:46 +00:00
David Anderson 50864e7dd9 *** empty log message ***
svn path=/trunk/boinc/; revision=9615
2006-03-07 21:46:49 +00:00
David Anderson ad996eae4a *** empty log message ***
svn path=/trunk/boinc/; revision=9608
2006-03-06 21:40:07 +00:00
David Anderson 07bcebea83 rpc_seqno bug (server fix)
svn path=/trunk/boinc/; revision=9597
2006-03-03 20:25:31 +00:00
David Anderson da3e0cd427 better XML parsing
svn path=/trunk/boinc/; revision=9592
2006-03-02 22:51:41 +00:00
David Anderson bd1475e3a1 grant claimed credit option
svn path=/trunk/boinc/; revision=9558
2006-02-25 07:09:50 +00:00
David Anderson c9ea119568 homogeneous redundancy enhancement
svn path=/trunk/boinc/; revision=9552
2006-02-25 00:21:39 +00:00
David Anderson 88c741f0ac CPID consistency, larger trickle messages
svn path=/trunk/boinc/; revision=9303
2006-01-24 21:38:03 +00:00
Bruce Allen 1e1d2f2d8e update_stats program. Fix 'bug of omission' where member counts
of teams are calculated but were not written back into the database.
Also, change algorithm so that for hosts/teams/users, when the RAC
(Recent Average Credit) values have decayed to exactly 0.0 (double
precision) then neither expavg_credit nor expavg_time are updated.
In this way, by looking at the value of expavg_time, you can see
exactly WHEN the RAC decayed to zero.  This effectively indicates
the 'drop-out-date' for the host/team/user.

svn path=/trunk/boinc/; revision=9283
2006-01-22 16:35:08 +00:00
David Anderson f9b7413d58 feeder/DB fixes
svn path=/trunk/boinc/; revision=9269
2006-01-19 21:46:25 +00:00
David Anderson 52fddc3b96 PROJECT copy function
svn path=/trunk/boinc/; revision=9261
2006-01-18 21:07:04 +00:00
Bruce Allen bcbdaa5082 Einstein@Home specific change
svn path=/trunk/boinc/; revision=9248
2006-01-16 18:49:08 +00:00
David Anderson ca7fc562d5 *** empty log message ***
svn path=/trunk/boinc/; revision=9222
2006-01-13 01:07:05 +00:00
Bruce Allen 5ac4a0bc33 file_upload_handler: log a message when the client is starting an upload
from the wrong offset.  This problem should gradually go away as users
update to more current clients.

svn path=/trunk/boinc/; revision=9220
2006-01-12 15:36:46 +00:00
David Anderson ebe85fca18 file upload bug fix
svn path=/trunk/boinc/; revision=9213
2006-01-11 22:08:39 +00:00
Bruce Allen 9d5f806a30 Skip test for excessive CPU time, IF hostid has changed
because host has been cloned.  If result is resent to
the 'new' host then this can make it appear that the
result was completed shortly after it was sent.

svn path=/trunk/boinc/; revision=9210
2006-01-11 06:12:18 +00:00
Bruce Allen d88ebe9294 Einstein@Home specific code, to tell users to remove app_info.xml file.
svn path=/trunk/boinc/; revision=9194
2006-01-07 18:13:48 +00:00
David Anderson fa9d97a1f3 feeder exit on DB error
svn path=/trunk/boinc/; revision=9191
2006-01-06 21:18:48 +00:00
David Anderson b6ec685ca4 scheduler buglet
svn path=/trunk/boinc/; revision=9172
2006-01-05 07:37:51 +00:00
David Anderson 9edb1c083f *** empty log message ***
svn path=/trunk/boinc/; revision=9170
2006-01-05 06:42:45 +00:00
Bruce Allen d4088bb1b6 Einstein@Home - specific modification.
svn path=/trunk/boinc/; revision=9165
2006-01-03 16:07:14 +00:00
Bruce Allen a605aed574 Eliminate a couple of unused #defines
svn path=/trunk/boinc/; revision=9134
2005-12-23 11:50:58 +00:00
Bruce Allen cc96fd006a Einstein@Home-specific hack to the locality scheduler. For new
WU, I need to separate two types of 'sticky/report on RPC' files.
One type is used for WU names of the form FILE__ and the others
are auxilliary.  David, after I've talked with you I'll either
generalize this notion or we can eliminate it.

svn path=/trunk/boinc/; revision=9131
2005-12-23 04:17:10 +00:00
Bruce Allen 4ffb77322c E@H updates the stats daily
svn path=/trunk/boinc/; revision=9083
2005-12-17 17:20:05 +00:00
Bruce Allen b87eed0dd0 [From Walt Gribben]
Cleanup of parameters that define disk free space requirements.
Previously these were spread around in different places.  Now
these are defined by some config.xml options that are used by
PHP pages and by the scheduler code.  See a description in
doc/configuration.php.

svn path=/trunk/boinc/; revision=9081
2005-12-17 04:53:48 +00:00
Jeff Cobb 646c9a5e81 *** empty log message ***
svn path=/trunk/boinc/; revision=9066
2005-12-14 22:48:05 +00:00
David Anderson 9798e714c7 GUI RPC port specification
svn path=/trunk/boinc/; revision=9061
2005-12-13 08:04:57 +00:00
David Anderson 877f39921f *** empty log message ***
svn path=/trunk/boinc/; revision=9048
2005-12-06 23:00:44 +00:00
Eric J. Korpela c166c6beab Minor mods to allow BOINC apps to be compiled under Windows using Dev-C++
with MinGW

svn path=/trunk/boinc/; revision=9013
2005-12-01 00:25:21 +00:00
David Anderson 413c161c36 *** empty log message ***
svn path=/trunk/boinc/; revision=9012
2005-11-30 22:52:23 +00:00
Bruce Allen 8af54553ec Bug fix (from Walt Gribben). Don't allow the min free space
preference to be less than 1MB.

svn path=/trunk/boinc/; revision=8981
2005-11-29 06:34:48 +00:00
Bruce Allen 562a8a3ea0 Typo
svn path=/trunk/boinc/; revision=8955
2005-11-26 12:39:37 +00:00
Bruce Allen 7f2d5cfa06 Sched fix from Walt Gribben: have scheduler defaults for disk
space prefs agree with web page.  Bruce's note: this may require
further fixes for two cases.  First, if the project prefs are
not the same as BOINC defaults.  Second, if the user doesn't want
BOINC to leave any disk space free and on their web preference page
sets 'leave X bytes free' to zero, then this patch will assume they
mean 100MB.  But I'm still applying the patch 'cause Walt says that
this is keeping lots of new users from getting work.

svn path=/trunk/boinc/; revision=8954
2005-11-26 12:35:28 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 150650079f version number printing
svn path=/trunk/boinc/; revision=8880
2005-11-19 19:49:46 +00:00
David Anderson 15f3f6edce *** empty log message ***
svn path=/trunk/boinc/; revision=8839
2005-11-10 06:06:11 +00:00
David Anderson a40fb4ca57 include integer ops in benchmark API
svn path=/trunk/boinc/; revision=8796
2005-11-03 05:31:21 +00:00
David Anderson 0733150680 credit scaling
svn path=/trunk/boinc/; revision=8783
2005-11-01 19:46:46 +00:00
David Anderson 9e318ef772 *** empty log message ***
svn path=/trunk/boinc/; revision=8781
2005-11-01 04:19:10 +00:00
Reinhard Prix 1c46742951 fixed typo to allow compiling.
svn path=/trunk/boinc/; revision=8763
2005-10-28 14:32:40 +00:00
David Anderson fffc74af1f security, fpops_cumulative fixes
svn path=/trunk/boinc/; revision=8761
2005-10-28 06:26:58 +00:00
David Anderson 1f963d4203 server security fix
svn path=/trunk/boinc/; revision=8748
2005-10-26 06:29:35 +00:00
David Anderson f8776ebd8c fix warnings
svn path=/trunk/boinc/; revision=8739
2005-10-23 07:19:03 +00:00
Bruce Allen 4377095db0 Typo
svn path=/trunk/boinc/; revision=8698
2005-10-18 04:12:14 +00:00
Bruce Allen fec9e8d5fa Feeder: removed historical defines for PID file and lockfile.
Trigger file to re-read database is now reread_db in the project
root direcory, consistent with other BOINC trigger files, rather
than in the tmp_project_name subdirectory.
Log detection/removal of trigger file.

svn path=/trunk/boinc/; revision=8696
2005-10-18 04:08:12 +00:00