Back to home page

Enduro/X

 
 

    


0001 <?xml version="1.0" ?>
0002 <endurox>
0003         <appconfig>
0004                 <!-- ALL BELLOW ONES USES <sanity> periodical timer  -->
0005                 <!-- Sanity check time, sec -->
0006                 <sanity>1</sanity>
0007                 <!-- If process have been state changed to other than dead, exit or not running
0008                 but PID of program does not exists in system, then send internel message, then 
0009                 program have been stopped.
0010                 In Seconds.
0011                 -->
0012                 <checkpm>1</checkpm>
0013                 <!--  <sanity> timer, end -->
0014                 <!-- Do process reset after 1 sec -->
0015                 <restart_min>1</restart_min>
0016                 <!-- If restart fails, then boot after +5 sec of previous wait time -->
0017                 <restart_step>1</restart_step>
0018                 <!-- If still not started, then max boot time is a 30 sec. -->
0019                 <restart_max>30</restart_max>
0020                 <!--  <sanity> timer, end -->
0021 
0022                 <!-- Time after attach when program will start do sanity & respawn checks,
0023                 starts counting after configuration load -->
0024                 <restart_to_check>20</restart_to_check>
0025         </appconfig>
0026         <defaults>
0027                 <min>1</min>
0028                 <max>1</max>
0029 
0030         <!-- Start wait, sec -->
0031         <srvstartwait>1</srvstartwait>
0032         <!-- Stop wait, sec -->
0033         <srvstopwait>1</srvstopwait>
0034 
0035                 <autokill>1</autokill>
0036                 <!-- Do not need respawning! -->
0037                 <respawn>1</respawn>
0038                 <!-- The maximum time while process can hang in 'starting' state i.e.
0039                 have not completed initialization, sec -->
0040                 <start_max>4</start_max>
0041                 <!--
0042                 Ping server in every X seconds (minimum step is <sanity>).
0043                 -->
0044                 <pingtime>2</pingtime>
0045                 <!--
0046                 Max time in seconds in which server must respond.
0047                 The granularity is sanity time.
0048                 -->
0049                 <ping_max>4</ping_max>
0050                 <!--
0051                 Max time to wait until process should exit on shutdown
0052                 -->
0053                 <end_max>4</end_max>
0054                 <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0055                 to process until it have been terminated. -->
0056                 <killtime>1</killtime>
0057         </defaults>
0058         <servers>
0059                 <server name="atmisv_013">
0060                         <srvid>125</srvid>
0061                         <sysopt>-e ${TESTDIR}/atmisv.log -r</sysopt>
0062             <appopt>x__long_start</appopt>
0063                 </server>
0064         <server name="atmisv_013">
0065                         <srvid>126</srvid>
0066                         <sysopt>-e ${TESTDIR}/atmisv.log -r</sysopt>
0067             <appopt>x__no_ping_process</appopt>
0068                 </server>
0069         <server name="atmisv_013">
0070                         <srvid>127</srvid>
0071                         <start_max>2</start_max>
0072                         <sysopt>-e ${TESTDIR}/atmisv.log -r</sysopt>
0073                         <appopt>x__long_stop</appopt>
0074                 </server>
0075         </servers>
0076 </endurox>