linux下 c socket 编程 我的程序客户端和服务端建立连接后,就用这个socket下载一个文件,大约3M,每次到2.8M左右程序就不动了。客户端关掉,然后在连接, 服务端就会报错:too many open files ,我只打开了一个socket而已,加上第二次的也就两个。为什么会报:too many open files 这个错误呢。有的时候select(socket) 时还会报Segmentation fault 错误,程序退出。郁闷死!! 哪位大侠之前遇到过类似的问题,麻烦指教1,2
by liujq110 - C/C++ - 2008-12-14 15:30:42 阅读(2415) 回复(15)
Hi, I hit the following message although I had set the limit to infinite for all the user. 2006-07-08-06.18.57.889084+480 I26511174C505 LEVEL: Severe (OS) PID : 1417446 TID : 772 PROC : db2hmon 0 INSTANCE: db2repl NODE : 000 FUNCTION: DB2 UDB, SQO Memory Management, sqlocshr2, probe:200 CALLED : OS, -, shmat OSERR : EMFILE (24) "too many open files"...
大家好,我在OS/2上写了一个通讯程序,写日志的时候老是出现fopen时的错误,提示 too many open files,不能再打开文件,可是我所有打开的文件都关闭了,这时怎么回事呢?
Hello everyone, I got following error messages in alert log file, would anyone give me some suggestions how to figure out these problems, how to set up the parameters both in Oracle and Linux. Thanks in advance! ORA-00603: ORACLE server session terminated by fatal error ORA-01115: IO error reading block from file 16 (block # 10548) ORA-01110: data file 16: '/usr1/oradata/prdb/rbs03.dbf' ORA-2704...
今天數据庫已經down兩次了, rh7.2 + oracle8.1.7, 什么回事呵? Errors in file /home/oracle/app/oracle/admin/nmis/bdump/lgwr_1052.trc: ORA-00313: open failed for members of log group 1 of thread 1 ORA-00312: online log 1 thread 1: '/data/u01/oradata/nmis/redo01.log' ORA-27041: unable to open file Linux Error: 23: too many open files in system Additional information: 2 LGWR: terminating instance due to...
为什么这个情况还会出现 “too many open files”的问题? [root@localhost ~]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 32693 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files ...
我在AIX操作系统上运行一个C程序,在调用SHMAT 时返回 shmat:: too many open files,据查资料,AIX 32位操作系统只支持11个共享段,但是我的程序在第4个SHMAT就出错了,另外在此之前有调用ORACLE 的OCI。 请问各位专家,如何解决此问题。非常感谢
我的weblogic经常报too many open files错误,BEA的人说是系统的问题。 我该怎么调整我的solaris8呢? 在/etc/system里,我的设置是 set rlim_fd_max=8192 set rlim_fd_cur=8192 还有什么其它的地方要修改的吗?
请教各位高手! hp小机,was6。 应用突然出现java.net.SocketException: too many open files的错误。而且很多用户登陆不上,查看was的systemout.log日志,里面基本上全是“TCPC0007E: 正在侦听主机 * (IPv4) 端口 9080 的 TCP 通道 TCP_2 已停止接受连接。”的错误! 请大侠指点迷津,跪谢!