[tbnl-devel] 1) Aborted connections 2) create-static-file-dispatcher-and-handler

Edi Weitz edi at agharta.de
Sat Jul 24 00:17:33 UTC 2004


Hi Jeff!

On Fri, 23 Jul 2004 15:22:54 -0700 (PDT), Jeff Caldwell <jdcal at yahoo.com> wrote:

> Edi, your aborted connection patch is a good thing. I don't remember
> if you noted that the aborted connections never happen until after
> ab completes its run.

Yes, I noticed that. As I said, I think that ab simply aborts all
pending connections as soon as the tests are finished.

> The requests are all full ones, and TBNL gets the full request and
> generates a full response, even through more requests are made than
> are asked for with ab's -n parameter.

Yes, looks so. I think one ab thread is firing up new requests as fast
as possible while another one is counting them and stops all as soon
as enough are there. Something like that.

> I'll do more research, for example looking at other Apache module's
> source code, and google searches, or writing a custom ab, when I get
> a chance. Tonight I'm leaving for vacation. I'm taking my laptop but
> my time and access will be occasional only. I'll be back the second
> Tuesday after today.

Have a nice vacation!

I don't think it is necessary to investigate this further unless you
still see problems with mod_lisp/TBNL. But I won't stop you from doing
it... :)

> In create-static-file-dispatcher-and-handler, I'm pretty sure the
> make-array is thread unsafe where it sits.

Good catch. I've changed that.

Cheers,
Edi.




More information about the Tbnl-devel mailing list