Back to home page

Enduro/X

 
 

    


0001 <?xml version="1.0" ?>
0002 <!DOCTYPE doc [
0003 <!ENTITY rqaddr SYSTEM "ndrxconfig.xml.rqaddr">
0004 ]>
0005 <endurox>
0006     <appconfig>
0007         <!-- ALL BELLOW ONES USES <sanity> periodical timer  -->
0008         <!-- Sanity check time, sec -->
0009         <sanity>1</sanity>
0010         <!-- If process have been state changed to other than dead, exit or not running
0011         but PID of program does not exists in system, then send internel message, then 
0012         program have been stopped.
0013         In Seconds.
0014         -->
0015         <checkpm>5</checkpm>
0016         <!--  <sanity> timer, end -->
0017         <!-- ALL BELLOW ONES USES <respawn> periodical timer  -->
0018         <!-- Do process reset after 1 sec -->
0019         <restart_min>1</restart_min>
0020         <!-- If restart fails, then boot after +5 sec of previous wait time -->
0021         <restart_step>10</restart_step>
0022         <!-- If still not started, then max boot time is a 30 sec. -->
0023         <restart_max>30</restart_max>
0024         <!--  <sanity> timer, end -->
0025 
0026         <!-- Time after attach when program will start do sanity & respawn checks,
0027         starts counting after configuration load -->
0028         <restart_to_check>20</restart_to_check>
0029         <!-- Send full service table every 5 seconds -->
0030         <brrefresh>5</brrefresh>
0031     </appconfig>
0032     <defaults>
0033         <min>1</min>
0034         <max>1</max>
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 initialisation, sec -->
0040         <start_max>20</start_max>
0041         <!--
0042         Ping server in every X sanity units
0043         -->
0044         <pingtime>9</pingtime>
0045         <!--
0046         Max number of sanity units in which server must respond.
0047         The granularity is sanity time.
0048         -->
0049         <ping_max>40</ping_max>
0050         <!--
0051         Max time to wait until process should exit on shutdown
0052         -->
0053         <end_max>30</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>20</killtime>
0057     </defaults>
0058     <servers>
0059         <server name="atmi.sv95">
0060             <min>10</min>
0061             <max>10</max>
0062             <srvid>10</srvid>
0063             &rqaddr;
0064             <sysopt>-e ${TESTDIR}/atmisv-dom1.log -r</sysopt>
0065         </server>
0066     </servers>
0067 </endurox>
0068