我将我的应用程序部署在安装在solaris上的Weblogic 10.3上。过了一会儿,我开始看到“太多打开的文件”异常,这会产生很多问题。我拿了一个pfiles输出,几乎所有输出都填充了与这些相似的行:
1489: S_IFCHR mode:0000 dev:299,0 ino:51621 uid:0 gid:0 rdev:202,1966
O_RDWR
/devices/pci@7c0/pci@0/network@4:bge0
1490: S_IFCHR mode:0000 dev:299,0 ino:51619 uid:0 gid:0 rdev:202,1967
O_RDWR
/devices/pci@7c0/pci@0/network@4:bge0
1491: S_IFCHR mode:0000 dev:299,0 ino:53648 uid:0 gid:0 rdev:202,1968
O_RDWR
/devices/pci@7c0/pci@0/network@4:bge0
1492: S_IFCHR mode:0000 dev:299,0 ino:51618 uid:0 gid:0 rdev:202,1969
O_RDWR
/devices/pci@7c0/pci@0/network@4:bge0
1493: S_IFCHR mode:0000 dev:299,0 ino:51617 uid:0 gid:0 rdev:202,1970
O_RDWR
/devices/pci@7c0/pci@0/network@4:bge0
1494: S_IFCHR mode:0000 dev:299,0 ino:51616 uid:0 gid:0 rdev:202,1971
O_RDWR
/devices/pci@7c0/pci@0/network@4:bge0
1495: S_IFCHR mode:0000 dev:299,0 ino:39102 uid:0 gid:0 rdev:202,1972
O_RDWR
/devices/pci@7c0/pci@0/network@4:bge0
你知道这些线路试图告诉我们什么吗?
注意:根据评论中的要求,我在下面添加了“ls -li / devices / pci @ 7c0 / pci @ 0 / network @ 4:bge0”输出:
# ls -li /devices/pci@7c0/pci@0/network@4:bge0
105906182 crw-rw-rw- 1 root sys 202, 1 Jul 1 09:34 /devices/pci@7c0/pci@0/network@4:bge0
# ls -li /devices/pci@7c0/pci@0/network@4:bge0
105906182 crw-rw-rw- 1 root sys 202, 1 Jul 1 09:34 /devices/pci@7c0/pci@0/network@4:bge0
# ls -li /devices/pci@7c0/pci@0/network@4:bge0
105906182 crw-rw-rw- 1 root sys 202, 1 Jul 1 09:34 /devices/pci@7c0/pci@0/network@4:bge0
答案 0 :(得分:0)
看起来您的应用程序正在打开它永远不会关闭的套接字。检查你的应用。