Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

CQ 5.6 , Thread Blocked/CPU Utilization issue

Avatar

Avatar
Level 1
vivekk75439140
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
vivekk75439140
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
vivekk75439140
Level 1

05-03-2018

Hi,

I am facing thread block issue on CQ 5.6, where 100 threads are blocked all waiting for the follwing thread to finish. This is happening after every dispatcher cleanup.

Could you please help me to identify the root cause of this and how to resolve this issue.

10.236.16.8 [1519387176366] GET <path omitted >writing-instruments.filter.html HTTP/1.1

Stack Trace is:

java.lang.Thread.State: BLOCKED (on object monitor)

at org.apache.jackrabbit.spi.commons.conversion.GenerationalCache.put(GenerationalCache.java:137)

- locked <0x000000067de65c00> (a org.apache.jackrabbit.spi.commons.conversion.GenerationalCache)

at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getJCRPath(CachingPathResolver.java:121)

at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getJCRPath(DefaultNamePathResolver.java:90)

at org.apache.jackrabbit.core.SessionImpl.getJCRPath(SessionImpl.java:644)

at org.apache.jackrabbit.core.security.authorization.acl.EntryFilterImpl$1.getPath(EntryFilterImpl.java:50)

at org.apache.jackrabbit.core.security.authorization.acl.EntryFilterImpl.getPath(EntryFilterImpl.java:124)

at org.apache.jackrabbit.core.security.authorization.acl.EntryFilterImpl.matches(EntryFilterImpl.java:111)

at org.apache.jackrabbit.core.security.authorization.acl.EntryFilterImpl.filterEntries(EntryFilterImpl.java:83)

at org.apache.jackrabbit.core.security.authorization.acl.EntryCollector.filterEntries(EntryCollector.java:173)

at org.apache.jackrabbit.core.security.authorization.acl.EntryCollector.collectEntries(EntryCollector.java:148)

at org.apache.jackrabbit.core.security.authorization.acl.CompiledPermissionsImpl.canRead(CompiledPermissionsImpl.java:263)

- locked <0x00000006ce795a58> (a java.lang.Object)

at org.apache.jackrabbit.core.security.DefaultAccessManager.canRead(DefaultAccessManager.java:265)

at org.apache.jackrabbit.core.ItemManager.canRead(ItemManager.java:438)

at org.apache.jackrabbit.core.ItemManager.createItemData(ItemManager.java:848)

at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:391)

at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:669)

- eliminated <0x00000006ce78b580> (a org.apache.jackrabbit.core.ItemManager)

Thanks,

Vivek Kumar

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

05-03-2018

AEM 5.6 is very old and there has been many improvements to Dispatcher since them. I assume many community member are past 5.6 as well as 5.6 is no longer supported according to the docs. Let see if other community members on 5.6 address this thread.

Avatar

Avatar
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
MC_Stuff
Level 8

05-03-2018

Hi Vivek,

  The problem description & stack trace does not match. Sounds you are snipping the actual piece of it.   Because AFAIK there is no out of the box selecter filter.   In any case you can try following

CacheEntryCollector cache size is too small

Thanks,