We send it a normal kill, wait 30 seconds, then use a "kill -9". This means we tell it to shut down, give it thirty seconds to do whatever it wants to, then forcefully kill it. I'm not sure we have ever seen the first 'normal kill' work, but we do it anyway.
Lance -----Original Message----- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 8:22 PM To: solr-user@lucene.apache.org Subject: Re: Problem restarting Solr after shutting it down. Sorry, I gave you the wrong kill signal. It's kill -QUIT <pid here>. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Erik Holstad <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Wednesday, October 1, 2008 5:48:04 PM > Subject: Re: Problem restarting Solr after shutting it down. > > Hi Otis! > Thanks for the reply, tried it and this is the output: > > [EMAIL PROTECTED] ~]$ startsolr.sh > 2008-10-01 14:26:47.771::INFO: Logging to STDERR via > org.mortbay.log.StdErrLog > 2008-10-01 14:26:47.904::INFO: jetty-6.1.3 > 2008-10-01 14:27:28.086::INFO: Shutdown hook executing > 2008-10-01 14:27:28.187::INFO: Shutdown hook complete > > when doing kill -HUP on the java process. So it shut down the Solr process. > > > > > > On Wed, Oct 1, 2008 at 2:20 PM, Otis Gospodnetic > > wrote: > > > Erik, > > > > While it's sitting there try kill -HUP the java process a few times > > and see it any threads are blocking and where. > > The 2-minute pause smells like a network timeout of some kind. > > > > Otis > > -- > > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > > > > > ----- Original Message ---- > > > From: Erik Holstad > > > To: solr-user@lucene.apache.org > > > Sent: Wednesday, October 1, 2008 3:53:49 PM > > > Subject: Problem restarting Solr after shutting it down. > > > > > > Hi! > > > We are having this weird issue when killing a running instance of > > > Solr > > and > > > then trying to > > > restart it right away. > > > > > > We just switched from one machine to another and on the old one > > everything > > > works fine. > > > When turning off Solr you can restart it right away with no > > > problem. But > > on > > > the new one > > > the first time you fire it up everything is ok, but when you kill > > > it and > > try > > > to restart it, it just > > > sits at the jetty lien for about 2-3 mins and then starts. > > > > > > 2008-10-01 12:18:49.785::INFO: jetty-6.1.3 Oct 1, 2008 12:20:41 > > > PM org.apache.solr.servlet.SolrDispatchFilter init > > > > > > Regards Erik > > > >