[AWS] Having more then 1000 concurrent connections?

Pascal Obry pascal at obry.net
Wed Aug 10 10:53:08 CEST 2011


Le 10/08/2011 01:35, Joseph Montanez a écrit :
> By default AWS has 5 max connections, so I changed that to 3000.
> However as soon as I get to 1016 connections it stops accepting. I
> could understand 1024 since thats the file descriptor limit, but 1016?
> Here is the config:

3000 connections means 3000 tasks (so threads). Each threads has its own 
stack, on 32bits OS this will just too much threads for the available 
stack size. Even for a quite heavy loaded server a max connection of 100 
and a queue size of 3000 should be ok.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B



More information about the AWS mailing list