Failed full reindex solr alfresco c 4.0.e

cancel
Showing results for 
Search instead for 
Did you mean: 
rino67
Member II

Failed full reindex solr alfresco c 4.0.e

Hello everyone. I'm using alfresco community 4.0 on Windows Server. I've done the total rebuilding of the indices as shown here http://docs.alfresco.com/4.0/tasks/solr-reindex.html. My contentstore folder contains about 120,000 items. When I restart Tomcat Alfresco I have no error and the reindex seems to be fine. The size of the workspace / index folder increases .. but after a variable time interval (around 3-4 hours) the process fails and I have the following error in catalina log:

5-ott-2017 14.20.39 org.alfresco.solr.tracker.CoreTracker trackRepository
GRAVE: Tracking failed
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:755)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.alfresco.httpclient.AbstractHttpClient.executeMethod(AbstractHttpClient.java:110)
at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(AbstractHttpClient.java:86)
at org.alfresco.httpclient.HttpClientFactory$HttpsClient.sendRequest(HttpClientFactory.java:307)
at org.alfresco.solr.client.SOLRAPIClient.getNodes(SOLRAPIClient.java:490)
at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1402)
at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491)
at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)


Do I have an inconsistency between DataBase and ContenStore ??
Thanks for any help!

1 Reply
andy1
Senior Member

Re: Failed full reindex solr alfresco c 4.0.e

Hi

This error (and indeed most indexing errors) are recoverable. The index building process will retry in this case.

Tracking expects and deals with connectivity issues. You still may want to address those :-)

It is possible there is some repeatable error going on in the tracking process on the repository side - I would always the check the repository log at the same time to exclude this.


Regards

Andy