[jboss-user] [Performance Tuning] - Re: Performance issue related to logging in JBOSS 5

Francesco Marchioni do-not-reply at jboss.com
Fri Nov 5 08:52:26 EDT 2010


Francesco Marchioni [http://community.jboss.org/people/f_marchioni] created the discussion

"Re: Performance issue related to logging in JBOSS 5"

To view the discussion, visit: http://community.jboss.org/message/569801#569801

--------------------------------------------------------------
>From your description it's not clear if the performance issue is related mostly to high CPU usage (because of writer threads) or because of high memory pressure (which will trigger longer and frequent garbage collector pauses).
For example, you might try adding to your File Appender configuration:

<param name="ImmediateFlush" value="false" />

This will avoid flusing every log statement, thus reducing the stress on CPU, but will engage more memory.
However the problem appears to me quite complex, so you will need a full CPU-Memory analisys.
(By the way, I also am not aware of any issue related to log4j file Appender like the one you have mentioned).

Hope it helps
Francesco
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/569801#569801]

Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101105/e29308e5/attachment-0001.html 


More information about the jboss-user mailing list