본문 바로가기

0과 1 그 끝없는 세상/IBM AIX

[OS Parameter] The parameter list is too long

AIX에서 find나 ls를 했을 때, 넘겨지는 argument 갯수가 너무 많을 경우 " The parameter list is too long" 이라고 에러가 발생한다.

해당 문제를 해결하기 위해서 System Environments를 바꿔준다.

1. ncargs 값 확인
[localhost:root] / > lsattr -El sys0 |grep ncargs
ncargs          6                 ARG/ENV list size in 4K byte blocks               True

2. 값 변경
smitty
System Environments
Change / Show Characteristics of Operating System
ARG/ENV list size in 4K byte blocks                [6]

3. 값을 16정도로 변경하면 충분