logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soma (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LOG4J2-1340) AsyncLogger's Ringbuffer holding all JVM memory
Date Wed, 06 Apr 2016 02:14:25 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227471#comment-15227471
] 

Soma edited comment on LOG4J2-1340 at 4/6/16 2:13 AM:
------------------------------------------------------

I am using two appenders for each log 1. SocketAppender 2. RollingRandomAccessFile.

I have tried setting ringbuffer size in applicationContext.xml, but its not reflecting in
AsyncLoggerConfig creating with default size 262144. I see system property as 128


was (Author: somu1276@gmail.com):
I am using two appenders for each log 1. SocketAppender 2. RollingRandomAccessFile.

I have tried setting ringbuffer size in applicationContext.xml, but its not reflecting in
AsyncLoggerConfig creating with default size 262144. looks like by the time I set system property
ringbuffer already created?

> AsyncLogger's Ringbuffer holding all JVM memory
> -----------------------------------------------
>
>                 Key: LOG4J2-1340
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1340
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5
>         Environment: Linux 2.6.32-431.17.1.el6.x86_64 x86_64
> java version "1.7.0_75"
> OpenJDK Runtime Environment (rhel-2.5.4.0.el6_6-x86_64 u75-b13)
> OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
>            Reporter: Soma
>         Attachments: debuglog ringbuffersize.png, heapdump.JPG
>
>
> JVM getting Out of memory. when I see the heapdump analysis I found 93% of memory occupied
by AsyncLogger's RingBuffer. we have total of 5 AsyncLoggers in our applications each having
default buffer size.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message