[zeromq-dev] hitting file descriptor using gevent

Tim Cooijmans timcooijmans at gmail.com
Sun Jul 10 17:04:58 CEST 2011


Martin Sustrik <sustrik <at> 250bpm.com> writes:

> 
> On 07/10/2011 03:59 PM, Tim Cooijmans wrote:
> 
> > Which works fine as long as there are less like 70 clients. Above this the
> > "frontend-server" is hitting the file descriptor limit.
> 
> What OS are you on? 70 seems unreasonably low. What your OS' fd limit?
> 
> Martin
> 
I'm running Ubuntu 10.04.2 on a 64-bit machine.
$ ulimit -Hn
1024
$ ulimit -Sn
1024
$ cat /proc/sys/fs/file-nr
7008	0	105284

This is the error which I get:
Too many open files
epoll_fd != -1 (epoll.cpp:41)





More information about the zeromq-dev mailing list