看板FreeBSD
标 题Re: [问题] Approaching the limit on PV entries ...
发信站SayYA 资讯站 (Wed Sep 3 19:52:42 2008)
转信站ptt!ctu-reader!ctu-peer!news.nctu!News.Math.NCTU!SayYa
※ 引述《[email protected] (肯先生)》之铭言:
> 这是一台蛮忙的 web server, 跑 lighttpd 和 php-cgi, FreeBSD 版本是 7.0,
> 会一直出现以下的讯息:
> Approaching the limit on PV entries, consider increasing either the
> vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
> 看了一下 Google, 说要改 kernel 设定:
> options PMAP_SHPGPERPROC=较大的数字
> 不过在下还是不太懂, 所以来请教各位..
> 这个状况通常怎样发生的?
你可以看 web log 跟 netstat -m 来观察是否正常或被攻击,
或者你公司业务已经成长到一定量非单一机器能负荷,
因此需要的是 SLB (Server Loading Balance) 方案来配合,
若你对 SLB 不熟,可以找各家 SI 厂商洽询。
> 还有, 那个 PMAP_SHPGPERPROC 的值, 要怎麽拿捏才对?
看 netstat -m 的情况而定,没有一定标准值,也没有愈多愈好的迷思 ~_~
--
静中见真境,淡中识本然
--
※ Origin: SayYA 资讯站 <bbs.sayya.org>
◆ From: 220-133-108-147.hinet-ip.hinet.net