²Ù×÷ϵͳ: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²é¿´Ïà¹ØµÄÅäÖÃ