½â¾ölinuxÏÂtoo many fileÎÊÌâ
¹¤×÷Öз¢ÏÖ£¬ÔÚlinuxÖдWEBLOGICÓ¦Ó÷þÎñÆ÷µÄ»·¾³Ï£¬ÓÐʱ¿ÉÄÜͬʱ·¢²¼¶à¸öwar°ü£¬¶øÇÒÿһ¸öwar°üµÄÎļþÊýÄ¿ºÜ¶à£¬»òÕ߿ͻ§Í¬Ê±·ÃÎÊÁ¿±È½Ï´ó£¬´ËʱWEBLOGIC¾Í»á±¨´í£¬±¨´íÐÅÏ¢Öаüº¬“Too many open files”£¬ÀýÈ磺
java.io.FileNotFoundException: /home/weblogic/bea/user_projects/domains/lhyth/servers/AdminServer/tmp/_WL_user/_appsdir_AM_war/syskue/.tld_cache/webwork-2.2.6.jar/META-INF/taglib.tld/crc.ser (Too many open files)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at weblogic.descriptor.DescriptorCache.writeToCache(DescriptorCache.java:236)
at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:388)
Truncated. see log file for complete stacktrace
ÕâÊÇÒòΪlinuxÏÞÖÆÁË´ò¿ªÎļþµÄ×î´ó¾ä±úÊýÁ¿¡£
linuxĬÈϵĴò¿ªÎļþÊýÁ¿ÊÇ1024£¬ÎÒÃÇ¿ÉÒÔÓÃulimit -a À´²é¿´ÏµÍ³×ÊÔ´£¬ÀýÈ磺
[root@redhat ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024 --´ò¿ª×î´óÎļþÊýÁ¿ÏÞÖÆ
pipe size  
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
ÏÖÔںöàµÄÈË¿ªÊ¼½Ó´¥µçÄÔµÄʱºò£¬¼ûµ½µÄÓ¦¸ÃÊÇWindows98
˵ʵ»°£¬98
ÒѾÊÇÒ»¸öºÜÈËÐÔ»¯£¬·â×°µÄºÜºÃµÄÒ»¸öϵͳÁËÒ»¸ö¶ÔµçÄÔÒ»Çϲ»Í¨µÄÈ˶¼ÄܺܿìµÄʹÓÃËü¡£ÕâÑùºÜ¶àÈ˶Ô"
µçÄÔ"
µÄÓ¡ÏóºÍÄÇЩºÍÎÒÒ»ÑùÒ»¿ªÊ¼½Ó´¥µÄÊÇDOS
ÈËÊǾøÈ»²»Í¬µÄ¡£ÔÚDOS
ʱ´ú£¬Èç¹ûÄã¶ÔµçÄԵĻù´¡Ö ......
1) ÓÀ¾ÃÐÔÉúЧ£¬ÖØÆôºó²»»á¸´Ô
¿ªÆô£º chkconfig iptables on
¹Ø±Õ£º chkconfig iptables off
2) ¼´Ê±ÉúЧ£¬ÖØÆôºó¸´Ô
¿ªÆô£º service iptables start
¹Ø±Õ£º service iptables stop
¿ªÆôºÍ¹Ø±Õ¶Ë¿ÚÏà¹ØÅäÖÃÎļþ
/etc/sysconfig/iptables ......
Ò».Ìí¼ÓÓû§£º
suÃüÁîʹÓÃrootȨÏÞ
ÐÞ¸Ä/etc/passwd,Ìí¼ÓÓû§¼Ç¼
pwconvÈÃ/etc/passwdºÍ/etc/shadowͬ²½
ÐÞ¸Ä/etc/group
´´½¨Óû§µÄÖ÷Ŀ¼£¬²¢°ÑÓû§Æô¶¯Îļþ¼Ð¸´ÖƵ½Óû§µÄÖ÷Ŀ¼
cp -R /etc/skel /home/xxj
¸Ä±äÐÂÔöÓû§µÄÊôÖ÷ºÍȨÏÞ
chown xxj:xxj /home/xxj
ls -ld /home/xxj
chmod 700 /home/xxj
Éè ......