Setting tuning properties by editing the sib.properties file
Use this task to set tuning properties for the service integration environment by editing the sib.properties file
About this task
- Properties for a messaging engine
- sib.trm.retry
- 傳訊引擎至傳訊引擎的連線重試間隔(秒)。 重試間隔是嘗試聯繫彼此之間有通訊存在之鄰接傳訊引擎的間隔時間。 預設重試間隔是 30 秒。
- Properties for the component of a messaging engine that manages the data store
- sib.msgstore.discardableDataBufferSize
- 傳訊引擎用來包含服務品質屬性是最大努力非持續性之資料的資料緩衝區大小(位元組)。 預設值為 320000,大約是 320 KB。
- 可捨棄的資料緩衝區包含所有服務品質屬性是最大努力非持續性的資料。 這個資料包含作用中的交易所涉及的資料,以及傳訊引擎既未消費,也未捨棄的任何其他最大努力非持續性資料。 傳訊引擎會將這個資料完全存放在這個記憶體緩衝區內,絕不會將資料寫入資料儲存庫中。 當傳訊引擎新增資料到可捨棄的資料緩衝區時,比方說,當傳訊引擎收到用戶端的最大努力非持續性訊息時,傳訊引擎可能會捨棄已在緩衝區中的資料來讓出空間。 傳訊引擎只能捨棄作用中的交易所未涉及的資料。 這個行為使傳訊引擎能夠捨棄最大努力非持續性訊息。
- 增加可捨棄的資料緩衝區大小,可在傳訊引擎開始捨棄訊息之前,處理更多的最大努力非持續性資料。
- sib.msgstore.cachedDataBufferSize
- 傳訊引擎用來包含服務品質屬性在最大努力非持續性之上,且保留在資料儲存庫之資料的資料緩衝區大小(位元組)。 預設值為 320000,大約是 320 KB。
- 快取資料緩衝區的用途,是將傳訊引擎可能需要從資料儲存庫中讀取的資料快取在記憶體中,以便使傳訊引擎的效能最佳化。 當傳訊引擎將資料寫入資料儲存庫,以及從資料儲存庫中讀取資料時,它會試圖將資料新增到快取的資料緩衝區中。 傳訊引擎可能會捨棄已在緩衝區的資料,將空間讓出來。
- sib.msgstore.transactionSendLimit
- 傳訊引擎併入各項交易的作業數目上限。 比方說,每項 JMS 傳送或接收作業都是在交易傳送限制內計算的作業。 預設值為 100。
To set these properties by editing the sib.properties file, complete the following steps:
Procedure
- Navigate to the profile_root/properties directory, where profile_root is the directory in which profile-specific information is stored.
- If the directory does not contain a sib.properties file, then copy the template sib.properties files from the app_server_root/properties directory, where app_server_root is the root directory for the installation of WebSphere Application Server.
- Using a text editor, open the sib.properties file and add the name and value of the property that you want to set. The format is name=value. For example sib.trm.retry=60
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[IBM i]](../images/iseries.gif)
作業主題