socket.accept error 24: To many open files
Posted
by Creotiv
on Stack Overflow
See other posts from Stack Overflow
or by Creotiv
Published on 2010-04-02T22:56:37Z
Indexed on
2010/04/02
23:03 UTC
Read the original article
Hit count: 280
I have a problem with open files under my Ubuntu 9.10 when running server in Python2.6 And main problem is that, that i don't know why it so..
I have set
ulimit -n = 999999
net.core.somaxconn = 999999
fs.file-max = 999999
and lsof gives me about 12000 open files when server is running.
And also i'm using epoll.
But after some time it's start giving exeption:
File "/usr/lib/python2.6/socket.py", line 195, in accept error: [Errno 24] Too many open files
And i don't know how it can reach file limit when it isn't reached.
Thanks for help)
© Stack Overflow or respective owner