Translated message

A translation of this page exists in English.

パラメーター ARG_MAX の値を変更するにはどうすればよいですか?

Solution In Progress - Updated -

Issue

  • 既存のサーバーをベースに、新しいサーバーをプロビジョニングしました。両方とも同じ OS バージョンを実行しています。 新しいビルドでは、xargs --show-limits の値が、古いビルドよりも大幅に低いことに気づきました。
New Server: (server2)
bin $ xargs --show-limits
Your environment variables take up 1733 bytes
POSIX lower and upper limits on argument length: 2048, 129024
Maximum length of command we could actually use: 127291
Size of command buffer we are actually using: 127291

Old Server: (server1)
$ xargs --show-limits
Your environment variables take up 209452 bytes
POSIX lower and upper limits on argument length: 2048, 522240
Maximum length of command we could actually use: 312788
Size of command buffer we are actually using: 312788

Environment

  • Red Hat Enterprise Linux 8.0.
  • Red Hat Enterprise Linux 7.x.
  • Red Hat Enterprise Linux 6.x.
  • Red Hat Enterprise Linux 5.x.

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