- 论坛徽章:
- 0
|
# crash
dumpfile = /dev/mem, namelist = /unix, outfile = stdout
> strstat
ITEM CONFIG ALLOC FREE TOTAL MAX FAIL BUFCALL
streams 17664 79 17585 52898 206 0 -
queues 908 330 578 105805 838 0 -
message headers 4708 1380 3328 12082981 4565 404 -
buffer headers 5690 2905 2785 1055424 5602 2 0
# netstat -m
streams allocation:
config alloc free total max fail
stream 17664 79 17585 52898 206 0
queues 908 165 743 105805 419 0
mblks 4708 1380 3328 12083306 4565 404
buffer headers 5690 2906 2784 1055442 5602 2
其中的message headers或mblks faild需要调整什么核心参数?核心参数如下:
*
* i386 Configuration
*
*
* Tunable Parameters
*
0 buffers in buffer cache (NBUF)
10000 entries in proc table (MAX_PROC)
1512 clist buffers (NCLIST)
2048 processes per user id (MAXUP)
0 hash slots for buffer cache (NHBUF)
200 size of system virtual space map (SPTMAP)
10 auto update time limit in seconds (NAUTOUP)
2048 maximum number of open files per process (NOFILES)
1048576 maximum size of user's virtual address space in pages (MAXUMEM)
1048576 for package compatibility equal to MAXUMEM (MAXMEM)
2000 page stealing low water mark (GPGSLO)
6000 page stealing high water mark (GPGSHI)
30 bdflush run rate (BDFLUSHR)
25 minimum resident memory for avoiding deadlock (MINARMEM)
25 minimum swapable memory for avoiding deadlock (MINASMEM)
8 maximum number of pages swapped out (MAXSC)
8 maximum number of pages saved (MAXFC)
*
* Streams Tunables
*
17664 number of streams head structures (NSTREAM)
8048 maximum page count for streams buffers (NSTRPAGES)
448 number of multiplexor links (NMUXLINK)
9 maximum number of pushes allowed (NSTRPUSH)
16384 maximum stream message size (STRMSGSZ)
1024 max size of ctl part of message (STRCTLSZ)
*
* IPC Messages
*
512 entries in msg map (MSGMAP)
32767 max message size (MSGMAX)
65532 max bytes on queue (MSGMNB)
1024 message queue identifiers (MSGMNI)
64 message segment size (MSGSSZ)
1024 system message headers (MSGTQL)
2048 message segments (MSGSEG)
*
* IPC Semaphores
*
8192 entries in semaphore map (SEMMAP)
8192 semaphore identifiers (SEMMNI)
8192 semaphores in system (SEMMNS)
100 undo structures in system (SEMMNU)
300 max semaphores per id (SEMMSL)
10 max operations per semop call (SEMOPM)
10 max undo entries per process (SEMUME)
32767 semaphore maximum value (SEMVMX)
16384 adjust on exit max value (SEMAEM)
*
* IPC Shared Memory
*
8192 entries in semaphore map (SEMMAP)
8192 semaphore identifiers (SEMMNI)
8192 semaphores in system (SEMMNS)
100 undo structures in system (SEMMNU)
300 max semaphores per id (SEMMSL)
10 max operations per semop call (SEMOPM)
10 max undo entries per process (SEMUME)
32767 semaphore maximum value (SEMVMX)
16384 adjust on exit max value (SEMAEM)
*
* IPC Shared Memory
*
2147483647 max shared memory segment size (SHMMAX)
1 min shared memory segment size (SHMMIN)
100 shared memory identifiers (SHMMNI) |
|