Commit Graph

65 Commits

Author SHA1 Message Date
David Anderson 834bb6b4d3 - server (start script and server_status.php):
Support projects (e.g. Einstein@home) in which server components run on
    machines with no shared filesystem.
    From Bernd.
2013-03-04 17:19:39 +01:00
David Anderson fd8de35b23 - start script: don't write error message if period task is already
running, and output is not a TTY (i.e., cron).
    Otherwise admin gets a lot of spurious emails.

svn path=/trunk/boinc/; revision=22723
2010-11-19 18:42:44 +00:00
David Anderson 19f7d66b53 - backend programs: change the way PFC and elapsed-time statistics
are written to the DB.
    The incremental approach was bogus.
    New approach:
    host_app_version: write directly; R/W interval is tiny
    app_version: maintain an explicit list of update samples
        for both PFC and credit.
        When the validator flushes its app_version cache,
        do careful updates.
    Note: when using double fields in careful updates,
    you can't test for equality.  Use abs(new-old) < 1e-N

svn path=/trunk/boinc/; revision=21057
2010-04-02 19:10:37 +00:00
David Anderson 8e51669769 - tweak to start
svn path=/trunk/boinc/; revision=19201
2009-09-28 16:19:20 +00:00
David Anderson 75d2a45491 - server programs: add --help and --version cmdline options to all.
From Nils Chr. Brause.

svn path=/trunk/boinc/; revision=19079
2009-09-17 17:56:59 +00:00
David Anderson 577f14ff49 - python scripts: fix bugs, restore latest version of "start"
svn path=/trunk/boinc/; revision=18424
2009-06-15 23:24:15 +00:00
David Anderson 311815e60a - server: backed out recent changes to "start"; they broke something
svn path=/trunk/boinc/; revision=18403
2009-06-12 22:25:22 +00:00
David Anderson ae6b6f5d6f - server: 'start' now looks for programs to execute in $PATH,
so the same set of binaries can be used to handle multiple projects.
    <projectroot>/bin is always prepended to $PATH
    to ensure that project-specific binaries always take precedence.
    From Gabor Gombas.

svn path=/trunk/boinc/; revision=18377
2009-06-11 16:09:28 +00:00
David Anderson b7406ef57c - server: make the python code honor BOINC_PROJECT_PATH.
It is now possible to use the same set of tools for multiple
    projects by setting BOINC_PROJECT_PATH.
    From Gabor Gombas.

svn path=/trunk/boinc/; revision=18376
2009-06-11 16:06:25 +00:00
David Anderson 4cf6b7793c - server: move python modules from PROJECT/bin to PROJECT/py/Boinc.
make_project now generates PROJECT/bin/boinc_path_config.py
    to ensure that the interpreter will find the modules.
    From Gabor Gombas.

