RHEL6 以前で、upstart、sysvinit を使用してサービスに制限 (ulimit) を設定する

Solution Verified - Updated -

Issue

  • システムの起動時に起動したサービスに制限を設定するにはどうしたら良いですか?

  • /etc/security/limits.conf または /etc/security/limits.d 内のファイルに設定されている場合でも、システムの起動時に起動するサービスに対して制限が設定されません。

  • サービスを再起動すると、制限が正しく設定されます。

  • プロセスのアドレス領域の制限によって、以下のパッチが有効ではありません。

Environment

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

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.