<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thomas Hervé 写道:
<blockquote cite="mid:1241527336.6561.5.camel@brainwave" type="cite">
  <pre wrap="">Le mardi 05 mai 2009 à 19:33 +0800, 孙绍轩 a écrit :
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello all

I just wrote a small code to holding many http requests until server's
status change. Everything is fine but when simultaneously connection up
to 1k+, the server code didn't response to new connection. I've set
ulimit -n's value to 65535 and the code using epollreactor mode. Are
there have some limitations? How can I configure to support more
connections?
BTW: I use Python 2.4.3 on CentOS 5 64-bit. follow is the code, Thanks
for you help!
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This is known bug of Python 2.4.3. As far as I know it's only present in
this version (not 2.4.2 or 2.4.4, or any 2.5). Reported here:
<a class="moz-txt-link-freetext" href="http://bugs.python.org/issue1494314">http://bugs.python.org/issue1494314</a>.

  </pre>
</blockquote>
Got it!, Thinks for your help.<br>
<br>
<pre class="moz-signature" cols="120">-- 


孙绍轩 Yorgo Sun
 
China Distance Education Holdings Limited
18th Floor, XueYuan International Tower, No.1 ZhiChun Road, HaiDian District, Beijing, China 100083
Phone: +8610-8231-9999 Ext 708
*********************************************************** 
CONFIDENTIALITY CAUTION:
This message is intended only for the use of the individual or entity to whom it is addressed and contains information that is privileged and confidential. If you, the reader of this message, are not the intended recipient, you should not disseminate, distribute or copy this communication. If you have received this communication in error, please notify us immediately by return email and delete the original message.</pre>
</body>
</html>