2.1. パフォーマンスの更新

Oracle Linux 6 および Oracle Solaris 11 システム上の多数のセッション (サーバーあたりの同時セッション数が 80 を超える) のスケーラビリティーに影響を及ぼす既知の問題がいくつかあります。これらの制限は、デフォルト構成およびシステムの DBus プロセスと gdm プロセスで構成されている少ないファイル記述子リソース容量の結果です。次の回避方法を適用してスケーラビリティーを拡張できます。

Oracle Linux 6

  1. Sun Ray サーバーのスーパーユーザーになります。

  2. 次の行を含む /etc/dbus-1/system-local.conf ファイルを作成することで、デフォルトの DBus リソース制限を変更します。

    <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
     "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
    <busconfig>
      <!-- default for this is 2048 -->
      <limit name="max_completed_connections">32768</limit>
      <!-- default for this is 256 -->
      <limit name="max_connections_per_user">4096</limit>
    </busconfig>
  3. 変更を有効にするには、システムをリブートします。

Oracle Solaris 11

  1. Sun Ray サーバーのスーパーユーザーになります。

  2. 次の行を含む /etc/dbus-1/system-local.conf ファイルを作成することで、デフォルトの DBus リソース制限を変更します。

    <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
     "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
    <busconfig>
      <!-- default for this is 2048 -->
      <limit name="max_completed_connections">32768</limit>
      <!-- default for this is 256 -->
      <limit name="max_connections_per_user">4096</limit>
    </busconfig>
  3. plimit コマンドを /etc/init.d/utsyscfg ファイルに追加することで、システムの DBus デーモンファイル記述子リソース容量を変更します。

    start) (行 320) のあとに、次の行を追加します。

    if [ -x /bin/plimit ]; then
    	DPID=$(pgrep -f "dbus-daemon --system")
    	if [ -n "$DPID" ]; then
    		plimit -n 16384 $DPID
    	fi
    fi
  4. /lib/svc/method/svc-gdm ファイル内の行を置き換えることで、システムの gdm プロセスが Solaris Extended File Facility を使用するように強制します。

    /usr/sbin/gdm $arg & を次の 2 行に置き換えます。

    ulimit -n 16384
    LD_PRELOAD_32=/usr/lib/extendedFILE.so.1 /usr/sbin/gdm $arg &
  5. 変更を有効にするには、システムをリブートします。