IOException running akka-sample-hello via JMETER

47 views
Skip to first unread message

hitoshi g

unread,
May 31, 2011, 12:48:04 AM5/31/11
to Akka User List
Hi everyone,

We're experimenting Akka's Microkernel with Mist, and so far it has
been a blast!

One issue: as the subject mentions, we're getting bunch of
EofExceptions when we're running the sample app 'akka-sample-hello'
via JMeter (100 threads, 100 loops, total 10000 requests).

Source code and conf files are pretty much the same as the ones
provided.

Version is 1.1.2

Any help is greatly appreciated.

Thanks,
Hitoshi

Stack trace:

[ERROR] [11/05/30 21:18] [akka:event-driven:dispatcher:global-8]
[anon$2] java.io.IOException: Closed
org.eclipse.jetty.io.RuntimeIOException: java.io.IOException: Closed
at
org.eclipse.jetty.io.UncheckedPrintWriter.setError(UncheckedPrintWriter.java:
107)
at
org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrintWriter.java:
280)
at
org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrintWriter.java:
295)
at akka.http.RequestMethod$$anonfun$complete
$1.apply(Mist.scala:348)
at akka.http.RequestMethod$$anonfun$complete
$1.apply(Mist.scala:345)
at akka.http.RequestMethod$class.rawComplete(Mist.scala:359)
at akka.http.Get.rawComplete(Mist.scala:409)
at akka.http.RequestMethod$class.complete(Mist.scala:345)
at akka.http.Get.complete(Mist.scala:409)
at akka.http.RequestMethod$class.complete(Mist.scala:342)
at akka.http.Get.complete(Mist.scala:409)
at akka.http.RequestMethod$class.OK(Mist.scala:390)
at akka.http.Get.OK(Mist.scala:409)
at main.sample.hello.HelloEndpoint$$anonfun$hello$1$$anon$1$
$anonfun$receive$1.apply(HelloEndpoint.scala:24)
at main.sample.hello.HelloEndpoint$$anonfun$hello$1$$anon$1$
$anonfun$receive$1.apply(HelloEndpoint.scala:21)
at akka.actor.Actor$class.apply(Actor.scala:476)
at main.sample.hello.HelloEndpoint$$anonfun$hello$1$$anon
$1.apply(HelloEndpoint.scala:18)
at akka.actor.LocalActorRef.invoke(ActorRef.scala:861)
at
akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:26)
at akka.dispatch.ExecutableMailbox
$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:209)
at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon
$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:120)
at akka.dispatch.ExecutableMailbox
$class.run(ExecutorBasedEventDrivenDispatcher.scala:182)
at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon
$4.run(ExecutorBasedEventDrivenDispatcher.scala:120)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:
182)
Caused by: java.io.IOException: Closed
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:
147)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:
96)
at java.io.ByteArrayOutputStream.writeTo(Unknown Source)
at org.eclipse.jetty.server.HttpWriter.write(HttpWriter.java:
283)
at org.eclipse.jetty.server.HttpWriter.write(HttpWriter.java:
107)
at
org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrintWriter.java:
271)
... 25 more

Jonas Bonér

unread,
May 31, 2011, 3:54:07 AM5/31/11
to akka...@googlegroups.com
Submit a ticket. Thanks. 
http://akka.io/docs/akka/snapshot/project/issue-tracking.html#issue-tracking

--
Jonas Bonér - CTO
Typesafe - Enterprise-Grade Scala from the Experts
Phone: +46 733 777 123
Twitter: @jboner

On Tuesday, May 31, 2011 at 6:48 AM, hitoshi g wrote:

Hi everyone,

We're experimenting Akka's Microkernel with Mist, and so far it has
been a blast!

One issue: as the subject mentions, we're getting bunch of
EofExceptions when we're running the sample app 'akka-sample-hello'
via JMeter (100 threads, 100 loops, total 10000 requests).

Source code and conf files are pretty much the same as the ones
provided.

Version is 1.1.2

Any help is greatly appreciated.

Thanks,
Hitoshi

Stack trace:

[ERROR] [11/05/30 21:18] [akka:event-driven:dispatcher:global-8]
[anon$2] java.io.IOException: Closed
org.eclipse.jetty.io.RuntimeIOException: java.io.IOException: Closed
at
org.eclipse.jetty.io.UncheckedPrintWriter.setError(UncheckedPrintWriter.java:
107)
at
org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrintWriter.java:
280)
at
org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrinttWriter.java:

295)
at akka.http.RequestMethod$$anonfun$complete
$1.apply(Mist.scala:348)
at akka.http.RequestMethod$$anonfun$complete
$1.apply(Mist.scala:345)
at akka.http.RequestMethod$class.rawComplete(Mist.scala:359)
at akka.http.Get.rawComplete(Mist.scala:409)
at akka.http.RequestMethod$class.complete(Mist.scala:345)
at akka.http.Get.complete(Mist.scala:409)
at akka.http.RequestMethod$class.complete(Mist.scala:342)
at akka.http.Get.complete(Mist.scala:409)
at akka.http.RequestMethod$class.OK(Mist.scala:390)
at akka.http.Get.OK(Mist.scala:409)
at main.sample.hello.HellooEndpoint$$anonfun$hello$1$$anon$1$
1077)

at
org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrintWriter.java:
271)
... 25 more

--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.

hitoshi g

unread,
May 31, 2011, 6:22:48 AM5/31/11
to Akka User List
Done. Thanks.

On May 31, 4:54 pm, Jonas Bonér <jo...@jonasboner.com> wrote:
> Submit a ticket. Thanks.http://akka.io/docs/akka/snapshot/project/issue-tracking.html#issue-t...
>
> --Jonas Bonér - CTO
> Typesafe - Enterprise-Grade Scala from the Experts
> Phone:+46 733 777 123begin_of_the_skype_highlighting            +46 733 777 123      end_of_the_skype_highlighting
> > org.eclipse.jetty.io.UncheckedPrintWriter.write(UncheckedPrintWriter.java:
> > 295)
> >  at akka.http.RequestMethod$$anonfun$complete
> > $1.apply(Mist.scala:348)
> >  at akka.http.RequestMethod$$anonfun$complete
> > $1.apply(Mist.scala:345)
> >  at akka.http.RequestMethod$class.rawComplete(Mist.scala:359)
> >  at akka.http.Get.rawComplete(Mist.scala:409)
> >  at akka.http.RequestMethod$class.complete(Mist.scala:345)
> >  at akka.http.Get.complete(Mist.scala:409)
> >  at akka.http.RequestMethod$class.complete(Mist.scala:342)
> >  at akka.http.Get.complete(Mist.scala:409)
> >  at akka.http.RequestMethod$class.OK(Mist.scala:390)
> >  at akka.http.Get.OK(Mist.scala:409)
> >  at main.sample.hello.HelloEndpoint$$anonfun$hello$1$$anon$1$
> > 107)

Jonas Bonér

unread,
May 31, 2011, 7:05:23 AM5/31/11
to akka...@googlegroups.com

Thank you. We will into it.

--


Jonas Bonér - CTO
Typesafe - Enterprise-Grade Scala from the Experts

http://typesafe.com
Twitter: @jboner

Reply all
Reply to author
Forward
0 new messages