¥¢¥¯¥»¥¹¿ô¤¬·ë¹½¤¢¤ë¥¦¥§¥Ö¥µ¡¼¥Ð¤òFreeBSD 6.4 + apache 1.3¤Ç±¿ÍѤ·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢µ©¤Ëdmesg¤Ç°Ê²¼¤Î¥¨¥é¡¼¤¬É½¼¨¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
¥á¥Ã¥»¡¼¥¸¤ò¤½¤Î¤Þ¤Þ±ÆÝ¤ß¤Ë¤¹¤ì¤Ð¡¢PMAP_SHPGPERPROC¤òÁý¤ä¤µ¤Ê¤¤¤È¤¤¤±¤Ê¤µ¤½¤¦¤Ç¤¹¡£
¡ÖPMAP_SHPGPERPROC¡×¤Ë¤Ä¤¤¤Æ¤Ï¡¢¡Ö/usr/src/sys/i386/conf/NOTES¡×¤ÎÃæ¤Ë²¼µ¤ÎÄ̤êÃí°Õ½ñ¤¤¬¤¢¤ê¡¢¤Ê¤ó¤«Ã±½ã¤ËÁý¤ä¤·¤¿¤À¤±¤Ç¤ÏÊ̤ÎÌäÂê¤ò°ú¤µ¯¤³¤·¤Æ¤·¤Þ¤¤¤½¤¦¤Ç¤¹¡£
# Set the number of PV entries per process. Increasing this can # stop panics related to heavy use of shared memory. However, that can # (combined with large amounts of physical memory) cause panics at # boot time due the kernel running out of VM space. # # If you're tweaking this, you might also want to increase the sysctls # "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". # # The value below is the one more than the default. options PMAP_SHPGPERPROC=201
¤³¤Î¥Ú¡¼¥¸¤Ç¤Ï¡¢¤³¤Î¡Öcollecting pv entries -- suggest increasing PMAP_SHPGPERPROC¡×¤Î¥á¥Ã¥»¡¼¥¸¤ËÂФ¹¤ëÂнè¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£
º¤¤Ã¤¿»þ¤Îgoogle¸¡º÷¡¢¤È¤¤¤¦¤³¤È¤Ç¡¢¾åµ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤Ç¸¡º÷¤¹¤ë¤È¡¢Èó¾ï¤Ë»²¹Í¤Ë¤Ê¤ë°Ê²¼¤Î¥Ú¡¼¥¸¤¬°ú¤Ã¤«¤«¤ê¤Þ¤·¤¿¡£
collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
¤³¤Î¥Ú¡¼¥¸¤ò¤«¤Ê¤êÂçÃÀ¤ËÍ×Ì󤹤ë¤È¡¢
¡¡¡PV¥¨¥ó¥È¥ê¤òÂçÎ̤˾ÃÈñ¤¹¤ë¤Î¤Ï»Ò¥×¥í¥»¥¹¤òºî¤ê¤Þ¤¯¤ëapache¤Î¤ß¤Ç¤¢¤ë
¢¡¡apache¤ÎÀßÄê¤Ç¡¢KeepAliveTimeOut¤òû¤¯¤¹¤ë¤«¡¢KeepAlive¼«ÂΤò¹Ô¤ï¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢PV¥¨¥ó¥È¥ê¤ÎÍøÍÑ¿ô¤òÄ㤯ÍÞ¤¨¤ë¤³¤È¤¬²Äǽ
£¡¡¤½¤ì¤Ç¤â¾åµ¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì³¤±¤ë¤Ê¤é¤Ð¡¢PMAP_SHPGPERPROC¤òÀµ¤·¤¯ÀßÄꤹ¤Ù¤·
¤È¤Î¤³¤È¡£
³Î¤«¤Ë¡¢apache¤ÇKeepAlive¤òÍøÍѤ·¤Æ¤¤¤ë¤È¡¢KeepAlive¥¿¥¤¥Þ¤¬Ëþλ¤¹¤ë¤Þ¤Ç¡¢¿Æ¥×¥í¥»¥¹¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤¿»Ò¥×¥í¥»¥¹¤ÏÀ¸¤Â³¤±¤ë¤ï¤±¤Ç¡¢KeepAliveTimeOut¤òû¤¯¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢·ë²Ì¤È¤·¤ÆPV¥¨¥ó¥È¥ê¤ò¸º¤é¤¹¤³¤È¤¬¤Ç¤¤½¤¦¤Ç¤¹¡£
KeepAliveTimeOut¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¡Öhttpd.conf¡×¤Ç¤Ï15¡ÊÉáˤȤʤäƤ¤¤¿¤Î¤Ç¡¢¤³¤ì¤ò10ÉÃÄøÅÙ¤ËÊѹ¹¤·¤Þ¤¹¡£
KeepAliveTimeout 10
¾åµÆâÍÆ¤òÈ¿±Ç¸å¡¢¤·¤Ð¤é¤¯ÍͻҤò¸«¤Æ¤¤¤Þ¤¹¤¬¡¢º£¤Î¤È¤³¤í¾åµ¤Î¥á¥Ã¥»¡¼¥¸¤ËºÆ¤Ó½Ð¤¯¤ï¤¹¤³¤È¤Ï¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿¡£
KeepAliveTimeOut¤È¥¢¥¯¥»¥¹¿ô¤Î¹Í»¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼¤Î¥Ú¡¼¥¸¤¬»²¹Í¤Ë¤Ê¤ê¤Þ¤·¤¿¤Î¤Ç¡¢¤´¾Ò²ð¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£
¥¢¥«¥é¥Ü: apache¤ÎKeepAliveTimeout¤òÊѹ¹¤·¤Æ¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤¬·àŪ¤Ë¥¢¥Ã¥×
¡¦Äº¤¤¤¿¥á¥Ã¥»¡¼¥¸¤Ï´ÉÍý¼Ô¤Î¥Á¥§¥Ã¥¯¤Î¸å¡¢¸ø³«¤µ¤ì¤Þ¤¹¡£
¡¦¥á¥Ã¥»¡¼¥¸¤Î¸ø³«¤ò´õ˾¤µ¤ì¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¡Ö¤³¤Î¥á¥Ã¥»¡¼¥¸¤òÈó¸ø³«¤Ë¤¹¤ë¡×¤Ë¥Á¥§¥Ã¥¯¤òÆþ¤ì¤Æ¤¯¤À¤µ¤¤¡£
¡¦´ÉÍý¼Ô¤¬ÉÔŬÀÚ¤ÈȽÃǤ·¤¿¥á¥Ã¥»¡¼¥¸¤Ï¸ø³«¤·¤Þ¤»¤ó¤Î¤Ç¡¢Í½¤á¤´Î»¾µ¤¯¤À¤µ¤¤¡£
¤Þ¤Àɾ²Á¤¬¤¢¤ê¤Þ¤»¤ó |
ɽ¼¨¤Ç¤¤ë¥á¥Ã¥»¡¼¥¸¤Ï¤¢¤ê¤Þ¤»¤ó¡£