Hi,

 

All of a sudden we started to get following exception about SOLR on our live 
server. 

This is causing a very high CPU usage on the server,  displaying server busy 
error to users.

 

----------------------------------------------------------

2013-01-11 13:04:06,715 ERROR org.dspace.statistics.SolrLogger @ Service 
Unavailable

Service Unavailable

request: http://127.0.0.1:8080/solr/statistics/update

org.apache.solr.common.SolrException: Service Unavailable

Service Unavailable

request: http://127.0.0.1:8080/solr/statistics/update

        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343)

        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183)

        at 
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217)

        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:85)

        at org.dspace.statistics.SolrLogger.post(SolrLogger.java:247)

        at 
org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:41)

        at 
org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:154)

 

--------------------------------------------------------

 

I goggled on this error and found a page from AtMire   
<http://atmire.com/statistics_performance.php> 
http://atmire.com/statistics_performance.php,.

 

It talks about enabling autocommit.

 

The settings for autocommit in our solrconfig.xml are commented.

 

<!-- Perform a <commit/> automatically under certain conditions:

         maxDocs - number of updates since last commit is greater than this

         maxTime - oldest uncommited update (in ms) is this long ago

    <autoCommit>

      <maxDocs>10000</maxDocs>

      <maxTime>1000</maxTime>

    </autoCommit>

    -->

 

Do we need to enable autocommit  to resolve this error?

 

Another interesting thing to notice is that  wget on solr url shows an error.

 

wget  http://127.0.0.1:8080/solr/statistics/

--2013-01-11 13:18:47--  http://127.0.0.1:8080/solr/statistics/

Connecting to 127.0.0.1:8080... connected.

HTTP request sent, awaiting response... 404 Not Found

2013-01-11 13:18:47 ERROR 404: Not Found.

 

Is there anything missing here?

 

Thanks

Kirti

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to