<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div> hi:</div><div><table><tbody><tr><td class="votecell"><div class="vote"><div class="favoritecount"><b></b></div></div></td><td class="postcell"><div><div class="post-text" itemprop="text"><p>    I write a SSH server with Twisted Conch. But encountered a difficult problem.  Assume that user A and user B log in to the twisted ssh server through ssh command. Then user A tail or cat a large file (greater than 100M) on the server, which  will cause a lot of echoing through the twisted ssh server, making python ssh process (twisted.conch ) cpu usage is very high (greater than 95%, or even 100%), then the user B will be blocked, a long time no response. Is there any way to sleep userA's session(0.5 seconds) when find the user A has a large number of echo through the twisted ssh server and not blocking the other connected users?</p><p><a href="http://stackoverflow.com/questions/40601119/python-ssh-server-twisted-conch-takes-up-high-cpu-usage-when-a-large-number-of">http://stackoverflow.com/questions/40601119/python-ssh-server-twisted-conch-takes-up-high-cpu-usage-when-a-large-number-of</a></p><p><font color="#333333">Best regards,</font></p><div style="font: 14px/23.8px Arial; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; widows: 1; font-size-adjust: none; font-stretch: normal; -webkit-text-stroke-width: 0px;"><span style="color: rgb(51, 51, 51); line-height: 20.02px; font-family: arial;"> ---jianchen</span></div><p><br></p><p><br></p><p>   </p></div></div></td></tr></tbody></table></div></div><br><br><span title="neteasefooter"><p> </p></span>