Thread dumps reveal long running report
Thread dumps in logs show long-running processes relating to reporting.
In the hung threads the lock was held by the below thread;
"WebContainer : 17" Id=175646 in WAITING on lock=java.util.concurrent.locks.ReentrantLock$NonfairSync@8a1113b (running in
BlockedCount : 67, BlockedTime : -1, WaitedCount : 277930, WaitedTime : -1
at sun.misc.Unsafe.park(Native Method)
Steps to Reproduce
A defect in Pegasystems’ code or rules:
There is a race condition where one thread has finished loading the page and performs the following:
- Release the lock.
- Insert the page in directory.
As soon as it releases the lock, the other thread grabs this lock and searches the page in directory. It does not find any, however, because the PUT operation has been completed yet by First Thread. Thus, it tries to reload the same page again and succeeds.
0% found this useful