You can check the atones to see if solr itself actually slowed down.  As solr 
has nothing to do with a load balancer I doubt it has. Also you used a sentence 
that concerns me, clearing out the deleted documents, which sounds like an 
optimize command.  You as a user should never use that, let solr manage its 
index on its own and just make sure you always have three times the disk space 
as a full index 

> On Dec 12, 2022, at 3:16 PM, Pradeep <kumarks.prad...@gmail.com> wrote:
> 
> Thank you shawn.
> I will have look, I have checked the solr.log file but didn't see any
> error, after load balancer changes we are seeing this issue.
> 
> How to check time taken by solr to execute api? Also can you share me solr
> doc how we can query manually solr index for specific record or any api's
> you can provide.
> 
> 
> Thanks
> 
> 
> 
>> On Mon, 12 Dec, 2022, 18:51 Shawn Heisey, <elyog...@elyograg.org> wrote:
>> 
>>> On 12/12/22 08:14, Pradeep wrote:
>>> We have migrated Apache solr aws load balancer  from classic to
>> Application
>>> load balancer. We havent changed anything in solr other than migrating
>> load
>>> balancer but solr taking more time while committing in Solr.
>>> 
>>> Fyi, we are processing 200 records every batch, this is failing at last
>>> stage of commit in solr (deleting stale records in solr). But same logic
>>> working fine from many years in classic load balancer but after migration
>>> to ALB this is happenning.
>> 
>> The message subject mentions optimize but the message body does not.
>> 
>> Is optimize involved?  An optimize of a large index is always going to
>> be slow.
>> 
>> Solr does not have any kind of "deleting stale records" that I have ever
>> heard of, so that must be something your code, which is more difficult
>> for us to troubleshoot because we are not going to have any idea how to
>> get that code to give useful logs without a lot more information about
>> that code.
>> 
>> If you're encountering an error from Solr then solr.log should have at
>> least some info about what happened and that might be enough info to
>> figure out the problem.
>> 
>> If changing the load balancer caused issues, then you may need to talk
>> to someone who understands how to troubleshoot the LB.
>> 
>> Basically we need a lot more information about what's happening to have
>> any hope of helping you.
>> 
>> Thanks,
>> Shawn
>> 
>> 

Reply via email to