免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2228 | 回复: 0
打印 上一主题 下一主题

[SCO UNIX] message headers或mblks faild需要调整什么核心参数 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-19 11:37 |只看该作者 |倒序浏览
# 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)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP