Unable to stop Elasticsearch process

Hi,
I recently ran a query for searching 4 million records. My heapsize was only 1 GB and so I got an out of memory exception. I ran the query several times just to make sure. Later I decided to increase the heap size. But no matter how many times I exitted the terminal I am unable to stop the elasticsearch process, which was not the case before. I am still able to execute the curl command to contact the elasticsearch server, even though the ps command shows that neither java not elasticsearch is running. Also if I try to start the elasticsearch process anyway with increased heapsize, I get the following error : Out of memory could not create native threads. Any advice would be great. Thanks.

Did you try a ps -ef command to see running process and find the PID number?
Then kill -9 that process?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 7 juin 2013 à 17:21, sai saironprasanna@gmail.com a écrit :

Hi,
I recently ran a query for searching 4 million records. My heapsize was
only 1 GB and so I got an out of memory exception. I ran the query several
times just to make sure. Later I decided to increase the heap size. But no
matter how many times I exitted the terminal I am unable to stop the
elasticsearch process, which was not the case before. I am still able to
execute the curl command to contact the elasticsearch server, even though
the ps command shows that neither java not elasticsearch is running. Also if
I try to start the elasticsearch process anyway with increased heapsize, I
get the following error : Out of memory could not create native threads. Any
advice would be great. Thanks.

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Unable-to-stop-Elasticsearch-process-tp4036222.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi dadoonet thanks for the idea. I later tried a ps -aux and realized that
there were several instances of java vm running inspite of the reboots and
logouts. I forcibly removed them and was able to stop the elasticsearch
process. Thank you very much.
On Jun 14, 2013 9:42 AM, "dadoonet [via ElasticSearch Users]" <
ml-node+s115913n4036603h54@n3.nabble.com> wrote:

Did you try a ps -ef command to see running process and find the PID
number?
Then kill -9 that process?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr
| @scrutmydocs https://twitter.com/scrutmydocs

Le 7 juin 2013 à 17:21, sai <[hidden email]http://user/SendEmail.jtp?type=node&node=4036603&i=0>
a écrit :

Hi,
I recently ran a query for searching 4 million records. My heapsize was
only 1 GB and so I got an out of memory exception. I ran the query several
times just to make sure. Later I decided to increase the heap size. But no
matter how many times I exitted the terminal I am unable to stop the
elasticsearch process, which was not the case before. I am still able to
execute the curl command to contact the elasticsearch server, even though
the ps command shows that neither java not elasticsearch is running. Also
if
I try to start the elasticsearch process anyway with increased heapsize, I
get the following error : Out of memory could not create native threads.
Any
advice would be great. Thanks.

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Unable-to-stop-Elasticsearch-process-tp4036222.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [hidden email]http://user/SendEmail.jtp?type=node&node=4036603&i=1
.
For more options, visit https://groups.google.com/groups/opt_out.

smime.p7s (1K) Download Attachmenthttp://elasticsearch-users.115913.n3.nabble.com/attachment/4036603/0/smime.p7s


If you reply to this email, your message will be added to the discussion
below:

http://elasticsearch-users.115913.n3.nabble.com/Unable-to-stop-Elasticsearch-process-tp4036222p4036603.html
To unsubscribe from Unable to stop Elasticsearch process, click herehttp://elasticsearch-users.115913.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4036222&code=c2Fpcm9ucHJhc2FubmFAZ21haWwuY29tfDQwMzYyMjJ8LTQ2NzA1ODM2Nw==
.
NAMLhttp://elasticsearch-users.115913.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html!nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers!nabble%3Aemail.naml-instant_emails!nabble%3Aemail.naml-send_instant_email!nabble%3Aemail.naml