[Twisted-Python] My twisted web server fall down

2009-05-24 Thread Muaaz Hussain
Dear all, I ran penetration testing tool against my twisted web server , the tool used to make a huge number of threads, all that threads make a connection to the twisted concurrently. when I made the number of threads more than 1024 the twisted web server eventually has fall down. is there any

Re: [Twisted-Python] My twisted web server fall down

2009-05-24 Thread Alvin Delagon
Are logs saying something like this: Too Many Open Files? If it is, you have to setup your file descriptor limit (ulimit -n) first before starting the app. On Sun, May 24, 2009 at 2:15 PM, Muaaz Hussain muaazhussain...@gmail.comwrote: Dear all, I ran penetration testing tool against my

Re: [Twisted-Python] My twisted web server fall down

2009-05-24 Thread Michael Hudson
2009/5/24 Muaaz Hussain muaazhussain...@gmail.com: Dear all, I ran penetration testing tool against my twisted web server , the tool used to make a huge number of threads, all that threads make a connection to the twisted concurrently. when I made the number of threads more than 1024 the

Re: [Twisted-Python] My twisted web server fall down

2009-05-24 Thread Reza Lotun
On Sun, May 24, 2009 at 7:49 AM, Alvin Delagon adela...@gmail.com wrote: Are logs saying something like this: Too Many Open Files? If it is, you have to setup your file descriptor limit (ulimit -n) first before starting the app. In addition to changing ulimit -n values you should also take a

Re: [Twisted-Python] My twisted web server fall down

2009-05-24 Thread glyph
On 06:15 am, muaazhussain...@gmail.com wrote: I ran penetration testing tool against my twisted web server , the tool used to make a huge number of threads, all that threads make a connection to the twisted concurrently. when I made the number of threads more than 1024 the twisted web server

[Twisted-Python] Processpool recommendation (for scaling to multiple CPUs)

2009-05-24 Thread Attila Nagy
Hello, Is there any efficient built-in machinery in twisted for running a (TCP, UDP or unix domain socket) service in a connection multiplexer-worker processes manner? Or if there isn't, what is the recommended way of doing this? (any examples maybe?) I've got some CPU scalability issues (the

Re: [Twisted-Python] Processpool recommendation (for scaling to multiple CPUs)

2009-05-24 Thread glyph
On 08:21 pm, b...@fsn.hu wrote: I've got some CPU scalability issues (the application became CPU bound, but there are a lot more CPUs, which can't be used because of the uniprocess nature), threading is not a solution, so the next logical move could be starting multiple twisted reactors in