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

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

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

 

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

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

 

  • nfile(5)
  • If the kernel parameter nfile or maxuprc is too small, then messages like the following will appear in syslog:

Jan 23 15:04:10 hostname vmunix: file: table is full

Jan 23
15:04:10
hostname last message repeated
55 times

Jan 23
15:10:10
hostname vmunix: file: table is
full

  • on the
    console, you may see:

file: table
is full

  • Check to see if the
    file table is currently full with:
# sar –v 5
5

For example:

# sar -v 5 5

HP-UX raw B.11.00
U 9000/735 03/27/03





08:56:14 text-sz ov proc-sz ov inod-sz ov
file-sz ov


08:56:19 N/A N/A 127/500 0 700/700 0
1250/1260 0


08:56:24 N/A N/A 127/500 0 700/700 0
1249/1260 0


08:56:29 N/A N/A 127/500 0 700/700 0
1250/1260 0


08:56:34 N/A N/A 127/500 0 700/700 0
1255/1260 0


08:56:39 N/A N/A 127/500 0 700/700 0
1259/1260 0

Notice that the number
to the left of the slash (the number of currently open files) is near the number
to the right of the slash (max number of open files allowed, nfile.)

  • Also to check to see if a one user is
    using at or near the limit for a single user, maxuprc(5), run:

# ps –fu username| wc –l

 

 

 

관련 파라미터 정보

 

Tunable             nproc
Description         Maximum number of processes on the system
Module              pm
Current Value       4200 [Default]
Value at Next Boot  4200 [Default]
Value at Last Boot  4200
Default Value       4200
Constraints         nproc >= 100
                    nproc <= 30000
                    nproc >= maxuprc + 5
                    nproc <= nkthread - 100
                    nproc >= semmnu + 4
Can Change          Immediately or at Next Boot

 

 

Tunable             nkthread
Description         Maximum number of threads on the system
Module              pm
Current Value       8416 [Default]
Value at Next Boot  8416 [Default]
Value at Last Boot  8416
Default Value       8416
Constraints         nkthread >= 200
                    nkthread <= 4194304
                    nkthread >= (5 * vx_era_nthreads)
                    nkthread >= max_thread_proc
                    nkthread >= nproc + 100
Can Change          Immediately or at Next Boot

 

 

 

Tunable             nfile
Description         Maximum number of file descriptors (system-wide)
Module              fs
Current Value       65536 [Default]
Value at Next Boot  Default (automatic)
Value at Last Boot  65536
Default Value       65536 (automatic)
Constraints         nfile >= 2048
                    nfile <= 2147483647
                    nfile >= (2 * maxfiles_lim)
Can Change          Automatic Tuning Enabled

번호 제목 글쓴이 날짜 조회 수
50 HP rx2660서버에서 H/W RAID 구성하기 ischo 2019.10.04 2362
49 특정계정만 ssh 접속 불가 sftp 만 접속 가능한 환경 만들기 ischo 2019.05.09 2305
48 HP-UX 환경에서 접근제어 사용하기 조인상 2016.06.02 14699
47 HP rp시리즈에서 mirror(lv-copy) 된 디스크 교체 : replace disk in mirror vg [1] 조인상 2016.05.18 22022
46 bdf의 결과를 GB단위로 보여주는 스크립트 [1] 조인상 2015.10.27 10090
45 Vmware ESXI 환경에서 HP Smart Array CLI 사용하기 - command 예제 조인상 2015.07.29 9220
44 VG00 의 mirror 상태 점검 스크립트 조인상 2015.06.12 5793
43 HP-UX에 JDK 1.5 설치 file 조인상 2013.10.15 20061
42 HP-UX Web Server Suite Installation guide file 조인상 2013.09.11 12573
41 Event Monitoring Service - Event Log path 조인상 2013.07.03 12152
40 HP-UX에 gcc 설치 조인상 2013.04.11 19424
39 장비 H/W미러링 장치 확인 및 미러상태 점검 [1] 조인상 2013.02.25 27092
38 해당 포트를 열고 있는 프로세스 확인방법. netstat, lsof 조인상 2012.09.20 33554
37 시리얼 케이블 제작방법 조인상 2012.06.27 12891
36 HP Integrated Lights-Out User Guide [1] file 조인상 2012.03.14 13386
35 HP iLO 설정 및 라이센스 발급 방법 조인상 2012.03.14 16211
34 <queue max run limit reached / 대기행렬의 최대 실행 한계에 도달했습니다> 에러 발생시. 조인상 2012.02.29 16553
33 HP DAT Drive Manual file 조인상 2012.01.03 14206
32 DAT tape drive 인식 작업 조인상 2011.12.28 24535
31 HP0-P20 CSA-HPUX 11i v3 : HP-UX System Administrator’s Guide: Configuration Management file 조인상 2011.11.25 20758
서버에 요청 중입니다. 잠시만 기다려 주십시오...