Add a new parameter "relcache_size".
authorNozomi Anzai <anzai@sraoss.co.jp>
Tue, 5 Jun 2012 07:26:38 +0000 (16:26 +0900)
committerNozomi Anzai <anzai@sraoss.co.jp>
Tue, 5 Jun 2012 07:26:38 +0000 (16:26 +0900)
common.php
definePgpoolConfParam.php
lang/en.lang.php
lang/ja.lang.php
templates/help/en/pgconfig.tpl
templates/help/ja/pgconfig.tpl
templates/pgconfig.tpl

index a6d48e24a6515759048a0cc16a7b0505bc050071..0d667b0738bfc6f351ec0ea63a2833d08913c2c4 100644 (file)
@@ -545,6 +545,7 @@ function paramExists($param)
         case 'memqcache_oiddir':
         case 'white_memqcache_table_lsit':
         case 'black_memqcache_table_list':
+        case 'relcache_size':
             $add_version = 3.2;
             break;
 
index 59d621af869f6e4148a18b9e0b877cf655c03775..5c009859dfad375d16254a9c5ec46d254782de06 100644 (file)
@@ -597,6 +597,12 @@ $pgpoolConfigParam[$key]['default'] = 0;
 $pgpoolConfigParam[$key]['min'] = 0;
 $pgpoolConfigParam[$key]['max'] = NUM_MAX;
 
+$key = 'relcache_size';
+$pgpoolConfigParam[$key]['type'] = 'N';
+$pgpoolConfigParam[$key]['default'] = 0;
+$pgpoolConfigParam[$key]['min'] = 0;
+$pgpoolConfigParam[$key]['max'] = NUM_MAX;
+
 #------------------------------------------------------------------------------
 # Deleted
 #------------------------------------------------------------------------------
index 951d540d874ab38fd1cfb842c021068ff340c568..e115c578a30f889c19691b0644e835ce69f88868 100644 (file)
@@ -108,6 +108,7 @@ $message = array(
     'descRecovery_2nd_stage_command' => 'Recovery command to be excuted on the second stage',
     'descRecovery_timeout' => 'Number of seconds to wait for online recovery to complete. 0 means no wait',
     'descRelcache_expire' => 'Life time of relation cache in seconds',
+    'descRelcache_size' => 'Size of relation cache in bytes',
     'descReplication_mode' => 'Set this to true if you are going to use replication functionality',
     'descReplication_stop_on_mismatch' => 'Stop replication mode on data mismatch between master and secondary',
     'descReplicate_select' => 'If true, replicate SELECT queries. If false, send only to master',
index c3a0bc65564dc181aedcfb6ae9b590b2545095bb..974b6329e26ddc13b4f04660af68b36351a3e2ad 100644 (file)
@@ -99,6 +99,7 @@ $message = array(
     'descRecovery_2nd_stage_command' => 'オンラインリカバリ第2ステージで実行するコマンド',
     'descRecovery_timeout' => 'オンラインリカバリ終了までの待ち時間(秒)。0 は待ち時間無し',
     'descRelcache_expire' => 'システムカタログキャッシュの有効時間(秒)',
+    'descRelcache_size' => 'システムカタログキャッシュのサイズ(バイト)',
     'descReplication_mode' => 'レプリケーションモードの有効化',
     'descReplication_stop_on_mismatch' => 'マスタ/セカンダリ間のデータ不一致時に縮退運転',
     'descReplicate_select' => 'SELECT 文のレプリケーション',
index 926bd4314363f4ddf960f4cd384c012fbdbab555..f3f9d26b0462cb4fd139a9d4fd5c0b956284bf4a 100644 (file)
@@ -147,6 +147,7 @@ Please push the delete button at the right of the host setting when you want to
       </td>
     </tr>
 
+    {if paramExists('ssl')}
     <tr><th class="category" colspan="2">SSL Connections</th></tr>
 
     <tr>
@@ -206,6 +207,7 @@ Please push the delete button at the right of the host setting when you want to
       <td>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -447,6 +449,7 @@ Please push the delete button at the right of the host setting when you want to
       </td>
     </tr>
 
+    {if paramExists('backend_flag')}
     <tr>
       <th id="BACKEND_FLAG"><label>{$message.descBackend_flag|escape}</label>
       <p>backend_flag (string) *</th>
@@ -476,6 +479,7 @@ Please push the delete button at the right of the host setting when you want to
         </table>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -495,6 +499,7 @@ Please push the delete button at the right of the host setting when you want to
     </tr>
   </thead>
   <tbody>
+    {if paramExists('log_destination')}
     <tr><th class="category" colspan="2">Where to log</th></tr>
 
     <tr>
@@ -517,6 +522,7 @@ local0.*    /var/log/pgpool.log
           <p>to the syslog daemon's configuration file to make it work.</p>
       </td>
     </tr>
+    {/if}
 
     <tr><th class="category" colspan="2">What to log</th></tr>
 
@@ -559,6 +565,7 @@ local0.*    /var/log/pgpool.log
       </td>
     </tr>
 
+    {if paramExists('log_per_node_statement')}
     <tr>
       <th id~"LOG_PER_NODE_STATEMENT"><label>{$message.descLog_per_node_statement|escape}</label>
       <p>log_per_node_statement (bool)</th>
@@ -569,7 +576,9 @@ local0.*    /var/log/pgpool.log
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('log_standby_delay')}
     <tr>
       <th id="LOG_STANDBY_DELAY"><label>{$message.descLog_standby_delay|escape}</label>
       <p>log_standby_delay (string)</th>
@@ -585,7 +594,9 @@ local0.*    /var/log/pgpool.log
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('syslog_facility')}
     <tr><th class="category" colspan="2">Syslog specific</th></tr>
 
     <tr>
