suÇл»µ½Óû§db2inst1±¨ÎÞ·¨ÉèÖÃÓû§ID:×ÊÔ´ÔÝʱ²»¿ÉÓôíÎó_Linux·þÎñÆ÷ά»¤_ºÚ¿Í·ÀÏßÍø°²·þÎñÆ÷ά»¤»ùµØ--Powered by WWW.RONGSEN.COM.CN

suÇл»µ½Óû§db2inst1±¨ÎÞ·¨ÉèÖÃÓû§ID:×ÊÔ´ÔÝʱ²»¿ÉÓôíÎó

×÷ÕߣººÚ¿Í·ÀÏßÍø°²linux½Ì³ÌÍø À´Ô´£ººÚ¿Í·ÀÏßÍø°²linux½Ì³ÌÍø ä¯ÀÀ´ÎÊý£º0

±¾Æª¹Ø¼ü´Ê£ºsu
ºÚ¿Í·ÀÏßÍø°²ÍøѶ£º²Ù×÷ϵͳ:rhel 6  centos6ÉÏÒ²´æÔÚÕâÑùµÄÎÊÌâ
suÇл»µ½Óû§db2inst1±¨ÎÞ·¨ÉèÖÃÓû§ID:×ÊÔ´ÔÝʱ²»¿ÉÓôíÎó
²Ù×÷ϵͳ:rhel 6  centos6ÉÏÒ²´æÔÚÕâÑùµÄÎÊÌâ

suÇл»µ½Óû§db2inst1±¨ÎÞ·¨ÉèÖÃÓû§ID:×ÊÔ´ÔÝʱ²»¿ÉÓôíÎó
\

ÎÊÌâÊdzöÔÚ:ÔÚ/etc/security/limits.dĿ¼Ï£¬rhel6ºÍcentos6ÏÂÃæ¶àÁ˸öÎļþ£º90-nproc.config 
 
´ËÎļþÄÚÈÝ£º
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

*          soft    nproc     1024

ÕâÀïÏÞÖÆÁË1024ѽ£¬×¢ÊÍ»òÕß½«1024Öµ¸Ä´ó£¬±£´æÍ˳ö£¬Á¢¼´ÉúЧ£¬ÔÙÊÔÊÔsuµ½db2inst1£¬ÎÊÌâ½â¾ö¡£²»¹ýΪʲô¼ÓÕâ¸öÎļþ£¬Ã»ÅªÇå³þ£¬ÔÚrhel 5ÉÏÓÐÕâ¸öĿ¼£¬µ«ÊÇûÓÐÕâ¸öÎļþ

 

µ±È»ÄãµÄ/etc/security/limits.confÅäÖõÄÓû§ÔÊÐí´ò¿ªµÄÎļþ¾ä±úÊýÒ²²»ÄÜ̫С£¬ÊÇ°É

cat /etc/security/limits.conf

db2inst1  soft    nproc   4094

db2inst1  hard    nproc   32768

db2inst1   soft    nofile  2048

db2inst1   hard    nofile  131072

Ò²¿ÉÒÔʹÓÃulimit –a²é¿´Ïà¹ØµÄÅäÖÃ

    ºÚ¿Í·ÀÏßÍø°²·þÎñÆ÷ά»¤·½°¸±¾ÆªÁ¬½Ó£ºhttp://www.rongsen.com.cn/show-19626-1.html
Íøվά»¤½Ì³Ì¸üÐÂʱ¼ä:2013-01-17 11:54:26  ¡¾´òÓ¡´ËÒ³¡¿  ¡¾¹Ø±Õ¡¿
ÎÒÒªÉêÇë±¾Õ¾£ºNµã | ºÚ¿Í·ÀÏß¹ÙÍø |  
רҵ·þÎñÆ÷ά»¤¼°Íøվά»¤ÊÖ¹¤°²È«´î½¨»·¾³£¬ÍøÕ¾°²È«¼Ó¹Ì·þÎñ¡£ºÚ¿Í·ÀÏßÍø°²·þÎñÆ÷ά»¤»ùµØÕÐÉ̽øÐÐÖУ¡QQ:29769479

footer  footer  footer  footer