On 8/27/2016 9:08 AM, Thiru M wrote: > We are using Solr 5.4.0 - "stand-alone" mode in our production boxes > hosted in Red Hat Enterprise Linux (RHEL) OS. > > Each box have number of different cores. Have attached the screenshot > shot with the Solr core & system details. > > 1. Earlier indexing was performed every 30 minutes in both production > servers, > > 2. In linux-a server 30 (stand-alone) cores created on same day and > content indexed into it, > > 3. we then spotted unusual GC performing every 2 to 7 seconds in > linux-a server and the Solr process spiked, > > 4. Then we removed the indexing in linux-a server for a week, > monitored the both Solr process and GC.(No indexing performed during > this time), > > 5. No one uses the system during night time which we ensured it from > our end. But both Solr process and GC were in its peak, even "during > non business hours", > > 6. Have restated Solr instance in linux-a server. GC started again > after Solr instance brought up, > > 7. In linux-b server no spike in Solr process and no issues with GC, >
Indexing creates a LOT of garbage. Queries also create garbage, but not nearly as fast as indexing. Solr has some background processes, and these will create garbage too. Java uses a garbage collection memory model, so this is completely normal for java applications. What precisely were you measuring during the night with no activity, and what precise methods were you using to measure it? What part of the information you obtained represents a problem in your mind? We'll also need some details about these servers: * Total index size of all Solr cores on the server. * Total amount of memory installed in the server. * Total number of documents contained in all Solr cores. * How many Solr instances per server? What is the max heap size of each instance? Attachments rarely make it to the list. The screenshot you mentioned did not make it. You'll need to put it somewhere on the Internet an provide a URL. Sharing sites like drobox or imgur are good choices for image data. Since I don't have a clear idea of what the exact issue is here, I don't have any immediate suggestions, aside from possibly increasing your max heap size ... but depending on the answers to the questions above, that might make things worse. Thanks, Shawn