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