Hi all

My ApacheSolr installation is working just fine except that the daily optimize job returns

"0" Status: Communication Error in apachesolr_cron in the watchdog.

I added some extra logging in _cron to show that it is the optimize step.

The optimize seems to happen successfully. I can see on the Solr statistics page that the optimize count is incremented. I can try optimize directly using curl and that seems to work nicely too and returns a 200 http response and status 0 in the XML.

Any ideas? Is there any potential problem if optimize runs while there are uncommited adds?

I'm using the embedded Jetty. I might try Tomcat.

Thanks

Comments

icosa’s picture

Title: Optmize step in cron produces "0" Status: Communication Error but still seems to work. » Optimize step in cron produces "0" Status: Communication Error but still seems to work.

Fixed typo in heading

icosa’s picture

Moving to Tomcat didn't help :( . Not that there is any logical reason why it should.

icosa’s picture

It seems to be a timeout problem.

Drupal_Apache_Solr_Service never waits more than 30 seconds.

Bug report posted. http://drupal.org/node/1567950

nick_vh’s picture

Status: Active » Closed (duplicate)

Closing as duplicate. Thanks for reporting