共有セグメントを作成できない

共有セグメントを作成できなかったことを示すエラーを受信する場合があります。

4671: TT14000: TimesTen daemon internal error: Error 28 creating shared segment,
KEY 0x0201f7eb
4671:  -- OS reports too many shared segments in use
4671:  -- Confirm using 'ipcs' and take appropriate action
4671: 18538 ------------------: subdaemon process exited

LinuxまたはUNIXのipcsコマンドを使用すると、次のような情報が表示される場合があります。

------ Shared Memory Segments --------
 key        shmid      owner     perms      bytes      nattch     status
 0x00000000 1098350592 user1     777        10624      2          dest
 0x00000000 1084817409 user1     777        2439680    2          dest
 0x911fc211 1098383362 user2     666        67108864   1
 0x2814afba 170721285  root      666        1048576    1

ステータスに表示されたdestは、メモリー・セグメントが壊れていることを示しています。また、nattchは、メモリー・セグメントにアタッチされているプロセス数を示します。ipcrmコマンドは、プロセスがセグメントからデタッチするか終了するまで、共有メモリーを解放できません。アプリケーションがTimesTenに接続後、無効になる場合、ユーザーがアプリケーションを終了するか停止するまで、共有メモリーは解放されません。