Configuring your system properties
このページの内容
Linux
To configure system properties in Linux installations:
<bamboo-install>/bin
から、setenv.sh を開きます。- Find the section JVM_SUPPORT_RECOMMENDED_ARGS=.
- Refer to the list of parameters below.
引用内部では、各パラメーターをスペース区切りのリスト形式で追加します。
Windows (.batファイルから起動)
Windows インストールで .bat ファイルから開始する場合にシステム プロパティを設定する方法
<bamboo-install>/bin
から、setenv.bat を開きます。- set JVM_SUPPORT_RECOMMENDED_ARGS= セクションを探します。
- Refer to the list of parameters below.
引用内部では、各パラメーターをスペース区切りのリスト形式で追加します。
Windows サービス
There are two ways to configure system properties when starting Bamboo as a service — either in the command prompt or in the Windows registry.
Setting properties for Windows services from the command line
- Identify the name of the service that Bamboo is installed as in Windows (Control panel > Administrative tools > Services):
- Open a command prompt by selecting Start > Run.
- In the Run window, type
cmd
and press the Enter key. - In the command prompt, navigate to the
bin
subdirectory of your Bamboo installation directory. 次のコマンドを実行します。
bamboow.exe //ES//%SERVICENAME%
Following the example above, the full command would be:
bamboow.exe //ES//Bamboo
- Select the Java tab to see the list of current start-up options.
新しいオプションを追加する場合は、既存の Java オプションの最後に新しい行として追加します。下記のパラメーター一覧を参照してください。
If you want to change the heap size configured for the JVM, use the Initial memory pool and Maximum memory pool fields instead of adding the -Xms and -Xmx parameters to the list of Java options.
Setting properties for Windows services using the Windows registry
Windows の一部のバージョンには、Java 変数をサービスに追加するオプションがありません。この場合、レジストリ内のオプション一覧を表示してプロパティを追加する必要があります。
To set properties for Windows services using the Windows registry
- Go to Start > Run, and run "regedit32.exe".
- Find the Services entry:
32-bit:HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Bamboo
64-bit:HKEY_LOCAL_MACHINE >> SOFTWARE >> Wow6432Node >> Apache Software Foundation >> Procrun 2.0 >> Bamboo
- 既存のプロパティを変更する (特に Xmx メモリを増やす) には、適切な値をダブルクリックします。
- 追加のプロパティを変更するには、オプションをダブルクリックします。
- Refer to the list of parameters below. Enter each on a separate line.
Changing the Bamboo start port
- Stop Bamboo.
<Bamboo install directory>/conf/server.xml
を編集します。Update the following so that
Connector port
is set to the port value you require:<Service name="Catalina"> <Connector port="8085" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true"/>
- Bamboo を再起動します。
起動パラメーターの一覧
Memory Property | 注意 | Related Pages |
---|---|---|
-Xmx | これらのプロパティはすでに存在します。詳しくは関連ページを参照してください。 | |
-XX:+PrintGCTimeStamps -verbose:gc -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError | ガベージ コレクションのチューニングの際に設定します。 |