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         <checkpm>1</checkpm>
0008         <!--  <sanity> timer, end -->
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>10</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>20</restart_to_check>
0020         <!-- Send full service table every 5 seconds -->
0021         <brrefresh>5</brrefresh>
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>20</start_max>
0032         <!--
0033         Ping server in every X seconds (minimum step is <sanity>).
0034         -->
0035         <pingtime>9</pingtime>
0036         <!--
0037         Max time in seconds in which server must respond.
0038         The granularity is sanity time.
0039         -->
0040         <ping_max>40</ping_max>
0041         <!--
0042         Max time to wait until process should exit on shutdown
0043         -->
0044         <end_max>30</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>20</killtime>
0048     </defaults>
0049     <servers>
0050         <server name="atmisv40">
0051             <min>2</min>
0052             <max>2</max>
0053             <srvid>10</srvid>
0054             <sysopt>-e ${TESTDIR}/atmisv-dom2.log -r -xTEST40_V2JSON:VIEW2JSON -xTEST40_JSON2V:JSON2VIEW </sysopt>
0055         </server>
0056         <server name="tpbridge">
0057             <min>1</min>
0058             <max>1</max>
0059             <srvid>101</srvid>
0060             <!-- <fullpath>/usr/local/bin/xtpbridge</fullpath> -->
0061             <sysopt>-e ${TESTDIR}/tpbridge-dom2.log -r</sysopt>
0062             <appopt>-f -n1 -r -i 0.0.0.0 -p 20003 -tP -z30 -P0</appopt>
0063         </server>
0064     </servers>
0065 </endurox>