원문 : 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 특정계정만 ssh 접속 불가 sftp 만 접속 가능한 환경 만들기 ischo 2019.05.09 2283
49 HP rx2660서버에서 H/W RAID 구성하기 ischo 2019.10.04 2354
48 VG00 의 mirror 상태 점검 스크립트 조인상 2015.06.12 5788
47 파트너 관련 각 시험 코드표 조인상 2011.06.15 8685
46 Vmware ESXI 환경에서 HP Smart Array CLI 사용하기 - command 예제 조인상 2015.07.29 9206
45 bdf의 결과를 GB단위로 보여주는 스크립트 [1] 조인상 2015.10.27 10056
44 HP-UX 11i v3 소개 및 release note + Road Map file 조인상 2011.10.28 10574
43 HP-UX 11.11 에서 cpu/mem/Kernel info 긁어오는 스크립트 조인상 2011.06.24 10762
42 Dynamic Root Disk A.3.9.* Administrator's Guide file 조인상 2011.10.28 11076
41 HP-UX 11i v3 - Native Multi-Pathing for Mass Storage file 조인상 2011.10.28 11096
40 HP BladeSystem Onboard Administrator User Guide file 조인상 2011.09.06 12128
39 Event Monitoring Service - Event Log path 조인상 2013.07.03 12146
38 Storage & Ethernet Adapter Support Matrix file 조인상 2011.11.23 12194
37 HP-UX Web Server Suite Installation guide file 조인상 2013.09.11 12567
36 시리얼 케이블 제작방법 조인상 2012.06.27 12885
35 HP-UX CSA~CSE 인증시험 커리큘럼 + HP0-P20 준비 가이드 file 조인상 2011.10.28 13087
34 HP Integrated Lights-Out User Guide [1] file 조인상 2012.03.14 13378
33 HP Superdome 2 Partitioning Administrator Guide for HP-UX 11i v3 file 조인상 2011.10.28 13712
32 HP-UX 11i v3 Installation and Update Guide file 조인상 2011.10.24 13826
31 HP DAT Drive Manual file 조인상 2012.01.03 14202
서버에 요청 중입니다. 잠시만 기다려 주십시오...