number of process 개수 조정법

2010.05.11 11:34

조인상 조회 수:20616

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++



/etc/security/limits 파일에서 조정하는 내용에는

전체 열수 있는 프로세스 제한에 대한 항목이 없다.


프로세스 제한이 걸리면 다음과 같은 메시지가 나오면서 더이상
작업이 불가능 할 수 있다.


cannot fork : number of process exceeded.



프로세스 개수를 확인하기 위하여 다음 명령으로 확인한다.

[root]# lsattr -El sys0 | grep maxuproc
maxuproc        500                Maximum number of PROCESSES allowed per user      True



개수를 늘리기 위해서 다음 명령어로 늘린다.

[root]# chdev -l sys0 -a maxuproc='1200'
sys0 changed



다시 확인


[root@hhgwdb]# lsattr -El sys0 | grep maxuproc
maxuproc        1200              Maximum number of PROCESSES allowed per user      True
서버에 요청 중입니다. 잠시만 기다려 주십시오...