@@ -608,7 +619,9 @@ local0.*    /var/log/pgpool.log
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('debug_level')}
     <tr><th class="category" colspan="2">Debug</th></tr>
 
     <tr>
@@ -621,6 +634,7 @@ local0.*    /var/log/pgpool.log
         </p>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -649,6 +663,7 @@ local0.*    /var/log/pgpool.log
       </td>
     </tr>
 
+    {if paramExists('pid_file_name')}
     <tr>
       <th id="PID_FILE_NAME"><label>{$message.descPid_file_name|escape}</label>
       <p>pid_file_name (string) *</th>
@@ -658,6 +673,7 @@ local0.*    /var/log/pgpool.log
         </p>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -809,6 +825,7 @@ COMMIT;
       </td>
     </tr>
 
+    {if paramExists('lobj_lock_table')}
     <tr>
       <th id="LOBJ_LOCK_TABLE"><label>{$message.descLobj_lock_table|escape}</label>
       <p>lobj_lock_table (string)</th>
@@ -832,6 +849,7 @@ COMMIT;
         </p>
       </td>
     </tr>
+    {/if}
 
    <tr><th class="category" colspan="2">Degenerate handling</th></tr>
 
@@ -856,6 +874,7 @@ COMMIT;
       </td>
     </tr>
 
+    {if paramExists('failover_if_affected_tuples_mismatch')}
     <tr>
       <th id="FAILOVER_IF_AFFECTED_TUPLES_MISMATCH"><label>{$message.descFailover_if_affected_tuples_mismatch|escape}</label>
       <p>failover_if_affected_tuples_mismatch (bool)</th>
@@ -871,7 +890,9 @@ COMMIT;
         degenerated. Default is false.</p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('fail_over_on_backend_error')}
     <tr>
       <th id="FAIL_OVER_ON_BACKEND_ERROR"><label>{$message.descFail_over_on_backend_error|escape}</label>
       <p>fail_over_on_backend_error</th>
@@ -886,6 +907,7 @@ COMMIT;
         </p>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -926,6 +948,7 @@ COMMIT;
       </td>
     </tr>
 
+    {if paramExists('white_function_list')}
     <tr>
       <th id="WHITE_FUNCTION_LIST"><label>{$message.descWhite_function_list|escape}</label>
       <p>white_function_list (string)</th>
@@ -982,6 +1005,7 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -1015,6 +1039,7 @@ black_function_list = 'nextval,setval,lastval,currval'
       </td>
     </tr>
 
+    {if paramExists('sr_check_period')}
     <tr><th class="category" colspan="2">Streaming</th></tr>
 
     <tr>
@@ -1053,7 +1078,9 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('delay_threshold')}
     <tr>
      <th id="DELAY_THRESHOLD"><label>{$message.descDelay_threshold|escape}</label>
       <p>delay_threshold (integer)</th>
@@ -1069,7 +1096,9 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('follow_master_command')}
     <tr><th class="category" colspan="2">Special commands</th></tr>
     <tr>
      <th id="FOLLOW_MASTER_COMMAND"><label>{$message.descFollow_master_command|escape}</label>
@@ -1109,6 +1138,7 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
      </tr>
+     {/if}
   </tbody>
   <tfoot>
     <tr>
@@ -1141,6 +1171,7 @@ black_function_list = 'nextval,setval,lastval,currval'
       </td>
     </tr>
 
+    {if paramExists('enable_query_cache')}
     <tr>
       <th id="ENABLE_QUERY_CACHE"><label>{$message.descEnable_query_cache|escape}</label>
       <p>enable_query_cache *</th>
