lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Error opening new searcher
Date Fri, 20 May 2016 15:57:15 GMT
Actually, it almost certainly _is_ in the regular Solr log file, just
which one. The file logging
rolls over, which is why you have solr.log, solr.log.1 etc. Likely the
message is in one of
those unless it happened a long time ago. Those Solr logs are really a
window that spans
some time period, how long depends on how much log traffic you're
generating. If you
need a longer window, adjust the log4j.properties file.

The console log file will accumulate all messages forever, which is why Shawn
recommends you disable it. If you monitor it and set just the console
logging to WARN
it won't grow very quickly (at least it better not) but you then have to monitor
it yourself.

Best,
Erick

Best,
Erick

On Fri, May 20, 2016 at 4:19 AM, Victor D'agostino
<victor.d.agostino@fiducial.net> wrote:
> Hi Shawn
>
> Ok I am going to comit less often then.
>
> I have planned to set the console log from INFO to WARN but this kind of log
> was not in the solr.log regular log file !
>
> Regards
> Victor
>
> -------- Message original --------
> *Sujet: *Re: Error opening new searcher
> *De : *Shawn Heisey <apache@elyograg.org>
> *Pour : *solr-user@lucene.apache.org
> *Date : *20/05/2016 11:40
>
>> On 5/20/2016 1:46 AM, Victor D'agostino wrote:
>>>
>>> What doest this "try again later" log means in solr-xxxx-console.log :
>>
>> You should really disable console logging entirely.  I assume you're
>> running at least version 5.0?
>>
>>> 193899678 WARN  (qtp1393423910-18329) [c:db s:shard3 r:core_node3
>>> x:db_shard3_replica1] o.a.s.u.p.DistributedUpdateProcessor Error
>>> sending update to http://10.69.212.22:8983/solr
>>> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:
>>> Error from server at http://10.69.212.22:8983/solr/db_shard3_replica1:
>>> Error opening new searcher. exceeded limit of maxWarmingSearchers=2,
>>> try again later.
>>>
>>> Am I supposed to resend the document or will it be inserted just fine
>>> later ?
>>
>> Most likely the update itself was fine -- the error was when opening a
>> new searcher, which is something that happens at commit time.  You would
>> need to check the solr.log file on the server with address 10.69.212.22
>> to be sure.  This particular error message means that you are committing
>> too frequently -- two previous commits with openSearcher=true were not
>> yet finished before a third commit with openSearcher=true was started.
>>
>>> And is it possible to set the log timestamp "193899678" to a human
>>> readable format ?
>>
>> Check the timestamp in the solr.log file.  Like I said above -- the
>> console log should be disabled entirely.  You should be able to remove
>> it as a logging destination by editing resources/log4j.properties
>> (assuming 5.x or 6.x).
>>
>> Thanks,
>> Shawn
>>
>
>
> 
> ________________
> Ce message et les éventuels documents joints peuvent contenir des
> informations confidentielles. Au cas où il ne vous serait pas destiné, nous
> vous remercions de bien vouloir le supprimer et en aviser immédiatement
> l'expéditeur. Toute utilisation de ce message non conforme à sa destination,
> toute diffusion ou publication, totale ou partielle et quel qu'en soit le
> moyen est formellement interdite. Les communications sur internet n'étant
> pas sécurisées, l'intégrité de ce message n'est pas assurée et la société
> émettrice ne peut être tenue pour responsable de son contenu.

Mime
View raw message