users@grizzly.java.net

Re: Connection reset by peer (104)

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 22 Oct 2007 15:45:17 +0200

Hello Noah,

looks like some issue in Grizzly, but there is not enough information.
Is it all info/exceptions you have?

If yes, can you pls. pack and send (or publish) the testing apps., so I
will be able to reproduce this?

Thanks.

WBR,
Alexey.

Noah Campbell wrote:
> Running grizzly 1.6.1 http on windows XP
>
> SelectorThread server = new SelectorThread();
> server.setPort(9999);
> server.setDisplayConfiguration(verbose);
> server.setAdapter(new StaticResourcesAdapter("."));
>
> server.initEndpoint();
> server.startEndpoint();
>
> A file named index.html exists in the directory.
>
> ab -c 100 -n 100000 -p file.out -k http://ncampbell-pc:9999/ on RHEL
>
> file.out is 512 bytes.
>
> $ ab -c 100 -n 100000 -p file.out -k http://ncampbell-pc:9999/
> This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
> Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
> http://www.zeustech.net/
> Copyright (c) 1998-2002 The Apache Software Foundation,
> http://www.apache.org/
>
> Benchmarking ncampbell-pc (be patient)
> Completed 10000 requests
> apr_recv: Connection reset by peer (104)
> Total of 12438 requests completed
>
> I'm pretty sure I'm doing something naive, but I need your guidance.
>
> -Noah
>