@@ -1151,6 +1182,7 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
     <tr>
       <th id="PGPOOL2_HOSTNAME"><label>{$message.descPgpool2_hostname|escape}</label>
@@ -1280,6 +1312,7 @@ black_function_list = 'nextval,setval,lastval,currval'
       </td>
     </tr>
 
+    {if paramExists('health_check_password')}
     <tr>
       <th id="HEALTH_CHECK_PASSWORD"><label>{$message.descHealth_check_password|escape}</label>
       <p>health_check_password (string)</th>
@@ -1287,7 +1320,9 @@ black_function_list = 'nextval,setval,lastval,currval'
         <p>The password of the user to perform health check.</p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('health_check_max_retries')}
     <tr>
       <th id="HEALTH_CHECK_MAX_RETRIES"><label>{$message.descHealth_check_max_retries|escape}</label>
       <p>health_check_max_retries (integer)</th>
@@ -1302,7 +1337,9 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('health_check_retry_delay')}
     <tr>
       <th id="HEALTH_CHECK_RETRY_DELAY"><label>{$message.descHealth_check_retry_delay|escape}</label>
       <p>health_check_retry_delay (integer)</th>
@@ -1314,6 +1351,7 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
   </tbody>
   <tfoot>
     <tr>
@@ -1504,6 +1542,7 @@ black_function_list = 'nextval,setval,lastval,currval'
       </td>
     </tr>
 
+    {if paramExists('client_idle_limit_in_recovery')}
     <tr>
       <th id="CLIENT_IDLE_LIMIT_IN_RECOVERY"><label>{$message.descClient_idle_limit_in_recovery|escape}</label>
       <p>client_idle_limit_in_recovery (integer)</th>
@@ -1526,6 +1565,7 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -1536,6 +1576,7 @@ black_function_list = 'nextval,setval,lastval,currval'
 </table>
 
 
+{if hasMemqcache()}
 <h3><a name="memqcache" id="memqcache">On Memory Query Cache</a></h3>
 
 <table>
@@ -1735,8 +1776,10 @@ black_function_list = 'nextval,setval,lastval,currval'
     </tr>
   </tfoot>
 </table>
+{/if}
 
 
+{if paramExists('relcache_expire')}
 <h3><a name="others">Others</a></h3>
 
 <table>
@@ -1768,6 +1811,20 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+
+    {if paramExists('relcache_size')}
+        <tr>
+          <th id="RELCACHE_SIZE"><label>{$message.descRelcache_size|escape}</label>
+          <p>relcache_size (integer)</th>
+          <td>
+          <p>Size of relation cache in seconds. Default is 256.
+          If you see following message frequently, increase the number. </p>
+<pre>
+"pool_search_relcache: cache replacement happend"
+</pre>
+          </td>
+        </tr>
+    {/if}
   </tbody>
   <tfoot>
     <tr>
@@ -1775,6 +1832,7 @@ black_function_list = 'nextval,setval,lastval,currval'
     </tr>
   </tfoot>
 </table>
+{/if}
 
 </div>
 <hr class="hidden" />
index adf4607c09b74f710863396e52684d3053364724..e3312a897c60b457aa3d0ed800cab3a908602908 100644 (file)
       </td>
     </tr>
 
+    {if paramExists('ssl')}
     <tr><th class="category" colspan="2">SSL Connections</th></tr>
 
     <tr>
       <td>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
     </tr>
   </thead>
   <tbody>
+    {if paramExists('backend_socket_dir')}
     <tr>
       <th id="BACKEND_SOCKET_DIR"><label>{$message.descBackend_socket_dir|escape}</label>
       <p>backend_socket_dir (string) *</th>
       <td>PostgreSQL サーバの Unix domain socket のディレクトリです。</p>
        <p>デフォルト値は'/tmp'です。</td>
     </tr>
+    {/if}
 
     <tr>
       <th id="BACKEND_HOSTNAME"><label>{$message.descBackend_hostname|escape}</label>
       </td>
     </tr>
 
+    {if paramExists('backend_flag')}
     <tr>
       <th id="BACKEND_FLAG"><label>{$message.descBackend_flag|escape}</label>
       <p>backend_flag (string) *</th>
         </table>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
   <tbody>
     <tr><th class="category" colspan="2">Where to log</th></tr>
 
+    {if paramExists('log_destination')}
     <tr>
       <th id="LOG_DESTINATION"><label>{$message.descLog_destination|escape}</label>
       <p>log_destination (string) *</th>
         </p>
         <p>
         pgpool-II は、syslog ファシリティ LOCAL0 から LOCAL7 までにログを書くことができます
