From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 23 Oct 2012 21:31:34 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: <3C9CB055-5F76-46DD-A48E-5E52130A913A@9srv.net> <50873938.9050704@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] 9grid? Topicbox-Message-UUID: c777e5c8-ead7-11e9-9d60-3106f5b1d025 > Write a basic http server for Plan 9 (in C) and run Apache Benchmark > against it. Somewhere around 100 concurrent connections, I tend to get > failure. There's code in /sys/src/9/ip that has a hard limit on the # > of concurrent connections IIRC. > > I'd post the code for the server I wrote, but it was written as part > of work so I can't. Still, it's not hard to put together a server > which responds only to a GET. the limit is 1024 for a terminal, and 4096 for a cpu server. if you get a failure at a lower number, then it's not because of concurrent connections, but something else. i know the original nix tcp code had trouble with zero-window probes. i'm not sure if the same was ever true of the distribution. - erik