Hi Shawn ,
Please find the gc logs from our test server. Your help is much appreciated.

https://drive.google.com/drive/folders/1VQqlRxiDnHWPUlmTUv83a8CqCtvBP4le?usp=sharing

Also our Solr version is 8.8.2, so if there is a fix after 8.4+ , the 8.8.2
version should have this anyway right.
I've increased the autocommit maxtime to 60000, opensearcher is false  and
autosoftcommit maxtime to 120000 to check just for 2 collections, and for
those 2 I'm not getting the Overlapping on Decksearchers so frequently ,
but the below errors are happening frequently.

*Request Handler Base : java.io.IOException:Task Queue processing has
stalled for 20191 ms with 0 remaining elements to process*
*Httpsolrcall : java.io.IOException:Task Queue processing has stalled for
20191 ms with 0 remaining elements to process*
*Solrwriter : Exception while deleting by query (throws err in Post Import
Delete query)*

Initially in solr.in.cmd the heap  and GC settings were not enabled , now
it's enabled. Added the details (solr.in.jpeg)  in the above link as well.
Uploaded the error log screenshot (solr_logging.jpeg)

Kindly help to check and advise .

Thanks
Reej



On Fri, Aug 13, 2021 at 9:57 PM Shawn Heisey <apa...@elyograg.org> wrote:

> On 8/13/2021 7:36 AM, Reej M wrote:
> > Have any of you  found a solution for the Task Queue  processing has
> stalled for 20077 ms with 0 remaining elements to process.
> > We are using solr 8.8.2, randomly we get this error while indexing. Is
> there any way we need to tune the solr.autocommit.maxtime?
> > For few cores we have it as 15000, for few we have it as 500, 1 or -1.
> Also the maxwarmingsearchers is set to 2
> > Kindly advise on how to tune this.
>
> A value of 500 or 1 is far too aggressive.  It means that a commit will
> fire off either half a second or one millisecond after any updates are
> made.  A value of -1 turns the feature off and you do not want that.
>
> The example configs have it set to 15000 (15 seconds), I personally
> would go with 60000.  And I would make sure that openSearcher is set to
> false on autoCommit.  That option on autoSoftCommit makes no sense, so
> you won't find it in example configs.  For autoSoftCommit the maxTime
> value should be much larger -- two minutes (120000) is about as low as I
> would dare go on that.
>
> I don't know that any autoCommit setting is going to help with that
> particular message, though.  The message was added to 8.4 by this issue:
>
> https://issues.apache.org/jira/browse/SOLR-13975
>
> With version before 8.4, the stall would still occur but you would not
> be notified, and it would probably stall forever -- 8.4 can apparently
> break the stall.
>
> As for what might be causing it, I do not know.  It might be that your
> heap is too small, causing Java to spend a lot of time doing garbage
> collection in order to keep Solr running.  Or it might be a general
> performance issue.  If you can provide your GC logs that Solr writes, I
> can look into the possibility of garbage collection pauses.  You'll need
> to put them on a file sharing site and provide links -- the mailing list
> eats message attachments.
>
> Thanks,
> Shawn
>
>

Reply via email to