目前的項目需要做windchill10.0系統(tǒng)的優(yōu)化工作,經(jīng)過整理,現(xiàn)在羅列如下
一 在site.xconf文件中添加如下內(nèi)容:
1 <Property name="wt.org.services.userPasswordChangeEnabled" overridable="true" targetFile="codebase/wt.properties" value="true"/>
允許用戶修改密碼的功能
2 <Property name="wt.manager.monitor.services" overridable="true" targetFile="codebase/wt.properties" value="MethodServer BackgroundMethodServer"/>
一 在site.xconf文件中添加如下內(nèi)容:
1 <Property name="wt.org.services.userPasswordChangeEnabled" overridable="true" targetFile="codebase/wt.properties" value="true"/>
允許用戶修改密碼的功能
2 <Property name="wt.manager.monitor.services" overridable="true" targetFile="codebase/wt.properties" value="MethodServer BackgroundMethodServer"/>
<Property name="wt.queue.executeQueues" overridable="true" targetFile="codebase/wt.properties" value="false"/>
<Property name="wt.manager.monitor.start.MethodServer" overridable="true" targetFile="codebase/wt.properties" value="3"/>
<Property name="wt.manager.monitor.start.BackgroundMethodServer" overridable="true" targetFile="codebase/wt.properties" value="2"/>
定義后臺方法服務(wù)器,并將隊列的執(zhí)行轉(zhuǎn)移到后臺方法服務(wù)器上。同時定義了方法服務(wù)器和后臺方法服務(wù)器的個數(shù)。
3 <Property name="wt.method.maxHeap" overridable="true" targetFile="codebase/wt.properties" value="3072"/>
定義后臺方法服務(wù)器,并將隊列的執(zhí)行轉(zhuǎn)移到后臺方法服務(wù)器上。同時定義了方法服務(wù)器和后臺方法服務(wù)器的個數(shù)。
3 <Property name="wt.method.maxHeap" overridable="true" targetFile="codebase/wt.properties" value="3072"/>
<Property name="wt.method.minHeap" overridable="true" targetFile="codebase/wt.properties" value="3072"/>
<Property name="wt.manager.maxHeap" overridable="true" targetFile="codebase/wt.properties" value="512"/>
<Property name="wt.manager.minHeap" overridable="true" targetFile="codebase/wt.properties" value="512"/>
定義了后臺方法服務(wù)器最大堆大小,最小堆大小,服務(wù)器管理器最大堆大小和最小堆大小。
4 保存site.xconf文件,在windchill shell中執(zhí)行 xconfmanager -p 命令。
二 tomcat內(nèi)存優(yōu)化
1 使用編輯器打開<WT_HOME>\tomcat\bin\wttomcat_start.bat文件。修改-Xms和-Xmx參數(shù)值為-Xms4096M -Xmx4096M
三 重新啟動windchill服務(wù)器,在windchill shell中輸入windchill stop & windchill start。
定義了后臺方法服務(wù)器最大堆大小,最小堆大小,服務(wù)器管理器最大堆大小和最小堆大小。
4 保存site.xconf文件,在windchill shell中執(zhí)行 xconfmanager -p 命令。
二 tomcat內(nèi)存優(yōu)化
1 使用編輯器打開<WT_HOME>\tomcat\bin\wttomcat_start.bat文件。修改-Xms和-Xmx參數(shù)值為-Xms4096M -Xmx4096M
三 重新啟動windchill服務(wù)器,在windchill shell中輸入windchill stop & windchill start。