All, We recently upgrade to 2.6 and noticed a dramatic increase in CPU and Thread utilization that seems to be tied to the new “garbage free” mode of log4j 2.6. Here’s some of the baseline numbers:
· Log4j 2.5: CPU typically ran around 25% · Log4j 2.6: CPU typically ran around 75% · Log4j 2.6.2+: CPU typically ran around 100% · We’ve also tried turning off garbage free mode and that made things worse as the CPU was around 120% and caused us to not meet our SLA’s It important to note that this is a REST Api using Jersey and typically responds in about in under 50ms on a per request so its high volume, but the logging level is WARN or higher except for our single performance log record which is written once per request using the lambda base approach. Our next test is going to be switching to all ASYNC loggers and see what effect that has, but I guess the general question is, has anyone else seen this? Any thoughts? Ron DiFrango ________________________________________________________ The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.