svn path=/trunk/boinc/; revision=18374
2009-06-11 15:38:48 +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 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 985a39c99f svn path=/trunk/boinc/; revision=12409 2007-04-17 23:08:24 +00:00
David Anderson 3433f87bcf *** empty log message ***
svn path=/trunk/boinc/; revision=11747
2006-12-30 18:11:25 +00:00
David Anderson c6ee2edf87 *** empty log message ***
svn path=/trunk/boinc/; revision=11738
2006-12-29 19:01:03 +00:00
David Anderson b7a7cd825f *** empty log message ***
svn path=/trunk/boinc/; revision=5151
2005-01-20 18:50:49 +00:00
David Anderson a65c68db19 *** empty log message ***
svn path=/trunk/boinc/; revision=5139
2005-01-18 23:35:53 +00:00
David Anderson f246536c6b *** empty log message ***
svn path=/trunk/boinc/; revision=4645
2004-11-24 07:17:46 +00:00
Matt Lebofsky 314ba22cc2 added always_run functionality
svn path=/trunk/boinc/; revision=4446
2004-10-27 21:04:15 +00:00
Eric J. Korpela 463b35b424 *** empty log message ***
svn path=/trunk/boinc/; revision=3967
2004-08-03 16:42:22 +00:00
Rom Walton 823b36a7d4 *** empty log message ***
svn path=/trunk/boinc/; revision=3958
2004-07-28 02:04:02 +00:00
Rom Walton d500581e8d *** empty log message ***
svn path=/trunk/boinc/; revision=3957
2004-07-28 01:26:36 +00:00
Karl Chen e9fe74dcd3 *** empty log message ***
svn path=/trunk/boinc/; revision=3862
2004-07-13 12:55:22 +00:00
Karl Chen c7d62352ae *** empty log message ***
svn path=/trunk/boinc/; revision=3566
2004-06-14 11:19:07 +00:00
Rom Walton 80ecf2632d *** empty log message ***
svn path=/trunk/boinc/; revision=3564
2004-06-14 01:51:04 +00:00
David Anderson 6ac981446e *** empty log message ***
svn path=/trunk/boinc/; revision=3555
2004-06-13 17:58:18 +00:00
David Anderson 673c7f817e *** empty log message ***
svn path=/trunk/boinc/; revision=3540
2004-06-11 22:51:54 +00:00
Karl Chen 44fccc448b *** empty log message ***
svn path=/trunk/boinc/; revision=3535
2004-06-11 10:20:07 +00:00
Karl Chen 9dcc18cb1a *** empty log message ***
svn path=/trunk/boinc/; revision=3534
2004-06-11 10:13:38 +00:00
Karl Chen b6f6a6298e *** empty log message ***
svn path=/trunk/boinc/; revision=3533
2004-06-11 10:10:59 +00:00
Karl Chen e1a178a17f *** empty log message ***
svn path=/trunk/boinc/; revision=3532
2004-06-11 09:54:24 +00:00
Karl Chen ebb30e74e2 *** empty log message ***
svn path=/trunk/boinc/; revision=3531
2004-06-11 09:54:23 +00:00
David Anderson ab6fef1741 *** empty log message ***
svn path=/trunk/boinc/; revision=3527
2004-06-10 19:43:54 +00:00
Karl Chen a66b29e370 *** empty log message ***
svn path=/trunk/boinc/; revision=3501
2004-06-04 12:01:17 +00:00
David Anderson d0cd37de2f *** empty log message ***
svn path=/trunk/boinc/; revision=3458
2004-05-27 19:32:32 +00:00
David Anderson 4da64d19a4 fixed time.time() bug - occasionally keeping cron jobs from starting
instead of time.time() all over the code, there is a
  right_now = int(time.time()) at the beginning which is
  used instead of time.time() (so there aren't different times
  being set at different points of the code's execution)

svn path=/trunk/boinc/; revision=3376
2004-05-13 17:00:52 +00:00
David Anderson 000b18f565 *** empty log message ***
svn path=/trunk/boinc/; revision=3314
2004-05-03 19:30:01 +00:00
David Anderson dbe8420aad *** empty log message ***
svn path=/trunk/boinc/; revision=3309
2004-04-30 19:33:05 +00:00
David Anderson 34b855f7f5 *** empty log message ***
svn path=/trunk/boinc/; revision=2987
2004-02-12 01:13:47 +00:00
David Anderson 42f768437c *** empty log message ***
svn path=/trunk/boinc/; revision=2876
2004-01-14 20:24:24 +00:00
Karl Chen 73e397f703 *** empty log message ***
svn path=/trunk/boinc/; revision=2866
2004-01-13 02:47:34 +00:00
David Anderson 2e433b6cac *** empty log message ***
svn path=/trunk/boinc/; revision=2837
2003-12-30 19:29:54 +00:00
David Anderson 18d8b5dd6c *** empty log message ***
svn path=/trunk/boinc/; revision=2821
2003-12-23 19:21:52 +00:00
David Anderson 1bdf611926 *** empty log message ***
svn path=/trunk/boinc/; revision=2807
2003-12-18 00:22:25 +00:00
David Anderson a5a72070cd *** empty log message ***
svn path=/trunk/boinc/; revision=2752
2003-12-06 19:42:21 +00:00
David Anderson 6e51577a02 *** empty log message ***
svn path=/trunk/boinc/; revision=2736
2003-12-02 22:47:32 +00:00
Karl Chen 6a66e1207f python overhaul
svn path=/trunk/boinc/; revision=2246
2003-09-04 05:07:17 +00:00
Karl Chen fc9cc62570 *** empty log message ***
svn path=/trunk/boinc/; revision=1822
2003-07-25 23:57:26 +00:00
Karl Chen 7c49dbee0f *** empty log message ***
svn path=/trunk/boinc/; revision=1821
2003-07-25 23:57:25 +00:00
Karl Chen 3c73d38ed6 *** empty log message ***
svn path=/trunk/boinc/; revision=1820
2003-07-25 23:57:24 +00:00