Too many open files

85 views
Skip to first unread message

kernelheaders

unread,
May 21, 2012, 2:23:24 PM5/21/12
to C++ RTMP Server
Hello ,

I recieve this error .

1337630659:0:/tmp/crtmpserver/sources/thelib/src/netio/epoll/
tcpacceptor.cpp:137:Accept:Unable to accept client connection: Too
many open files (24)
1337630659:2:/tmp/crtmpserver/sources/thelib/src/netio/epoll/
tcpacceptor.cpp:259:IsAlive:IsAlive not yet implemented
1337630659:0:/tmp/crtmpserver/sources/thelib/src/netio/epoll/
tcpacceptor.cpp:137:Accept:Unable to accept client connection: Too
many open files (24)
1337630659:2:/tmp/crtmpserver/sources/thelib/src/netio/epoll/
tcpacceptor.cpp:259:IsAlive:IsAlive not yet implemented
1337630659:0:/tmp/crtmpserver/sources/thelib/src/netio/epoll/
tcpacceptor.cpp:137:Accept:Unable to accept client connection: Too
many open files (24)
1337630659:2:/tmp/crtmpserver/sources/thelib/src/netio/epoll/
tcpacceptor.cpp:259:IsAlive:IsAlive not yet implemented
1337630659:0:/tmp/crtmpserver/sources/thelib/src/netio/epoll/
tcpacceptor.cpp:137:Accept:Unable to accept client connection: Too
many open files (24)
1337630659:2:/tmp/crtmpserver/sources/thelib/src/netio/epoll/
tcpacceptor.cpp:259:IsAlive:IsAlive not yet implemented
1337630659:0:/tmp/crtmpserver/sources/thelib/src/netio/epoll/
tcpacceptor.cpp:137:Accept:Unable to accept client connection: Too
many open files (24)

How i change connection limit ?

C++ RTMP Server

unread,
May 22, 2012, 10:50:44 AM5/22/12
to c-rtmp...@googlegroups.com
read about ulimit. is an OS thing...
> You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> To post to this group, send email to c-rtmp...@googlegroups.com
> To unsubscribe from this group, send email to
> c-rtmp-serve...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/c-rtmp-server?hl=en

------
C++ RTMP Server
Web: http://www.rtmpd.com




王磊

unread,
May 23, 2012, 8:22:02 PM5/23/12
to c-rtmp...@googlegroups.com
use "ulimit -n " to check how many file handler your process can open.

Rani

unread,
May 24, 2012, 7:52:34 PM5/24/12
to C++ RTMP Server
srv#ulimit -n 40960
and it is done. do not forget to put it at start up too
Reply all
Reply to author
Forward
0 new messages