Re: [akka-user] Akka HTTP (Scala) 1.0-RC[12]: Processor actor terminated abruptly

2015-07-17 Thread Jakub Liska
Ah, sorry it requires logger being set to debug mode too. Thanks !

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] Akka HTTP (Scala) 1.0-RC[12]: Processor actor terminated abruptly

2015-07-17 Thread Jakub Liska
I tried this already, but it doesn't seem to have any effect on logging...

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] Akka HTTP (Scala) 1.0-RC[12]: Processor actor terminated abruptly

2015-07-16 Thread Chad Retz
Probably via withDebug on the materializer settings, e.g. 
ActorMaterializer(ActorMaterializerSettings(system).withDebugLogging(true))

On Thursday, July 16, 2015 at 11:28:28 AM UTC-5, Jakub Liska wrote:
>
> Samuel how did you manage to enable this logging : 
>
> [DEBUG] [04/30/2015 22:36:01.921] [default-akka.actor.default-dispatcher-8] 
> [akka://default/system/deadLetterListener] stopped [DEBUG] [04/30/2015 
> 22:36:01.922] [default-akka.actor.default-dispatcher-5] 
> [akka://default/user/$a/flow-2-3-publisherSource-processor-mapConcat] 
> stopped [DEBUG] [04/30/2015 22:36:01.922] 
> [default-akka.actor.default-dispatcher-6] 
> [akka://default/user/$a/flow-2-9-publisherSource-PoolConductor.retryMerge-
> flexiMerge-PoolConductor.retryMerge-flexiMerge] stopped [DEBUG] 
> [04/30/2015 22:36:01.922] [default-akka.actor.default-dispatcher-5] 
> [akka://default/user/$a/flow-2-2-publisherSource-processor-
> PoolSlot.SlotEventSplit-flexiRoute] stopped [DEBUG] [04/30/2015 
> 22:36:01.923] [default-akka.actor.default-dispatcher-12] 
> [akka://default/user/$a/flow-2-4-publisherSource-Merge] stopped [DEBUG] 
> [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-14] 
> [akka://default/user/$a/flow-2-1-publisherSource-Merge] stopped [DEBUG] 
> [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-10] 
> [akka://default/user/$a/flow-2-11-publisherSource-
> PoolConductor.retryMerge-flexiMerge-PoolConductor.RetrySplit-flexiRoute] 
> stopped [DEBUG] [04/30/2015 22:36:01.923] 
> [default-akka.actor.default-dispatcher-12] 
> [akka://default/user/$a/flow-2-12-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
>  
> stopped 
>
> I have akka loglevel set to DEBUG and logback too, but these messages are 
> not logged, thanks
>

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] Akka HTTP (Scala) 1.0-RC[12]: Processor actor terminated abruptly

2015-07-16 Thread Jakub Liska
Samuel how did you manage to enable this logging : 

[DEBUG] [04/30/2015 22:36:01.921] [default-akka.actor.default-dispatcher-8] 
[akka://default/system/deadLetterListener] stopped [DEBUG] [04/30/2015 
22:36:01.922] [default-akka.actor.default-dispatcher-5] 
[akka://default/user/$a/flow-2-3-publisherSource-processor-mapConcat] 
stopped [DEBUG] [04/30/2015 22:36:01.922] 
[default-akka.actor.default-dispatcher-6] 
[akka://default/user/$a/flow-2-9-publisherSource-PoolConductor.retryMerge-
flexiMerge-PoolConductor.retryMerge-flexiMerge] stopped [DEBUG] [04/30/2015 
22:36:01.922] [default-akka.actor.default-dispatcher-5] 
[akka://default/user/$a/flow-2-2-publisherSource-processor-
PoolSlot.SlotEventSplit-flexiRoute] stopped [DEBUG] [04/30/2015 
22:36:01.923] [default-akka.actor.default-dispatcher-12] 
[akka://default/user/$a/flow-2-4-publisherSource-Merge] stopped [DEBUG] 
[04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-14] 
[akka://default/user/$a/flow-2-1-publisherSource-Merge] stopped [DEBUG] 
[04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-10] 
[akka://default/user/$a/flow-2-11-publisherSource-PoolConductor.retryMerge-
flexiMerge-PoolConductor.RetrySplit-flexiRoute] stopped [DEBUG] [04/30/2015 
22:36:01.923] [default-akka.actor.default-dispatcher-12] 
[akka://default/user/$a/flow-2-12-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
 
stopped 

I have akka loglevel set to DEBUG and logback too, but these messages are 
not logged, thanks

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] Akka HTTP (Scala) 1.0-RC[12]: Processor actor terminated abruptly

2015-05-04 Thread Akka Team
Hi,

If a stream is not stopped "normally", but the system is shut down
underneath, then it sends an error message to all of its downstreams
(because it is not normal completion) so they can clean up properly. If you
see these messages during system shutdown then it means some streams were
still running.

This is not a "real" error in all cases, it might be that you have received
everything what you wanted and shut down the actor system, while some
stream internals are already shutting down, but the actor system shutdown
"wins" the race and stops some stream actors that are still running.

-Endre

On Thu, Apr 30, 2015 at 10:55 PM, Samuel Tardieu  wrote:

> Hi.
>
> With akka http 1.0-RC2 (was similar in 1.0-RC1), one of my program signals
> an intermittent error that I do not understand.
>
> The context: one HTTP GET request is sent out, the JSON response is
> properly received, decoded and acted upon, and then the system terminates
> with (system being my ActorSystem):
>
> Await.ready(Http().shutdownAllConnectionPools(), 5.seconds)
> system.shutdown()
>
> The error only happens from time to time (I’d say once every three runs).
> I have activated akka.actor.debug.{receive,autoreceive,lifecycle,fsm}.
>
> Any idea of what could be the cause?
>
> INFO] [04/30/2015 22:36:01.916] [run-main-0] [ActorSystem(default)] 
> Initiating orderly shutdown of all active host connections pools...
> [DEBUG] [04/30/2015 22:36:01.921] [default-akka.actor.default-dispatcher-8] 
> [akka://default/system/deadLetterListener] stopped
> [DEBUG] [04/30/2015 22:36:01.922] [default-akka.actor.default-dispatcher-5] 
> [akka://default/user/$a/flow-2-3-publisherSource-processor-mapConcat] stopped
> [DEBUG] [04/30/2015 22:36:01.922] [default-akka.actor.default-dispatcher-6] 
> [akka://default/user/$a/flow-2-9-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.retryMerge-flexiMerge]
>  stopped
> [DEBUG] [04/30/2015 22:36:01.922] [default-akka.actor.default-dispatcher-5] 
> [akka://default/user/$a/flow-2-2-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
>  stopped
> [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-12] 
> [akka://default/user/$a/flow-2-4-publisherSource-Merge] stopped
> [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-14] 
> [akka://default/user/$a/flow-2-1-publisherSource-Merge] stopped
> [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-10] 
> [akka://default/user/$a/flow-2-11-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.RetrySplit-flexiRoute]
>  stopped
> [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-12] 
> [akka://default/user/$a/flow-2-12-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
>  stopped
> [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-14] 
> [akka://default/user/$a/flow-2-14-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
>  stopped
> [DEBUG] [04/30/2015 22:36:01.923] [default-akka.actor.default-dispatcher-10] 
> [akka://default/user/$a/flow-2-5-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
>  stopped
> [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-12] 
> [akka://default/user/$a/flow-2-13-publisherSource-processor-mapConcat] stopped
> [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-14] 
> [akka://default/user/$a/flow-2-15-publisherSource-processor-mapConcat] stopped
> [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-10] 
> [akka://default/user/$a/flow-2-6-publisherSource-processor-mapConcat] stopped
> [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-3] 
> [akka://default/user] stopping
> [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-4] 
> [akka://default/user/SlotProcessor-0] stopped
> [DEBUG] [04/30/2015 22:36:01.924] [default-akka.actor.default-dispatcher-14] 
> [akka://default/user/SlotProcessor-3] stopped
> [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-10] 
> [akka://default/user/SlotProcessor-1] stopped
> [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-12] 
> [akka://default/user/SlotProcessor-2] stopped
> [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-12] 
> [akka://default/user/$a/flow-3-16-actorPublisherSource-actorSubscriberSink] 
> stopped
> [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-13] 
> [akka://default/user/$a/flow-2-8-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.Route-flexiRoute]
>  stopped
> [DEBUG] [04/30/2015 22:36:01.926] [default-akka.actor.default-dispatcher-11] 
> [akka://default/user/$a/flow-2-7-publisherSource-PoolConductor.retryMerge-flexiMerge-mapConcat]
>  stopped
> [DEBUG] [04/30/2015 22:36:01.928] [default-akka.actor.default-dispatcher-8] 
> [akka://default/user/PoolInterfaceActor-0] stopped
> [DEBUG] [04/30/2015 22:

[akka-user] Akka HTTP (Scala) 1.0-RC[12]: Processor actor terminated abruptly

2015-04-30 Thread Samuel Tardieu
Hi.

With akka http 1.0-RC2 (was similar in 1.0-RC1), one of my program signals
an intermittent error that I do not understand.

The context: one HTTP GET request is sent out, the JSON response is
properly received, decoded and acted upon, and then the system terminates
with (system being my ActorSystem):

Await.ready(Http().shutdownAllConnectionPools(), 5.seconds)
system.shutdown()

The error only happens from time to time (I’d say once every three runs). I
have activated akka.actor.debug.{receive,autoreceive,lifecycle,fsm}.

Any idea of what could be the cause?

INFO] [04/30/2015 22:36:01.916] [run-main-0] [ActorSystem(default)]
Initiating orderly shutdown of all active host connections pools...
[DEBUG] [04/30/2015 22:36:01.921]
[default-akka.actor.default-dispatcher-8]
[akka://default/system/deadLetterListener] stopped
[DEBUG] [04/30/2015 22:36:01.922]
[default-akka.actor.default-dispatcher-5]
[akka://default/user/$a/flow-2-3-publisherSource-processor-mapConcat]
stopped
[DEBUG] [04/30/2015 22:36:01.922]
[default-akka.actor.default-dispatcher-6]
[akka://default/user/$a/flow-2-9-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.retryMerge-flexiMerge]
stopped
[DEBUG] [04/30/2015 22:36:01.922]
[default-akka.actor.default-dispatcher-5]
[akka://default/user/$a/flow-2-2-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
stopped
[DEBUG] [04/30/2015 22:36:01.923]
[default-akka.actor.default-dispatcher-12]
[akka://default/user/$a/flow-2-4-publisherSource-Merge] stopped
[DEBUG] [04/30/2015 22:36:01.923]
[default-akka.actor.default-dispatcher-14]
[akka://default/user/$a/flow-2-1-publisherSource-Merge] stopped
[DEBUG] [04/30/2015 22:36:01.923]
[default-akka.actor.default-dispatcher-10]
[akka://default/user/$a/flow-2-11-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.RetrySplit-flexiRoute]
stopped
[DEBUG] [04/30/2015 22:36:01.923]
[default-akka.actor.default-dispatcher-12]
[akka://default/user/$a/flow-2-12-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
stopped
[DEBUG] [04/30/2015 22:36:01.923]
[default-akka.actor.default-dispatcher-14]
[akka://default/user/$a/flow-2-14-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
stopped
[DEBUG] [04/30/2015 22:36:01.923]
[default-akka.actor.default-dispatcher-10]
[akka://default/user/$a/flow-2-5-publisherSource-processor-PoolSlot.SlotEventSplit-flexiRoute]
stopped
[DEBUG] [04/30/2015 22:36:01.924]
[default-akka.actor.default-dispatcher-12]
[akka://default/user/$a/flow-2-13-publisherSource-processor-mapConcat]
stopped
[DEBUG] [04/30/2015 22:36:01.924]
[default-akka.actor.default-dispatcher-14]
[akka://default/user/$a/flow-2-15-publisherSource-processor-mapConcat]
stopped
[DEBUG] [04/30/2015 22:36:01.924]
[default-akka.actor.default-dispatcher-10]
[akka://default/user/$a/flow-2-6-publisherSource-processor-mapConcat]
stopped
[DEBUG] [04/30/2015 22:36:01.924]
[default-akka.actor.default-dispatcher-3] [akka://default/user]
stopping
[DEBUG] [04/30/2015 22:36:01.924]
[default-akka.actor.default-dispatcher-4]
[akka://default/user/SlotProcessor-0] stopped
[DEBUG] [04/30/2015 22:36:01.924]
[default-akka.actor.default-dispatcher-14]
[akka://default/user/SlotProcessor-3] stopped
[DEBUG] [04/30/2015 22:36:01.926]
[default-akka.actor.default-dispatcher-10]
[akka://default/user/SlotProcessor-1] stopped
[DEBUG] [04/30/2015 22:36:01.926]
[default-akka.actor.default-dispatcher-12]
[akka://default/user/SlotProcessor-2] stopped
[DEBUG] [04/30/2015 22:36:01.926]
[default-akka.actor.default-dispatcher-12]
[akka://default/user/$a/flow-3-16-actorPublisherSource-actorSubscriberSink]
stopped
[DEBUG] [04/30/2015 22:36:01.926]
[default-akka.actor.default-dispatcher-13]
[akka://default/user/$a/flow-2-8-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.Route-flexiRoute]
stopped
[DEBUG] [04/30/2015 22:36:01.926]
[default-akka.actor.default-dispatcher-11]
[akka://default/user/$a/flow-2-7-publisherSource-PoolConductor.retryMerge-flexiMerge-mapConcat]
stopped
[DEBUG] [04/30/2015 22:36:01.928]
[default-akka.actor.default-dispatcher-8]
[akka://default/user/PoolInterfaceActor-0] stopped
[DEBUG] [04/30/2015 22:36:01.928]
[default-akka.actor.default-dispatcher-9]
[akka://default/user/$a/flow-2-10-publisherSource-PoolConductor.retryMerge-flexiMerge-PoolConductor.SlotSelector-flexiMerge]
stopped
[DEBUG] [04/30/2015 22:36:01.928]
[default-akka.actor.default-dispatcher-14]
[akka://default/user/$a/flow-3-0-actorPublisherSource-actorPublisherSource]
stopped
[DEBUG] [04/30/2015 22:36:01.928]
[default-akka.actor.default-dispatcher-9]
[akka://default/user/$a/flow-3-1-actorPublisherSource-Broadcast-map]
stopped
[DEBUG] [04/30/2015 22:36:01.928]
[default-akka.actor.default-dispatcher-8]
[akka://default/user/$a/flow-3-10-actorPublisherSource-Broadcast-stageFactory-stageFactory-splitWhen]
stopped
[DEBUG] [04/30/2015 22:36:01.929]
[default-akka.actor.default-dispatcher-5]
[akka://default/user/$a/flow-3-3-actorPublisherSource-Broadcast-Broadcast