-        (syslog_facilityをご覧ください)。
+        (<a href="#SYSLOG_FACILITY">syslog_facility</a> をご覧ください)。
         しかし、ほとんどのデフォルトの syslog 設定は、そのようなメッセージを廃棄してしまいます。
         そこで、syslog デーモンの以下のような設定が必要になります。
         </p>
-        <pre>
+<pre>
 local0.*    /var/log/pgpool.log
-        </pre>
+</pre>
       </td>
     </tr>
+    {/if}
 
     <tr><th class="category" colspan="2">What to log</th></tr>
 
@@ -618,6 +626,7 @@ local0.*    /var/log/pgpool.log
       </td>
     </tr>
 
+    {if paramExists('syslog_facility')}
     <tr><th class="category" colspan="2">Syslog specific</th></tr>
 
     <tr>
@@ -643,7 +652,9 @@ local0.*    /var/log/pgpool.log
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('debug_level')}
     <tr><th class="category" colspan="2">Debug</th></tr>
 
     <tr>
@@ -661,6 +672,7 @@ local0.*    /var/log/pgpool.log
         </p>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -689,6 +701,7 @@ local0.*    /var/log/pgpool.log
       <p>デフォルト値は '/tmp' です。</p></td>
     </tr>
 
+    {if paramExists('pid_file_name')}
     <tr>
       <th id="PID_FILE_NAME"><label>{$message.descPid_file_name|escape}</label>
       <p>pid_file_name (string) *</th>
@@ -696,6 +709,7 @@ local0.*    /var/log/pgpool.log
       <p>pgpool-II の pid file(プロセス IDを 格納したファイル)のフルパス名です。</p>
       <p>デフォルト値は'/var/run/pgpool/pgpool.pid'です。</p></td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -856,6 +870,7 @@ COMMIT;
       </td>
     </tr>
 
+    {if paramExists('lobj_lock_table')}
     <tr>
       <th id="LOBJ_LOCK_TABLE"><label>{$message.descLobj_lock_table|escape}</label>
       <p>lobj_lock_table (string)</th>
@@ -875,6 +890,7 @@ COMMIT;
         </p>
       </td>
     </tr>
+    {/if}
 
    <tr><th class="category" colspan="2">Degenerate handling</th></tr>
 
@@ -906,6 +922,7 @@ COMMIT;
       </td>
     </tr>
 
+    {if paramExists('failover_if_affected_tuples_mismatch')}
     <tr>
       <th id="FAIL_OVER_IF_AFFECTED_TUPLES_MISMATCH"><label>{$message.descFailover_if_affected_tuples_mismatch|escape}</label>
       <p>failover_if_affected_tuples_mismatch (bool)</th>
@@ -926,7 +943,9 @@ COMMIT;
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('fail_over_on_backend_error')}
     <tr>
       <th id="FAIL_OVER_ON_BACKEND_ERROR"><label>{$message.descFail_over_on_backend_error|escape}</label>
       <p>fail_over_on_backend_error</th>
@@ -942,6 +961,7 @@ COMMIT;
         </p>
       </td>
     </tr>
+    {/if}
 
     <tr>
       <th id="REPLICATION_TIMEOUT"><label>{$message.descReplication_timeout|escape}</label>
@@ -980,6 +1000,7 @@ COMMIT;
       </td>
     </tr>
 
+    {if paramExists('ignore_leading_white_space')}
     <tr>
       <th id="IGNORE_LEADING_WHITE_SPACE"><label>{$message.descIgnore_leading_white_space|escape}</label>
       <p>ignore_leading_white_space (bool)</th>
@@ -991,7 +1012,9 @@ COMMIT;
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('white_function_list')}
     <tr>
       <th id="WHITE_FUNCTION_LIST"><label>{$message.descWhite_function_list|escape}</label>
       <p>white_function_list (string)</th>
@@ -1053,6 +1076,7 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -1082,6 +1106,7 @@ black_function_list = 'nextval,setval,lastval,currval'
       </td>
     </tr>
 
+    {if paramExists('sr_check_period')}
     <tr><th class="category" colspan="2">Streaming</th></tr>
 
     <tr>
@@ -1146,7 +1171,9 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('follow_master_command')}
     <tr><th class="category" colspan="2">Special commands</th></tr>
     <tr>
      <th id="FOLLOW_MASTER_COMMAND"><label>{$message.descFollow_master_command|escape}</label>
@@ -1187,6 +1214,7 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
        </td>
      </tr>
+     {/if}
   </tbody>
   <tfoot>
     <tr>
