be careful with drop_caches - make sure you sync first
On Thu, Aug 22, 2013 at 1:28 PM, Jean-Sebastien Vachon < jean-sebastien.vac...@wantedanalytics.com> wrote: > I was afraid someone would tell me that... thanks for your input > > > -----Original Message----- > > From: Toke Eskildsen [mailto:t...@statsbiblioteket.dk] > > Sent: August-22-13 9:56 AM > > To: solr-user@lucene.apache.org > > Subject: Re: Flushing cache without restarting everything? > > > > On Tue, 2013-08-20 at 20:04 +0200, Jean-Sebastien Vachon wrote: > > > Is there a way to flush the cache of all nodes in a Solr Cloud (by > > > reloading all the cores, through the collection API, ...) without > > > having to restart all nodes? > > > > As MMapDirectory shares data with the OS disk cache, flushing of > > Solr-related caches on a machine should involve > > > > 1) Shut down all Solr instances on the machine > > 2) Clear the OS read cache ('sudo echo 1 > /proc/sys/vm/drop_caches' on > > a Linux box) > > 3) Start the Solr instances > > > > I do not know of any Solr-supported way to do step 2. For our > > performance tests we use custom scripts to perform the steps. > > > > - Toke Eskildsen, State and University Library, Denmark > > > > > > ----- > > Aucun virus trouvé dans ce message. > > Analyse effectuée par AVG - www.avg.fr > > Version: 2013.0.3392 / Base de données virale: 3209/6563 - Date: > 09/08/2013 > > La Base de données des virus a expiré. >