원문 : 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-UX 장비 GSP/MP접속 및 기본 사용법 [2] 조인상 2011.02.25 56431
49 HP-UX 기본 점검 명령어 조인상 2011.02.22 42020
48 disk 추가에서 볼륨생성까지 조인상 2011.02.18 40285
47 HP-UX 네트웍 관리 조인상 2011.03.08 36295
46 swinstall 로 depot 설치하기 file 조인상 2011.03.29 36088
45 해당 포트를 열고 있는 프로세스 확인방법. netstat, lsof 조인상 2012.09.20 33503
44 NTP 서버/클라이언트 설정 조인상 2011.03.01 29624
43 ignite를 이용한 OS백업 조인상 2011.07.21 28566
42 HP-UX Kernel Tuning and Performance Guide - 2000.3.15 조인상 2011.08.30 27210
41 장비 H/W미러링 장치 확인 및 미러상태 점검 [1] 조인상 2013.02.25 26773
40 H/W RAID 정보 확인하기 조인상 2011.02.25 25068
39 nPAR, vPAR 의 개념 [9] 조인상 2011.10.28 24994
38 HP-UX LVM 조인상 2011.02.18 24948
37 DAT tape drive 인식 작업 조인상 2011.12.28 24523
36 HP rp시리즈에서 mirror(lv-copy) 된 디스크 교체 : replace disk in mirror vg [1] 조인상 2016.05.18 21994
35 sasmgr 명령어 사용시 Driver specific and common library version mismatch. Exiting.. file 조인상 2011.03.16 21683
34 HP0-P20 CSA-HPUX 11i v3 : HP-UX System Administrator’s Guide: Configuration Management file 조인상 2011.11.25 20740
33 HP-UX Administration I - Part 2 (Module 11~20) 조인상 2011.09.08 20479
32 HP-UX에 JDK 1.5 설치 file 조인상 2013.10.15 20052
31 HP-UX에 gcc 설치 조인상 2013.04.11 19399
서버에 요청 중입니다. 잠시만 기다려 주십시오...