Changeset 3411
- Timestamp:
- May 30, 2007, 4:41:36 PM (16 years ago)
- Location:
- trunk/doc/src/docbook/appendix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/src/docbook/appendix/jobagent.properties.xml
r3365 r3411 49 49 <listitem> 50 50 <para> 51 Required. The BASE user account the job agent should use to login51 Required. The BASE user account used by the job agent to log on 52 52 to the BASE server. The user account must have sufficient privileges 53 53 to access jobs and job agents. The <emphasis>Job agent</emphasis> 54 54 role is a predefined role with all permissions a job agent needs. 55 There is also a predefined user account with the login55 There is also a predefined user account with the user name 56 56 <emphasis>jobagent</emphasis>. This account is disabled by default and 57 57 has to be enabled and given a password before it can be used. … … 64 64 <listitem> 65 65 <para> 66 Required. The password for the user account.66 Required. The password for the job agent user account. 67 67 </para> 68 68 </listitem> … … 130 130 <listitem> 131 131 <para> 132 Optional. A comma-separated list of ipaddresses or names of132 Optional. A comma-separated list of IP addresses or names of 133 133 computers that are allowed to send control requests to the job 134 134 agent. If no value is specified, only the local host is allowed … … 177 177 <listitem> 178 178 <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>. 183 186 </para> 184 187 </listitem> … … 207 210 <itemizedlist> 208 211 <listitem> 212 <term> 213 <classname>net.sf.basedb.clients.jobagent.executors.ProcessJobExecutor</classname> 214 </term> 209 215 <para> 210 <classname>net.sf.basedb.clients.jobagent.executors.ProcessJobExecutor</classname>:211 216 Executes the job in an 212 217 external process. This is the recommended executor and is the default 213 choice if no value has been specified. With this executor a218 choice if no value has been specified. With this executor, a 214 219 misbehaving plugin doesn't affect the job agent or other jobs. 215 220 The drawback is that since a new virtual machine has to be started, 216 more memory is required and the start up time can be long.221 more memory is required and the start up time can be long. 217 222 </para> 218 223 </listitem> … … 223 228 Executes the job in a separate thread. This is only recommended 224 229 for plugins that are trusted and safe. A misbehaving plugin can affect the job agent 225 and other jobs, but the start up time is short and less memory230 and other jobs, but the start up time is short and less memory 226 231 is used. 227 232 </para> … … 289 294 <listitem> 290 295 <para> 291 Optional. Number of seconds between checks tothe database296 Optional. Number of seconds between querying the database 292 297 for jobs that are waiting for execution. The default value 293 298 is 30 seconds. … … 303 308 304 309 <para> 305 The job agent doesn't execute an y number of jobs at the same time.310 The job agent doesn't execute an arbitrary number of jobs simultaneously. 306 311 This would sooner or later break the server. Instead, it uses a 307 312 simple system with four different slots. Each slot is reserved for … … 312 317 313 318 <para> 314 With each slot is also associated a thread priority. The priority319 A thread priority is associated with each slot. The priority 315 320 is a value between 1 and 10 as defined by the 316 321 <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 32 32 <para> 33 33 The <filename>jobagent.sh</filename> (or <filename>jobagent.bat</filename> on 34 Windows) is a command-line uti tlity for controlling the job agent.34 Windows) is a command-line utility for controlling the job agent. 35 35 The syntax is: 36 36 … … 43 43 The options are optional, but a <command>command</command> 44 44 must always be given. The script is located in the 45 <filename><base-dir>/bin</filename> dire tory and you must45 <filename><base-dir>/bin</filename> directory and you must 46 46 change to that directory to be able to use the script. 47 47 </para> … … 102 102 <para> 103 103 Start the job agent. As soon as it is up and running it will 104 check the dat base for jobs that are waiting to be executed.104 check the database for jobs that are waiting to be executed. 105 105 </para> 106 106 </listitem> … … 145 145 running, the ID is given. In the future, the <command>info</command> 146 146 command may output more information. For example, there is already 147 infrastructure code for cpuand memory usage. The only problem is147 infrastructure code for CPU and memory usage. The only problem is 148 148 that the information isn't easy to get for a Java program. 149 149 </para>
Note: See TracChangeset
for help on using the changeset viewer.