pmap输出信息如下: 186#gaobw-> pmap 12757 12757: a.out 00010000 32K read/exec /export/home/gaobw/src/test/a.out 00026000 16K read/write/exec /export/home/gaobw/src/test/a.out 0002A000 8K read/write/exec [ heap ]----->这里应该是堆开始,还是堆结束呢? FF280000 672K read/exec /usr/lib/libc.so.1 FF338000 24K read/write/exec /usr/lib/libc.so.1 FF33E000 ...
by wridy - Solaris - 2005-11-01 21:43:44 阅读(1583) 回复(1)
collecting pv entries -- suggest increasing pmap_SHPGPERPROC 服务器:FreeBSD6.2,内核未做过调整 有些时候会出现这面这个错误,查资料说是需要修改内核文件。 我想问的是,修改内核以后,是需要重启以后才能生效的吧?还是? 这个值是我应该以一个什么样的原则来调整呢? 谢谢。
我是新手想尝试一下freeBSD,早上去中关村买了二张的freeBSD unix5。3 拿回家安装时出现这个: panic:pmap_mapdev:Couldn't alloc kernel virtual memory 然后就重启了:oops: 偶的机子比较老了,是读书的时候留下来的。AMD xp1200+,内存256M。 求助各位大侠帮我看看是什么原因:em14:
/sys/i386/include/pmap.h中定义的宏值: 94 /* 95 * Size of Kernel address space. This is the number of page table pages 96 * (4MB each) to use for the kernel. 256 pages == 1 Gigabyte. 97 * This **MUST** be a multiple of 4 (eg: 252, 256, 260, etc). 98 */ 99 #ifndef KVA_PAGES 100 #ifdef PAE 101 #define KVA_PAGES 512 102 #else 103 #define KVA_PAGES 256 104 #endif 105...
/sys/i386/include/pmap.h中定义的宏值: 94 /* 95 * Size of Kernel address space. This is the number of page table pages 96 * (4MB each) to use for the kernel. 256 pages == 1 Gigabyte. 97 * This **MUST** be a multiple of 4 (eg: 252, 256, 260, etc). 98 */ 99 #ifndef KVA_PAGES 100 #ifdef PAE 101 #define KVA_PAGES 512 102 #else 103 #define KVA_PAGES 256 104 #endif 10...
NetBSD的代码基本和OpenBSD的一样 /* * pmap_growkernel: increase usage of KVM space * * => we allocate new PTPs for the kernel and install them in all * the pmaps on the system. */ vaddr_t pmap_growkernel(maxkvaddr) vaddr_t maxkvaddr; { struct pmap *kpm = pmap_kernel(), *pm; int needed_kpde; /* needed number of kernel PTPs */ int s; paddr_t ptaddr; needed_kpde = (...
有人熟悉pstack命令么,现在pmap看到该进程占用的内存非常多?如何判断什么问题? [code]$pstack 21406 21406: /data1/app/iplanet/server5/bin/msg/imta/bin/tcp_smtp_server ----------------- lwp# 2 / thread# 2 -------------------- fe41f4ac signotifywait () fe2fe980 _dynamiclwps (fe31c000, 0, 0, fe43f518, 1, 0) + 24 fe301c90 thr_yield (0, 0, 0, 0, 0, 0) + 8c ----------------- lwp# 4 / thread# 7 ----...