# Elasticsearch keeps crashing

**URL:** <https://discuss.elastic.co/t/elasticsearch-keeps-crashing/21133>\
**Category:** Elasticsearch\
**Created:** [December 8, 2014, 7:18am UTC](https://discuss.elastic.co/t/elasticsearch-keeps-crashing/21133 "2014-12-08T07:18:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdo](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@abdo](https://discuss.elastic.co/u/abdo)\
**Post date:** [December 8, 2014, 7:18am UTC](https://discuss.elastic.co/t/elasticsearch-keeps-crashing/21133/1 "2014-12-08T07:18:51Z")

</div>

Hi all  
I am using elasticsearch 1.2.1 with jetty plugin on ubuntu linux and oracle jdk 1.8.25. The Memory is 12 GB with 4 GB assigned to ES heap. It keeps crashing after indexing about 6 million documents and searching and faceting this data. and here is the error log\<nabble\_a href="hs\_err\_pid6690.log"\>hs\_err\_pid6690.log\</nabble\_a\>

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 8, 2014, 7:40am UTC](https://discuss.elastic.co/t/elasticsearch-keeps-crashing/21133/2 "2014-12-08T07:40:45Z")

</div>

The JVM should not crash. That said, could you update to 1.4.1 ?  
Also, you could give 6gb to the JVM.  
May be try without any plugin?

David

> Le 8 déc. 2014 à 08:18, abdo [abdo.a2008@gmail.com](mailto:abdo.a2008@gmail.com) a écrit :
> 
> Hi all  
> I am using elasticsearch 1.2.1 with jetty plugin on ubuntu linux and oracle  
> jdk 1.8.25. The Memory is 12 GB with 4 GB assigned to ES heap. It keeps  
> crashing after indexing about 6 million documents and searching and faceting  
> this data. and here is the error log hs\_err\_pid6690.log  
> [http://elasticsearch-users.115913.n3.nabble.com/file/n4067359/hs\_err\_pid6690.log](http://elasticsearch-users.115913.n3.nabble.com/file/n4067359/hs_err_pid6690.log)
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/elasticsearch-keeps-crashing-tp4067359.html](http://elasticsearch-users.115913.n3.nabble.com/elasticsearch-keeps-crashing-tp4067359.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1418023131539-4067359.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1418023131539-4067359.post%40n3.nabble.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/FBF76423-DFC4-4760-A5A7-9309632DFFAE%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/FBF76423-DFC4-4760-A5A7-9309632DFFAE%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![abdo](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@abdo](https://discuss.elastic.co/u/abdo)\
**Post date:** [December 8, 2014, 10:00am UTC](https://discuss.elastic.co/t/elasticsearch-keeps-crashing/21133/3 "2014-12-08T10:00:07Z")

</div>

I am using jetty plugin to have some layer of security. is there any recommendation regarding the security (for me to be able to decline jetty as you recommended)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 8, 2014, 10:54am UTC](https://discuss.elastic.co/t/elasticsearch-keeps-crashing/21133/4 "2014-12-08T10:54:47Z")

</div>

Was just trying to help you to find the cause. Not suggesting that you should remove this plugin definitely. 🙂

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 8 déc. 2014 à 11:00, abdo [abdo.a2008@gmail.com](mailto:abdo.a2008@gmail.com) a écrit :
> 
> I am using jetty plugin to have some layer of security. is there any  
> recommendation regarding the security (for me to be able to decline jetty as  
> you recommended)
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/elasticsearch-keeps-crashing-tp4067359p4067368.html](http://elasticsearch-users.115913.n3.nabble.com/elasticsearch-keeps-crashing-tp4067359p4067368.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1418032807699-4067368.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1418032807699-4067368.post%40n3.nabble.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/E654DE3C-37D8-4446-9914-3AC70FA357AD%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/E654DE3C-37D8-4446-9914-3AC70FA357AD%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [December 8, 2014, 11:13am UTC](https://discuss.elastic.co/t/elasticsearch-keeps-crashing/21133/5 "2014-12-08T11:13:41Z")

</div>

You say, it "keeps crashing"

Is this exactly reproducible, or does the hs\_err log file show crashes at  
different "problematic frames"?

Jörg

On Mon, Dec 8, 2014 at 8:18 AM, abdo [abdo.a2008@gmail.com](mailto:abdo.a2008@gmail.com) wrote:

> Hi all  
> I am using elasticsearch 1.2.1 with jetty plugin on ubuntu linux and oracle  
> jdk 1.8.25. The Memory is 12 GB with 4 GB assigned to ES heap. It keeps  
> crashing after indexing about 6 million documents and searching and  
> faceting  
> this data. and here is the error log hs\_err\_pid6690.log  
> \<  
> [http://elasticsearch-users.115913.n3.nabble.com/file/n4067359/hs\_err\_pid6690.log](http://elasticsearch-users.115913.n3.nabble.com/file/n4067359/hs_err_pid6690.log)
> 
> > 
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/elasticsearch-keeps-crashing-tp4067359.html](http://elasticsearch-users.115913.n3.nabble.com/elasticsearch-keeps-crashing-tp4067359.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/1418023131539-4067359.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1418023131539-4067359.post%40n3.nabble.com)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGCA8%2BthPPYejxAr0RFzzBHVNoWin%2BpxrU6PgrOPcPxOQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGCA8%2BthPPYejxAr0RFzzBHVNoWin%2BpxrU6PgrOPcPxOQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:45am UTC](https://discuss.elastic.co/t/elasticsearch-keeps-crashing/21133/6 "2017-07-06T00:45:02Z")

</div>


