문제

I am experiencing an issue with delayed writes to the application logs for a Java EE web application running in IBM WebSphere v. 7.x. Logging statements taking up to an hour to appear in the application logs.

The problem doesn't appear related to heavy loads; WAS is responding to page requests almost instantly, and I am testing against a box that isn't used for performance testing, and on a holiday no less -- there is very little activitiy on the server.

My guess would be that the thread associated with logging has been configured with very low priority, but I cant figure out where that would be configured via the admin console or the configuration files.

Has anyone else experienced this sort of issue with WebSphere?

도움이 되었습니까?

해결책

it's possible you don't even enough available threads in the thread pool. Its consistant with the page requests being fast, as they are controlled by the WebContainer threads.

Try increasing it:

Servers > Application Servers > Thread pools > ... Not sure exactly which one to increase its max value. In worst case, increase'em all. Increase it heavily, so to be sure.

Other options: make sure you enough disk space / try to connect with jConsole to inquire.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top