パラメーター ARG_MAX の値を変更するにはどうすればよいですか?
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.