Thank Patric,
I will check that . but looking at the 2nd image, doesn't seems strange all 
those akka.event.logging$Info2/Debug2 objects ? 

and yes, definitely missed that logger . 

Thanks

On Friday, April 21, 2017 at 1:13:13 PM UTC+3, Patrik Nordwall wrote:
>
> Doesn't the first picture indicate that you create many actors that are 
> never stopped?
>
> By the way, you should also set 
> logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
> see http://doc.akka.io/docs/akka/2.4.17/java/logging.html#SLF4J
>
> /Patrik
>
> On Fri, Apr 21, 2017 at 7:51 AM, AL <[email protected] <javascript:>> 
> wrote:
>
>> Hi ,
>> I am analyzing my heap dump after suffering from a crash. it seems 
>> that akka.event.logging.$.. filling up the heap (see attached images).
>> My actors are extends ActorLogging.  and we are using logback.
>> my configuration:
>>
>> akka {
>>   loglevel = "DEBUG"
>>   loggers = ["akka.event.slf4j.Slf4jLogger"]
>>   log-dead-letters = 10
>> }
>>
>> logback.xml:
>> <configuration">
>>  <jmxConfigurator />
>>     <conversionRule conversionWord="coloredLevel" 
>> converterClass="com.foo.logging.ColoredLevel"/>
>>     <property name="COLORED_LEVEL_PATTERN" value="%coloredLevel 
>> [%d{ISO8601}] %c: %m%n%rEx" />
>>     <property name="NON_COLORED_LEVEL_PATTERN" value="%-5level 
>> [%d{ISO8601}] %c: %m%n%rEx" />
>>     <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
>>         <target>System.out</target>
>>         <encoder 
>> class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
>>             <layout class="com.foo.logging.fooLayout">
>>                 <pattern>${COLORED_LEVEL_PATTERN}</pattern>
>>             </layout>
>>         </encoder>
>>     </appender>
>>
>>     <appender name="MAIN_FILE" 
>> class="ch.qos.logback.core.rolling.RollingFileAppender">
>>         <file>tmp/foo.log</file>
>>         <rollingPolicy 
>> class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
>>             <fileNamePattern>tmp/foo.log.%i.gz</fileNamePattern>
>>             <minIndex>1</minIndex>
>>             <maxIndex>10</maxIndex>
>>         </rollingPolicy>
>>         <triggeringPolicy 
>> class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
>>             <maxFileSize>100MB</maxFileSize>
>>         </triggeringPolicy>
>>         <encoder 
>> class="ch.qos.logback.core.encoder.LayoutWrappingEncoder">
>>             <layout class="com.foo.logging.fooLayout">
>>                 <pattern>${NON_COLORED_LEVEL_PATTERN}</pattern>
>>             </layout>
>>         </encoder>
>>     </appender>
>>     <logger name="akka.actor" level="INFO"/>
>>     <logger name="org.springframework" level="WARN"/>
>>     <logger name="org.glassfish" level="WARN"/>
>>     <root level="INFO">
>>         <appender-ref ref="MAIN_FILE"/>
>>         <appender-ref ref="CONSOLE"/>
>>     </root>
>> </configuration>
>>
>> *What can I do other then remove some logs ? *
>>
>> * I did saw this answer 
>> <https://groups.google.com/d/msg/akka-user/zMitnnUaQQ4/hmGoto9CuRUJ> 
>> from 2013, but how can I limit the ActorLogging mailbox ?
>>
>> Thank you for helping
>>
>> -- 
>> >>>>>>>>>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Patrik Nordwall
> Akka Tech Lead
> Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
> Twitter: @patriknw
>
>

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to