Translated message

A translation of this page exists in English.

gnome/desktop でデフォルトの memlock 制限を変更する方法

Solution In Progress - Updated -

Issue

  • Infiniband 経由で通信するアプリケーションを実行します。memlock 制限が低いため、MPI_Init: ibv_create_cq() failed 4, Can't initialize RDMA device エラーで中断されます。
  • /etc/security/limits.d/rdma.conf で制限を増やしても、gnome-shell または konsoleulimit を実行しても変更は反映されません。

    $ cat  /etc/security/limits.d/rdma.conf
    # configuration for rdma tuning
    @rdma       soft    memlock    unlimited
    @rdma       hard    memlock    unlimited
    #rdma tuning end
    
    $ ulimit | grep locked
    max locked memory       (kbytes, -l) 64
    

Environment

  • Red Hat Enterprise Linux 7、8
  • ulimit
  • systemd

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