@@ -1215,12 +1243,14 @@ black_function_list = 'nextval,setval,lastval,currval'
       <p>デフォルト値は false です。</td>
     </tr>
 
+    {if paramExists('enable_pool_hba')}
     <tr>
       <th id="ENABLE_QUERY_CACHE"><label>{$message.descEnable_query_cache|escape}</label>
       <p>enable_query_cache *</th>
       <td>SELECT の結果をキャッシュする場合には true にします。
       <p>デフォルト値は false です。</td>
     </tr>
+    {/if}
 
     <tr>
       <th id="PGPOOL2_HOSTNAME"><label>{$message.descPgpool2_hostname|escape}</label>
@@ -1340,6 +1370,7 @@ black_function_list = 'nextval,setval,lastval,currval'
       </td>
     </tr>
 
+    {if paramExists('health_check_password')}
     <tr>
       <th id="HEALTH_CHECK_PASSWORD"><label>{$message.descHealth_check_password|escape}</label>
       <p>health_check_password (string)</th>
@@ -1347,7 +1378,9 @@ black_function_list = 'nextval,setval,lastval,currval'
         <p>ヘルスチェックを行うためのPostgreSQLパスワードです。</p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('health_check_max_retries')}
     <tr>
       <th id="HEALTH_CHECK_MAX_RETRIES"><label>{$message.descHealth_check_max_retries|escape}</label>
       <p>health_check_max_retries (integer)</th>
@@ -1364,7 +1397,9 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
+    {if paramExists('health_check_retry_delay')}
     <tr>
       <th id="HEALTH_CHECK_RETRY_DELAY"><label>{$message.descHealth_check_retry_delay|escape}</label>
       <p>health_check_retry_delay (integer)</th>
@@ -1376,6 +1411,7 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
   </tbody>
   <tfoot>
     <tr>
@@ -1586,6 +1622,7 @@ black_function_list = 'nextval,setval,lastval,currval'
       </td>
     </tr>
 
+    {if paramExists('client_idle_limit_in_recovery')}
     <tr>
       <th id="CLIENT_IDLE_LIMIT_IN_RECOVERY"><label>{$message.descClient_idle_limit_in_recovery|escape}</label>
       <p>client_idle_limit_in_recovery (integer)</th>
@@ -1607,6 +1644,7 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+    {/if}
 
   </tbody>
   <tfoot>
@@ -1617,6 +1655,7 @@ black_function_list = 'nextval,setval,lastval,currval'
 </table>
 
 
+{if hasMemqcache()}
 <h3><a name="memqcache" id="memqcache">On Memory Query Cache</a></h3>
 
 <table>
@@ -1820,10 +1859,11 @@ black_function_list = 'nextval,setval,lastval,currval'
     </tr>
   </tfoot>
 </table>
-
+{/if}
 
 <h3><a name="others">Others</a></h3>
 
+{if paramExists('relcache_expire')}
 <table>
   <thead>
     <tr>
@@ -1852,6 +1892,19 @@ black_function_list = 'nextval,setval,lastval,currval'
         </p>
       </td>
     </tr>
+
+    {if paramExists('relcache_size')}
+      <th id="RELCACHE_SIZE"><label>{$message.descRelcache_size|escape}</label>
+      <p>relcache_size (integer)</th>
+      <td>
+      <p>リレーションキャッシュのサイズを指定します。 デフォルトは256です。</p>
+<pre>
+"pool_search_relcache: cache replacement happend"
+</pre>
+        <p>のようなメッセージがログに頻繁に出る場合は、この数字を大きくしてください。</p>
+      </td>
+    </tr>
+    {/if}
   </tbody>
   <tfoot>
     <tr>
@@ -1859,6 +1912,7 @@ black_function_list = 'nextval,setval,lastval,currval'
     </tr>
   </tfoot>
 </table>
+{/if}
 
 </div>
 <hr class="hidden" />
index 0fc3ceb6a028356f7c30ce3c27abbaf98e6ac2af..2da0181a7f8fcf9d87de76c3bb050f44f17702ac 100644 (file)
@@ -1332,6 +1332,15 @@ function cancelNode() {
             <td><input type="text" name="relcache_expire" value="{$params.relcache_expire|escape}"/></td>
             </tr>
 
+            {if paramExists('relcache_size')}
+                <tr>
+                <th{if isset($error.relcache_size)} class="error"{/if}>
+                <label>{$message.descRelcache_size|escape}</label>
+                <br />relcache_size (integer)</th>
+                <td><input type="text" name="relcache_size" value="{$params.relcache_size|escape}"/></td>
+                </tr>
+            {/if}
+
           </tbody>
         </table>
     {/if}