APR
16
2007
Related Categories:
ColdFusion,
JRun
Some readers are aware of setting JRun log file rotation size and number in the jrun.xml. However the JRun stderr and stdout system logs do not conform to these settings. Last year Adobe released technote 8698aeb8 which contained a hot fix for bug 59486. When JRun is run as a Windows service, the stderr (jrun.server.name-err.log) and stdout (jrun.servere.name-out.log) do not rotate, thus greatly increasing their size until they become eventual server bottlenecks. The hot fix allows administrators to configure a file rotation size with the jrunsvc.exe. The hot fix also requires CFMX 7.0.1+ (Server configuration) or JRun 4 Updater 5+. I had a customer run into this issue and it became apparent that not everyone is aware of this hot fix, nor of the fact that the FileLogEventHandler settings in jrun.xml do not apply to the JRun system logs. Those settings only apply to what are known as the JRun Event logs -- event, debug, info, warning, user, and metrics. So what you'll see is the coldfusion-event.log rotating at about 200k (or the current rotationSize value); however, the coldfusion-out.log will continue to grow past 200k (typically a few hundred MBs). Applying the hot fix and specifying a log rotation size will cause the coldfusion-err.log and coldfusion-out.log to rotate at the specified value.
Comments (2) |
Print |
Send |
del.icio.us
|
Digg It!
|
Linking Blogs