Skip to main content
New Participant
April 27, 2011
Question

solr collections disappearing

  • April 27, 2011
  • 1 reply
  • 936 views

Yesterday I created 7 solr collections. I loaded them up with data and started testing the multi-collection search against them using a webservice to access the search. I tested the searching from my local machine and was happy. This will finally resolve an issue we have had for 8 million years!!! This morning I came in and tested it again, still good. So I pushed the update to a semi-live state and allowed some traffic to it. Almost immediately I started getting "Cannot perform web service invocation search." errors. When I went to the CF administrator to see what was going on, none of the collections were listed. All the physical files still existed, but the collections were not longer registered. I restarted the Solr Service and they all came back. Again, I pushed a little traffic and they disappeared immediately.

There are no entries in the error logs for the server doing the search nor for the server trying to serve the search.

The server is running CF9.0 enterprise, 64-bit with 7GB of ram to the jvm.The largest collection is 554,000 documents.

Has anyone seen this behavior before?

Thanks,

Scott

    This topic has been closed for replies.

    1 reply

    New Participant
    April 27, 2011

    Additional information: I just let tested again while watching the CF monitor. When solr stopped responding, the monitor showed it was only serving about 1.5 requests per second.

    Scott

    New Participant
    April 27, 2011

    for anyone else that runs into this issue, I found the solution in an article by Mark Kruger at http://www.coldfusionmuse.com/index.cfm/2010/4/4/solr-troubleshooting-coldfusion-9.

    The error was that while CF had plenty of ram in the jvm, solr only allocates 256MB by default. By updating the solr.lax configuration file to allow more ram to solr, I now have stability and a great solution to our problem!

    Scott