Exception in thread "Thread-1" java.io.EOFException

548 views
Skip to first unread message

empty account

unread,
Feb 5, 2015, 8:36:45 AM2/5/15
to gat...@googlegroups.com
Hi, 

I am receiving a new exception when running the tests which stops the test run. 

Exception in thread "Thread-1" java.io.EOFException
        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2598)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1318)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
        at sbt.React.react(ForkTests.scala:114)
        at sbt.ForkTests$$anonfun$mainTestTask$1$Acceptor$2$.run(ForkTests.scala:74)
        at java.lang.Thread.run(Thread.java:745)
[info] Simulation(s) execution ended.
[error] Error during tests:

I am using gatling 2.1.3.

Is there any more information, I can provide for you.

Adrian


Stéphane LANDELLE

unread,
Feb 5, 2015, 10:46:10 AM2/5/15
to gat...@googlegroups.com
Mystery: https://github.com/sbt/sbt/issues/653

We would need a reproducer...

Stéphane Landelle
Lead developer


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

empty account

unread,
Feb 5, 2015, 3:25:01 PM2/5/15
to gat...@googlegroups.com
This is the test I am running.

It is a high load, so I do some tuning beforehand.

I have also seen the test freeze (no errors)

Many Thanks

Adrian


Stéphane LANDELLE

unread,
Feb 5, 2015, 3:43:01 PM2/5/15
to gat...@googlegroups.com
My2cents: the test crashes for whatever unknown reason but sbt swallows what happens and throws this weird EOF.
Can you try running your test with the standard bundle, please?

Stéphane Landelle
Lead developer


empty account

unread,
Feb 5, 2015, 6:03:26 PM2/5/15
to gat...@googlegroups.com
Hi Stephane

I ran the test through the download bundle on an m3.xlarge. Even though I have a ramp-up for 10 mins the test progress bar hits around 8 or 9% and doesn't move beyond this ( although requests are still being sent). The test will not finish without sending a termination signal. 

Adrian

Stéphane LANDELLE

unread,
Feb 6, 2015, 5:16:53 AM2/6/15
to gat...@googlegroups.com
Could you try generating the reports from the incomplete simulation.log file, after killing? Use the -ro (reports-only) option.

Also, did you trying monitoring GC during the run? It could be that the heap is full, causing GC to pass all the time.

Stéphane Landelle
Lead developer


Stéphane LANDELLE

unread,
Feb 6, 2015, 7:58:00 AM2/6/15
to gat...@googlegroups.com
I just ran a quick test with your simulation (from OSX, you I couldn't properly raise the fd limit and quickly ran out of fd).
Anyway, after 30 seconds, I has ~600 concurrent active users, and response time was already very bad.

I think you're quickly way past the limits of your system under test, but you keep on throwing new virtual users at it.
As virtual users take forever to complete the full scenario and exit, they just pile up in memory.
At some point, you end up with a full non-GCable heap, and GC keeps on being triggered but not being able to free anything, cause the JVM to freeze. 

Inline image 1).

Stéphane Landelle
Lead developer


Reply all
Reply to author
Forward
0 new messages