Commit Graph

1226 Commits

Author SHA1 Message Date
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