Re: 用SocketServer.ThreadingTCPSe rver建的socket服务,能同时支持多少 并发数

"kilnt.huo" <[email protected]> Fri, 25 Jan 2008 14:29:50 +0800
Newsgroups gmane.comp.python.chinese
Message-ID <[email protected]>
线程数与os本身有关,linux 很多版本默认只有 255 。可用253。

> 如果我在服务端的handle(self)中加入很小的延时函数,客户端就报连接拒绝
> "socket.error: (111, 'Connection refused')"
> 我猜想是服务端的并发不够了,怎么才能增加server端的并发数??
>
> _______________________________________________
> python-chinese
> Post: send [email protected]
> Subscribe: send subscribe to [email protected]
> Unsubscribe: send unsubscribe to  [email protected]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese

_______________________________________________
python-chinese
Post: send [email protected]
Subscribe: send subscribe to [email protected]
Unsubscribe: send unsubscribe to  [email protected]
Detail Info: http://python.cn/mailman/listinfo/python-chinese