You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by slly <sl...@126.com> on 2022/04/24 08:25:06 UTC

Dead lock on CountSlotArrAcc initialization(Update java stack)

Hello everyone. We have a strange problem recently in solr-8.9.x 

Very many facet threads are in runnable state, never quit, all in Object.wait

Maybe it's a bug:https://bugs.openjdk.java.net/browse/JDK-8037567

Has anyone ever encountered a similar error?

"SearchHandler-qtp148626113-17351269" #17351269 prio=5 os_prio=0 tid=0x00007f1414579800 nid=0xd194 in Object.wait() [0x00007f0f93922000]

   java.lang.Thread.State: RUNNABLE

        at org.apache.solr.search.facet.FacetProcessor.createAccs(FacetProcessor.java:312)

        at org.apache.solr.search.facet.FacetProcessor.processStats(FacetProcessor.java:300)

        at org.apache.solr.search.facet.FacetProcessor.fillBucket(FacetProcessor.java:431)

        at org.apache.solr.search.facet.FacetQueryProcessor.process(FacetQuery.java:65)

        at org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:454)

        at org.apache.solr.search.facet.FacetModule.process(FacetModule.java:152)




 

|
| |
| |
Thanks.




 





 





 

Re: Dead lock on CountSlotArrAcc initialization(Update java stack)

Posted by YangLiu <sl...@126.com>.

Thanks Justin. We also temporarily fixed the deadlock.
If you have opened an issue, thank you very much for sharing it with us.





At 2022-04-25 00:39:00, "Justin Sweeney" <ju...@gmail.com> wrote:
>Hi,
>
>We encountered a similar issue and fixed this in a patch on the fork of
>Solr we use. I can open an issue and upstream the fix we implemented for
>our fork to the upstream repository.
>
>There is a possibility of deadlock between two different classes being
>initialized which it looks like you are hitting as well.
>
>Justin
>
>On Sun, Apr 24, 2022 at 2:26 AM slly <sl...@126.com> wrote:
>
>> Hello everyone. We have a strange problem recently in solr-8.9.x
>>
>> Very many *facet* threads are in runnable state, never quit, all in
>> Object.wait
>>
>> Maybe it's a bug:https://bugs.openjdk.java.net/browse/JDK-8037567
>>
>> Has anyone ever encountered a similar error?
>>
>> "SearchHandler-qtp148626113-17351269" #17351269 prio=5 os_prio=0
>> tid=0x00007f1414579800 nid=0xd194 in Object.wait() [0x00007f0f93922000]
>>
>>    java.lang.Thread.State: RUNNABLE
>>
>>         at
>> org.apache.solr.search.facet.FacetProcessor.createAccs(FacetProcessor.java:312)
>>
>>         at
>> org.apache.solr.search.facet.FacetProcessor.processStats(FacetProcessor.java:300)
>>
>>         at
>> org.apache.solr.search.facet.FacetProcessor.fillBucket(FacetProcessor.java:431)
>>
>>         at
>> org.apache.solr.search.facet.FacetQueryProcessor.process(FacetQuery.java:65)
>>
>>         at
>> org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:454)
>>
>>         at
>> org.apache.solr.search.facet.FacetModule.process(FacetModule.java:152)
>>
>>
>>
>>
>> Thanks.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>

Re: Dead lock on CountSlotArrAcc initialization(Update java stack)

Posted by Justin Sweeney <ju...@gmail.com>.
Hi,

We encountered a similar issue and fixed this in a patch on the fork of
Solr we use. I can open an issue and upstream the fix we implemented for
our fork to the upstream repository.

There is a possibility of deadlock between two different classes being
initialized which it looks like you are hitting as well.

Justin

On Sun, Apr 24, 2022 at 2:26 AM slly <sl...@126.com> wrote:

> Hello everyone. We have a strange problem recently in solr-8.9.x
>
> Very many *facet* threads are in runnable state, never quit, all in
> Object.wait
>
> Maybe it's a bug:https://bugs.openjdk.java.net/browse/JDK-8037567
>
> Has anyone ever encountered a similar error?
>
> "SearchHandler-qtp148626113-17351269" #17351269 prio=5 os_prio=0
> tid=0x00007f1414579800 nid=0xd194 in Object.wait() [0x00007f0f93922000]
>
>    java.lang.Thread.State: RUNNABLE
>
>         at
> org.apache.solr.search.facet.FacetProcessor.createAccs(FacetProcessor.java:312)
>
>         at
> org.apache.solr.search.facet.FacetProcessor.processStats(FacetProcessor.java:300)
>
>         at
> org.apache.solr.search.facet.FacetProcessor.fillBucket(FacetProcessor.java:431)
>
>         at
> org.apache.solr.search.facet.FacetQueryProcessor.process(FacetQuery.java:65)
>
>         at
> org.apache.solr.search.facet.FacetRequest.process(FacetRequest.java:454)
>
>         at
> org.apache.solr.search.facet.FacetModule.process(FacetModule.java:152)
>
>
>
>
> Thanks.
>
>
>
>
>
>
>
>
>
>
>
>
>