Hi.
I'm twisted beginner. and My english is not good. ^^;;
 
I have some troubles using Twisted.
 
I make a web server with Twisted.
 
I'd like to test my webserver performance.
 
So Using "httperf", I test my webserver.
 
But result in,
     File "/usr/local/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext

     File "/usr/local/lib/python2.3/site-packages/twisted/python/context.py", line 64, in callWithContext

     File "/usr/local/lib/python2.3/site-packages/twisted/python/context.py", line 43, in callWithContext

     File "/usr/local/lib/python2.3/site-packages/twisted/internet/default.py", line 535, in _doReadOrWrite

     --- <exception caught here> ---
     File "/usr/local/lib/python2.3/site-packages/twisted/internet/tcp.py", line 625, in doRead

     File "/usr/local/lib/python2.3/socket.py", line 167, in accept

     socket.error: (24, 'Too many open files')

 

I think the reason is file open limit per one process(maybe 1024).

how can I solve this problem?

I'd like to

If Process can not open file, that request make wait-status(not allow socket accept).

and when Process can open file, handle the request.

 

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to