Ignore:
Timestamp:
May 30, 2007, 4:41:36 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Fixes #601.

Location:
trunk/doc/src/docbook/appendix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/src/docbook/appendix/jobagent.properties.xml

    r3365 r3411  
    4949      <listitem>
    5050        <para>
    51           Required. The BASE user account the job agent should use to login
     51          Required. The BASE user account used by the job agent to log on
    5252          to the BASE server. The user account must have sufficient privileges
    5353          to access jobs and job agents. The <emphasis>Job agent</emphasis>
    5454          role is a predefined role with all permissions a job agent needs.
    55           There is also a predefined user account with the login
     55          There is also a predefined user account with the user name
    5656          <emphasis>jobagent</emphasis>. This account is disabled by default and
    5757          has to be enabled and given a password before it can be used.
     
    6464      <listitem>
    6565        <para>
    66           Required. The password for the user account.
     66          Required. The password for the job agent user account.
    6767        </para>
    6868      </listitem>
     
    130130      <listitem>
    131131        <para>
    132           Optional. A comma-separated list of ip addresses or names of
     132          Optional. A comma-separated list of IP addresses or names of
    133133          computers that are allowed to send control requests to the job
    134134          agent. If no value is specified, only the local host is allowed
     
    177177      <listitem>
    178178        <para>
    179           Optional. If the <command>start</command> command should be
    180           accepted from remote hosts specified in the <property>agent.remotecontrol</property> setting.
    181           If <constant>false</constant>, only the local host is allowed to
    182           start the job agent when it's paused. The default value is <constant>true</constant>.
     179          Optional, valid only when job agent is paused. If
     180          the <command>start</command> command should be accepted from
     181          remote hosts specified in
     182          the <property>agent.remotecontrol</property> setting.
     183          If <constant>false</constant>, only the local host is
     184          allowed to start the job agent when it is paused. The
     185          default value is <constant>true</constant>.
    183186        </para>
    184187      </listitem>
     
    207210          <itemizedlist>
    208211          <listitem>
     212            <term>
     213            <classname>net.sf.basedb.clients.jobagent.executors.ProcessJobExecutor</classname>
     214            </term>
    209215            <para>
    210             <classname>net.sf.basedb.clients.jobagent.executors.ProcessJobExecutor</classname>:
    211216            Executes the job in an
    212217            external process. This is the recommended executor and is the default
    213             choice if no value has been specified. With this executor a
     218            choice if no value has been specified. With this executor, a
    214219            misbehaving plugin doesn't affect the job agent or other jobs.
    215220            The drawback is that since a new virtual machine has to be started,
    216             more memory is required and the startup time can be long.
     221            more memory is required and the start up time can be long.
    217222            </para>
    218223          </listitem>
     
    223228            Executes the job in a separate thread. This is only recommended
    224229            for plugins that are  trusted and safe. A misbehaving plugin can affect the job agent
    225             and other jobs, but the startup time is short and less memory
     230            and other jobs, but the start up time is short and less memory
    226231            is used.
    227232            </para>
     
    289294      <listitem>
    290295        <para>
    291           Optional. Number of seconds between checks to the database
     296          Optional. Number of seconds between querying the database
    292297          for jobs that are waiting for execution. The default value
    293298          is 30 seconds.
     
    303308   
    304309    <para>
    305       The job agent doesn't execute any number of jobs at the same time.
     310      The job agent doesn't execute an arbitrary number of jobs simultaneously.
    306311      This would sooner or later break the server. Instead, it uses a
    307312      simple system with four different slots. Each slot is reserved for
     
    312317   
    313318    <para>
    314       With each slot is also associated a thread priority. The priority
     319      A thread priority is associated with each slot. The priority
    315320      is a value between 1 and 10 as defined by the
    316321      <ulink url="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html"
  • trunk/doc/src/docbook/appendix/jobagent.sh.xml

    r3376 r3411  
    3232  <para>
    3333    The <filename>jobagent.sh</filename> (or <filename>jobagent.bat</filename> on
    34     Windows) is a command-line utitlity for controlling the job agent.
     34    Windows) is a command-line utility for controlling the job agent.
    3535    The syntax is:
    3636
     
    4343    The options are optional, but a <command>command</command>
    4444    must always be given. The script is located in the
    45     <filename>&lt;base-dir&gt;/bin</filename> diretory and you must
     45    <filename>&lt;base-dir&gt;/bin</filename> directory and you must
    4646    change to that directory to be able to use the script.
    4747  </para>
     
    102102        <para>
    103103          Start the job agent. As soon as it is up and running it will
    104           check the datbase for jobs that are waiting to be executed.
     104          check the database for jobs that are waiting to be executed.
    105105        </para>
    106106      </listitem>
     
    145145          running, the ID is given. In the future, the <command>info</command>
    146146          command may output more information. For example, there is already
    147           infrastructure code for cpu and memory usage. The only problem is
     147          infrastructure code for CPU and memory usage. The only problem is
    148148          that the information isn't easy to get for a Java program.
    149149        </para>
Note: See TracChangeset for help on using the changeset viewer.