PPID is the "parent process ID". You want to kill the PID, not the PPID.

wunder

On Oct 23, 2013, at 3:09 AM, Jeevanandam M. wrote:

> It seems process started recently. Is there any external cron/process 
> triggering a startup of Solr?
> Kill again and monitor it.
> 
> - Jeeva
> 
> ---------- Original Message ----------
> From: Raheel Hasan [mailto:raheelhasan....@gmail.com]
> Sent: October 23, 2013 3:29:47 PM GMT+05:30
> To: solr-user@lucene.apache.org
> Subject: Re: Stop/Restart Solr
> 
> 
> 31173     1  0 16:45 ?        00:00:08 java -jar start.jar
> 
> 
> On Wed, Oct 23, 2013 at 2:53 PM, Jeevanandam M. <je...@myjeeva.com> wrote:
> 
>> Can you please share output of following command?
>> ps -ef | grep 'start.jar'
>> 
>> - Jeeva
>> 
>> ---------- Original Message ----------
>> From: Raheel Hasan [mailto:raheelhasan....@gmail.com]
>> Sent: October 23, 2013 3:19:46 PM GMT+05:30
>> To: solr-user@lucene.apache.org
>> Subject: Re: Stop/Restart Solr
>> 
>> 
>> Kill -9 #### didnt kill it... ... the process is now again listed, but with
>> PPID=1 which I dont want to kill as many processes have this same id...
>> 
>> 
>> On Tue, Oct 22, 2013 at 11:59 PM, Utkarsh Sengar <utkarsh2...@gmail.com
>>> wrote:
>> 
>>> We use this to start/stop solr:
>>> 
>>> Start:
>>> java -Dsolr.clustering.enabled=true -Dsolr.solr.home=multicore
>>> -Djetty.class.path=lib/ext/* -Dbootstrap_conf=true -DnumShards=3
>>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar
>>> 
>>> Stop:
>>> java -Dsolr.solr.home=multicore -Dbootstrap_conf=true  -DnumShards=3
>>> -DSTOP.PORT=8079 -DSTOP.KEY=some_value -jar start.jar --stop
>>> 
>>> 
>>> Thanks,
>>> -Utkarsh
>>> 
>>> 
>>> 
>>> On Tue, Oct 22, 2013 at 10:09 AM, Raheel Hasan <
>> raheelhasan....@gmail.com
>>>> wrote:
>>> 
>>>> ok fantastic... thanks a lot guyz....
>>>> 
>>>> 
>>>> On Tue, Oct 22, 2013 at 10:00 PM, François Schiettecatte <
>>>> fschietteca...@gmail.com> wrote:
>>>> 
>>>>> Yago has the right command to search for the process, that will get you
>>>>> the process ID specifically the first number on the output line, then
>>> do
>>>>> 'kill ###', if that fails 'kill -9 ###'.
>>>>> 
>>>>> François
>>>>> 
>>>>> On Oct 22, 2013, at 12:56 PM, Raheel Hasan <raheelhasan....@gmail.com>
>>>>> wrote:
>>>>> 
>>>>>> its CentOS...
>>>>>> 
>>>>>> and using jetty with solr here..
>>>>>> 
>>>>>> 
>>>>>> On Tue, Oct 22, 2013 at 9:54 PM, François Schiettecatte <
>>>>>> fschietteca...@gmail.com> wrote:
>>>>>> 
>>>>>>> A few more specifics about the environment would help,
>>>>> Windows/Linux/...?
>>>>>>> Jetty/Tomcat/...?
>>>>>>> 
>>>>>>> François
>>>>>>> 
>>>>>>> On Oct 22, 2013, at 12:50 PM, Yago Riveiro <yago.rive...@gmail.com>
>>>>> wrote:
>>>>>>> 
>>>>>>>> If you are asking about if solr has a way to restart himself, I
>>> think
>>>>>>> that the answer is no.
>>>>>>>> 
>>>>>>>> If you lost control of the remote machine someone will need to go
>>> and
>>>>>>> restart the machine ...
>>>>>>>> 
>>>>>>>> You can try use a kvm or other remote control system
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Yago Riveiro
>>>>>>>> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Tuesday, October 22, 2013 at 5:46 PM, François Schiettecatte
>>>> wrote:
>>>>>>>> 
>>>>>>>>> If you are on linux/unix, use the kill command.
>>>>>>>>> 
>>>>>>>>> François
>>>>>>>>> 
>>>>>>>>> On Oct 22, 2013, at 12:42 PM, Raheel Hasan <
>>>> raheelhasan....@gmail.com
>>>>> (mailto:
>>>>>>> raheelhasan....@gmail.com)> wrote:
>>>>>>>>> 
>>>>>>>>>> Hi,
>>>>>>>>>> 
>>>>>>>>>> is there a way to stop/restart java? I lost control over it via
>>> SSH
>>>>> and
>>>>>>>>>> connection was closed. But the Solr (start.jar) is still running.
>>>>>>>>>> 
>>>>>>>>>> thanks.
>>>>>>>>>> 
>>>>>>>>>> --
>>>>>>>>>> Regards,
>>>>>>>>>> Raheel Hasan
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Regards,
>>>>>> Raheel Hasan
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> Regards,
>>>> Raheel Hasan
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Thanks,
>>> -Utkarsh
>>> 
>> 
>> 
>> 
>> --
>> Regards,
>> Raheel Hasan
>> 
>> 
>> 
>> 
> 
> 
> -- 
> Regards,
> Raheel Hasan
> 
> 
> 

--
Walter Underwood
wun...@wunderwood.org



Reply via email to