ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nginx & comet: Как принять бол ее 64K одновременных соед инений ...


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Nginx & comet: Как принять бол ее 64K одновременных соед инений ...
  • From: Eugene Batogov <johnbat26@xxxxxxxxx>
  • Date: Fri, 3 Dec 2010 15:38:53 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:x-kmail-markup:mime-version :content-type:content-transfer-encoding:message-id; bh=0Q5VnkSCyrwJUF+TnQSWwkj/pgkLpDIA4iflc0U+i1g=; b=j9/28hsD4/IEWVhe2x3HUT7/nD758NwudKCaVJtuVuegLPheeDUFgPbqlKfdB45RtS BVXGzjShOwZYfDo9i576dFTERqQ1FGeRjafE6NsOYtqODues0iYcs+nJnXSOzdEPPyZM fhB88SOqfN7Pg2Qnd5rl0ok8ecRE3VJ8iHdsQ=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :x-kmail-markup:mime-version:content-type:content-transfer-encoding :message-id; b=QmiKUYzrB6iGMrpRJMMOPGetqg+pofiByolwomRJSwTKr1zsXoqWVFpev3jA4/qdoQ uicnh08QevlEV9KNc9rPh57BeGSERlpCG9JwZiHf7v+lx23ykr9wnUYOoqxW1moH6j/f b/r3amIlJMgJm9ZqS7P3pJzvXvzmy4s2eQ380=
  • In-reply-to: <AANLkTimszj8ZD=qQp+rxe-xB9hfPMk_xPsCYtX9Dvzf-@xxxxxxxxxxxxxx>
  • References: <AANLkTi=uPR8rsQSPSbtT3XBFY1oJfNNEszueC_RZKMe9@xxxxxxxxxxxxxx> <AANLkTimszj8ZD=qQp+rxe-xB9hfPMk_xPsCYtX9Dvzf-@xxxxxxxxxxxxxx>

OS: CentOs 5.5

uname -a:

Linux comp1 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 EDT 2010 i686 i686 i386 GNU/Linux

sysctl -p:

net.ipv4.ip_forward = 0

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.default.accept_source_route = 0

kernel.sysrq = 0

kernel.core_uses_pid = 1

net.ipv4.tcp_syncookies = 1

kernel.msgmnb = 65536

kernel.msgmax = 65536

kernel.shmmax = 4294967295

kernel.shmall = 268435456

net.ipv4.ip_local_port_range = 1025 65535

net.ipv4.tcp_tw_recycle = 1

net.ipv4.tcp_fin_timeout = 3

net.core.netdev_max_backlog = 10000

net.core.somaxconn = 262144

net.ipv4.tcp_max_syn_backlog = 262144

net.ipv4.tcp_max_tw_buckets = 720000

net.ipv4.tcp_timestamps = 1

net.ipv4.tcp_tw_reuse = 1

net.ipv4.tcp_keepalive_time = 1800

net.ipv4.tcp_keepalive_probes = 7

net.ipv4.tcp_keepalive_intvl = 30

net.core.wmem_max = 33554432

net.core.rmem_max = 33554432

net.core.rmem_default = 8388608

net.core.wmem_default = 4194394

net.ipv4.tcp_rmem = 4096 8388608 16777216

net.ipv4.tcp_wmem = 4096 4194394 16777216

net.ipv4.tcp_mem = 50576 64768 98152

net.ipv4.tcp_orphan_retries = 3

net.ipv4.tcp_max_orphans = 65536

fs.file-max = 999999

vm.swappiness = 20

-----------

Нагрузку давал с двух машин.

С одной 40K и с другой 40K

--

Best Regards, Eugene Batogov

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.