Translated message

A translation of this page exists in English.

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
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content