[AWS] lot of tasks?

Pascal Obry p.obry@wanadoo.fr
Fri, 21 Mar 2003 17:13:32 +0100


Alejandro. R. Mosteo Chagoyen writes:
 > I've just checked the thread count and, to my surprise, there are 66
 > threads! 

How many simultaneous connections did you setup ? I bet it is something
around 60...

With AWS there is a thead for each connection line. Look at the demos (I
just run them on Windows), runme use 10 threads and soap_server 7. The
default number of simultaneous connection is 5.

The number of thread used by a server (HTTP object) is:

   N = <main server thread> + <max connections> [+ <session cleaner>]

   1 for <session cleaner> if session activated.

I should certainly add this to the documentation.

 > brief explanation? I could ditch in the sources, but a simple
 > explanation could extinguish my curiosity ;)

Hope it did :)

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595