Re: Async logging using lmax disruptor is consuming more heap memory

2024-02-22 Thread Ganesh S
e to the byte[] object, > >> RingBufferLogEvent is pointing to the byte[] object through > SimpleMessage > >> class. > >> [image: image.png] > >> > >> *RingBufferLogEvent is pointing to SimpleMessage which is storing the > log > >> messa

Re: Async logging using lmax disruptor is consuming more heap memory

2024-02-20 Thread Remko Popma
og >> message as byte[], which is of the size 197 kB (equal to single log message >> size).* >> >> [image: image.png] >> *Similar to that, there are 1,73,534 instances.* >> >> *If we see the shallow size of RingBufferLogEvent, it is 27 MB, but >> including the exte

Re: Async logging using lmax disruptor is consuming more heap memory

2024-02-20 Thread Anthony Maire
see the shallow size of RingBufferLogEvent, it is 27 MB, but > including the external reference object, i.e., byte[], it reaches 2.02 GB.* > [image: image.png] > *In Async logging, number of waiting thread are high, since lmax > disruptor is based on inter-thread messaging* > > [i

Async logging using lmax disruptor is consuming more heap memory

2024-02-20 Thread Ganesh S
that, there are 1,73,534 instances.* *If we see the shallow size of RingBufferLogEvent, it is 27 MB, but including the external reference object, i.e., byte[], it reaches 2.02 GB.* [image: image.png] *In Async logging, number of waiting thread are high, since lmax disruptor is based on inter-thread mess

Async logging

2021-05-03 Thread Hasan Topcu
Hi, It looks like asynchronous logger configuration is set to flush ~ every 3 minutes. But current configuration makes it difficult to troubleshoot issues. Is there a way of changing the log flush interval to a more sensitive one like 3-5 seconds ? It says that "Async Loggers will auto-flush i

Re: Log4j2 Async Logging with LMAX Disruptor

2020-02-20 Thread Carter Kozak
Is there any chance you could provide a thread dump as well, even if internal details are redacted, in addition to the configuration? On Thu, Feb 20, 2020, at 19:36, Remko Popma wrote: > The queue being full means that the application is logging faster than the > underlying appenders can handle.

Re: Log4j2 Async Logging with LMAX Disruptor

2020-02-20 Thread Remko Popma
The queue being full means that the application is logging faster than the underlying appenders can handle. It’s not necessarily an indication that there’s a problem with the async loggers that sit in the middle. Things I’ve seen in the past that may cause the queue filling up: * using a custom

Log4j2 Async Logging with LMAX Disruptor

2020-02-20 Thread Mark Butler
Hello team I am using Apache Log4j2 2.13.0 with LMax Disrupter 3.4.2 I encountering problems were occasionally an instance will go into deadlock. All threads are deadlocking here: org.apache.logging.log4j.core.async.AsyncLoggerDisruptor.enqueueLogMessageWhenQueueFull(RingBufferLogEventTranslator

[LOG4J 2] SocketAppender and Async Logging

2013-10-22 Thread Andrew Berman
should've been sent to the socket. Is SocketAppender not compatible with async logging? Is it possible to modify the SocketAppender to have a reconnection interval as well so it continually retries using some sort of internal buffer? Is there a better method of sending the log data so

async logging to database

2006-10-05 Thread Harinath Mallepally
Hi all, What are the steps that are needed to execute logging into a database table as part of async logging? Does the DB TABLE need to be created with specific type columns or even column names to be hardcoded? Can you please let me know the pointers to this? -Harinath