Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

SHMALL パラメータの値が ipcs コマンドの結果と異なる理由

Solution Verified - Updated -

Issue

  • SHMALL パラメータは /proc/sys/kernel/shmall で 16777216 に設定されていますが、コマンド "ipcs -l" を使用すると、次の結果が表示されます。

    [root@test kernel]# ipcs -l
    
    ------ Shared Memory Limits --------
    max number of segments = 8192
    max seg size (kbytes) = 33554432
    max total shared memory (kbytes) = 67108864
    min seg size (bytes) = 1
    
    ------ Semaphore Limits --------
    max number of arrays = 8192
    max semaphores per array = 250
    max semaphores system wide = 256000
    max ops per semop call = 32
    semaphore max value = 32767
    
    ------ Messages: Limits --------
    max queues system wide = 31744
    max size of message (bytes) = 65536
    default max size of queue (bytes) = 65536
    
  • どうして値が異なるのですか?

Environment

  • Red Hat Enterprise Linux 5

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.