Intermittent Gatling User is hung in active state due to Actor io.gatling.core.action.SingletonFeed@53a18ab2 crashed on message

Hi All,

Hi All,
Facing an unusual issue using Gatling Version 2.1.5 during Gatling Performance run(1 in 5 runs) Intermittent Gatling User is hung in active state due to Actor io.gatling.core.action.SingletonFeed@53a18ab2 crashed on message Some(FeedMessage(Session(Load Test:Sampke test )with below exception .
Can you kindly help me with error cause.Will be obliged if any one can help on same
Thanks in advance !!!
Regards
Sharik Saigal M

Exception Stack Trace:

5:31:27.805 [GatlingSystem-akka.actor.default-dispatcher-5] ERROR io.gatling.core.action.SingletonFeed - Actor io.gatling.core.action.SingletonFeed@721b4777 crashed on message Some(FeedMessage(Session("Test data"),1433777252522,17,OK,List(ExitOnCompleteLoopBlock(9a2f75e8-3e12-4c83-b07d-67e51201268c)),<function1>),<function1>,Actor[akka://GatlingSystem/user/httpRequest-9#-2001516511]))
java.util.concurrent.TimeoutException: Futures timed out after [5 seconds]
	at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219) ~[scala-library-2.11.6.jar:na]
	at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:223) ~[scala-library-2.11.6.jar:na]
	at scala.concurrent.Await$$anonfun$result$1.apply(package.scala:190) ~[scala-library-2.11.6.jar:na]
	at akka.dispatch.MonitorableThreadFactory$AkkaForkJoinWorkerThread$$anon$3.block(ThreadPoolBuilder.scala:169) ~[akka-actor_2.11-2.3.9.jar:na]
	at scala.concurrent.forkjoin.ForkJoinPool.managedBlock(ForkJoinPool.java:3640) [scala-library-2.11.6.jar:na]
	at akka.dispatch.MonitorableThreadFactory$AkkaForkJoinWorkerThread.blockOn(ThreadPoolBuilder.scala:167) ~[akka-actor_2.11-2.3.9.jar:na]
	at scala.concurrent.Await$.result(package.scala:190) ~[scala-library-2.11.6.jar:na]
	at com.cisco.sunlight.gattest.auth.AuthorizeTestUser$class.getAccessTokenForUser(AuhorizeTestuser.scala:30) ~[gatling-classes/:na]
	at com.cisco.sunlight.gattest.CreateAndPickPodLoadTest.getAccessTokenForUser(CreateAndPickPodLoadTest.scala:33) ~[gatling-classes/:na]
	at com.cisco.sunlight.gattest.CreateAndPickPodLoadTest$$anon$1.next(CreateAndPickPodLoadTest.scala:98) ~[gatling-classes/:na]
	at com.cisco.sunlight.gattest.CreateAndPickPodLoadTest$$anon$1.next(CreateAndPickPodLoadTest.scala:83) ~[gatling-classes/:na]
	at io.gatling.core.action.SingletonFeed.io$gatling$core$action$SingletonFeed$$pollRecord$1(SingletonFeed.scala:39) ~[gatling-core-2.1.5.jar:2.1.5]
	at io.gatling.core.action.SingletonFeed.io$gatling$core$action$SingletonFeed$$injectRecords$1(SingletonFeed.scala:44) ~[gatling-core-2.1.5.jar:2.1.5]
	at io.gatling.core.action.SingletonFeed$$anonfun$3.apply(SingletonFeed.scala:55) ~[gatling-core-2.1.5.jar:2.1.5]
	at io.gatling.core.action.SingletonFeed$$anonfun$3.apply(SingletonFeed.scala:55) ~[gatling-core-2.1.5.jar:2.1.5]
	at io.gatling.core.validation.Success.flatMap(Validation.scala:33) ~[gatling-core-2.1.5.jar:2.1.5]
	at io.gatling.core.action.SingletonFeed.feed(SingletonFeed.scala:55) ~[gatling-core-2.1.5.jar:2.1.5]
	at io.gatling.core.action.SingletonFeed$$anonfun$receive$1.applyOrElse(SingletonFeed.scala:28) ~[gatling-core-2.1.5.jar:2.1.5]
	at akka.actor.Actor$class.aroundReceive(Actor.scala:465) ~[akka-actor_2.11-2.3.9.jar:na]
	at io.gatling.core.akka.BaseActor.aroundReceive(BaseActor.scala:22) ~[gatling-core-2.1.5.jar:2.1.5]
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) ~[akka-actor_2.11-2.3.9.jar:na]
	at akka.actor.ActorCell.invoke(ActorCell.scala:487) ~[akka-actor_2.11-2.3.9.jar:na]
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254) [akka-actor_2.11-2.3.9.jar:na]
	at akka.dispatch.Mailbox.run(Mailbox.scala:221) [akka-actor_2.11-2.3.9.jar:na]
	at akka.dispatch.Mailbox.exec(Mailbox.scala:231) [akka-actor_2.11-2.3.9.jar:na]
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [scala-library-2.11.6.jar:na]
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [scala-library-2.11.6.jar:na]
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [scala-library-2.11.6.jar:na]
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [scala-library-2.11.6.jar:na]
[ERROR] [06/08/2015 15:31:27.801] [GatlingSystem-akka.actor.default-dispatcher-6] [akka://GatlingSystem/user/$a] Futures timed out after [5 seconds]
java.util.concurrent.TimeoutException: Futures timed out after [5 seconds]
	at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219)
	at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:223)
	at scala.concurrent.Await$$anonfun$result$1.apply(package.scala:190)
	at akka.dispatch.MonitorableThreadFactory$AkkaForkJoinWorkerThread$$anon$3.block(ThreadPoolBuilder.scala:169)
	at scala.concurrent.forkjoin.ForkJoinPool.managedBlock(ForkJoinPool.java:3640)
	at akka.dispatch.MonitorableThreadFactory$AkkaForkJoinWorkerThread.blockOn(ThreadPoolBuilder.scala:167)
	at scala.concurrent.Await$.result(package.scala:190)
	at com.cisco.sunlight.gattest.auth.AuthorizeTestUser$class.getAccessTokenForUser(AuhorizeTestuser.scala:30)
	at com.cisco.sunlight.gattest.CreateAndPickPodLoadTest.getAccessTokenForUser(CreateAndPickPodLoadTest.scala:33)
	at com.cisco.sunlight.gattest.CreateAndPickPodLoadTest$$anon$1.next(CreateAndPickPodLoadTest.scala:98)
	at com.cisco.sunlight.gattest.CreateAndPickPodLoadTest$$anon$1.next(CreateAndPickPodLoadTest.scala:83)
	at io.gatling.core.action.SingletonFeed.io$gatling$core$action$SingletonFeed$$pollRecord$1(SingletonFeed.scala:39)
	at io.gatling.core.action.SingletonFeed.io$gatling$core$action$SingletonFeed$$injectRecords$1(SingletonFeed.scala:44)
	at io.gatling.core.action.SingletonFeed$$anonfun$3.apply(SingletonFeed.scala:55)
	at io.gatling.core.action.SingletonFeed$$anonfun$3.apply(SingletonFeed.scala:55)
	at io.gatling.core.validation.Success.flatMap(Validation.scala:33)
	at io.gatling.core.action.SingletonFeed.feed(SingletonFeed.scala:55)
	at io.gatling.core.action.SingletonFeed$$anonfun$receive$1.applyOrElse(SingletonFeed.scala:28)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
	at io.gatling.core.akka.BaseActor.aroundReceive(BaseActor.scala:22)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
	at akka.actor.ActorCell.invoke(ActorCell.scala:487)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)
	at akka.dispatch.Mailbox.run(Mailbox.scala:221)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:231)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Hi,

For now, I only see 2 possible explanations:

  • you wrote your own feeder/iterator that can become slow at some point,
  • your machine is not suited for load testing: either it’s not powerful enough, or there’s something that can suddenly eat all the CPU, like an antivirus.
    Would it make sense?