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         <!--  <sanity> timer, end -->
0008 
0009         <!-- Do process reset after 1 sec -->
0010         <restart_min>1</restart_min>
0011         <!-- If restart fails, then boot after +5 sec of previous wait time -->
0012         <restart_step>1</restart_step>
0013         <!-- If still not started, then max boot time is a 30 sec. -->
0014         <restart_max>30</restart_max>
0015         <!--  <sanity> timer, end -->
0016 
0017         <!-- Time after attach when program will start do sanity & respawn checks,
0018         starts counting after configuration load -->
0019         <restart_to_check>2</restart_to_check>
0020     </appconfig>
0021     <defaults>
0022         <min>1</min>
0023         <max>1</max>
0024         <autokill>1</autokill>
0025         <!-- Do not need respawning! -->
0026         <respawn>3</respawn>
0027         <!-- The maximum time while process can hang in 'starting' state i.e.
0028         have not completed initialization, sec -->
0029         <start_max>8</start_max>
0030         <!--
0031         Ping server in every X seconds (minimum step is <sanity>).
0032         -->
0033         <pingtime>0</pingtime>
0034         <!--
0035         Max time in seconds in which server must respond.
0036         The granularity is sanity time.
0037         -->
0038         <ping_max>0</ping_max>
0039         <!--
0040         Max time to wait until process should exit on shutdown
0041         -->
0042         <end_max>3</end_max>
0043         <!-- Interval, in seconds, by which signal sequence -2, -15, -9, -9.... will be sent
0044         to process until it have been terminated. -->
0045         <killtime>1</killtime>
0046     </defaults>
0047     <servers>
0048         <!-- This will be bad one, killed.. -->
0049         <server name="atmisv_010">
0050             <srvid>1341</srvid>
0051             <sysopt>-e ${TESTDIR}/atmisv1.log -r</sysopt>
0052             <appopt>BAD</appopt>
0053         </server>
0054         <server name="atmisv_010">
0055             <min>0</min>
0056             <max>1</max>
0057             <srvid>2411</srvid>
0058             <sysopt>-e ${TESTDIR}/atmisv2.log -r</sysopt>
0059             <appopt>OK</appopt>
0060         </server>
0061     </servers>
0062 </endurox>