2015-02-26 8:19 GMT+01:00 Aymeric Augustin <[email protected]>:
>> IMO, the fact that you get so many errors indicates that something is
>> probably wrong in your benchmark setup. It is difficult to believe that
>> Flask and Django would believe so badly in such a simple (almost
>> simplistic) workload.
>
> If you push concurrency too far — like 5000 threads — I expect
> performance to plummet and that kind of results. I suspect that’s
> the situation Ludovic’s benchmark creates. It's a pathological use
> case for threads.

On Linux, to see the number of threads of a process, you can use the command:

    grep ^Threads: /proc/<pid>/status

or:

    ls /proc/<pid>/task/|wc -l"

Victor

Reply via email to