セマフォの数を増やす

Solution Verified - Updated -

Issue

  • Apache httpd でセマフォ配列の制限を増やす必要があります。

  • サードパーティアプリケーションのためにセマフォの最大数を増やす必要があります。

  • IBM DB2 データベースのインスタンスが減少し、"Requesting too many semaphores" エラーが発生します。
    IBM DB2 データベースにおいて "Requesting too many semaphores" エラーが発生し、インスタンスが停止します。

  • データベースなどの大規模なプログラムを実行しているRed Hat Enterprise Linux Server を一日程度実行しているとクラッシュします。'ipcs' コマンドを実行し、128 個あるうちの 100 個のセマフォが使用されるとサーバーがクラッシュすることを確認しました。

    [root@rhel6 ~]# ipcs -s
    
    ------ Semaphore Arrays --------
    key        semid      owner      perms      nsems     
    0x00000000 0          root       600        1         
    0x00000000 65537      root       600        1         
    0xdd3adabd 131074     user       600        1     
    

Environment

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.