# Error while loading ML model in ElasticSearch

**URL:** <https://forum.opensearch.org/t/error-while-loading-ml-model-in-elasticsearch/13893>\
**Category:** General Feedback\
**Created:** [April 12, 2023, 1:11am UTC](https://forum.opensearch.org/t/error-while-loading-ml-model-in-elasticsearch/13893 "2023-04-12T01:11:11Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![TonyStark](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@TonyStark](https://forum.opensearch.org/u/TonyStark)\
**Post date:** [April 13, 2023, 6:08am UTC](https://forum.opensearch.org/t/error-while-loading-ml-model-in-elasticsearch/13893/21 "2023-04-13T06:08:25Z")

</div>

I have a clater with this nodes:  
10.31.57.25 53 99 2 0.77 0.82 0.87 d data,ml - mn-insideelkens002  
10.31.56.252 24 84 0 0.00 0.04 0.01 m master - mn-insideelkensmstr003  
10.31.57.188 6 76 0 0.10 0.05 0.01 m master - mn-insideelkensmstr001  
10.31.56.149 11 84 0 0.09 0.06 0.01 m master \* mn-insideelkensmstr002  
10.31.56.104 11 99 2 1.09 1.09 1.04 d data,ml - mn-insideelkens001  
10.31.56.198 26 99 0 0.02 0.01 0.00 - - - mn-insideelkenscrd001

And cluster config is :

{  
“persistent”: {  
“plugins”: {  
“ml\_commons”: {  
“only\_run\_on\_ml\_node”: “false”,  
“sync\_up\_job\_interval\_in\_seconds”: “5”,  
“native\_memory\_threshold”: “100”  
},  
“index\_state\_management”: {  
“metadata\_migration”: {  
“status”: “1”  
},  
“template\_migration”: {  
“control”: “-1”  
}  
}  
}  
},  
“transient”: {},  
“defaults”: {}

---

<div class="post-metadata">

**Author:** ![TonyStark](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@TonyStark](https://forum.opensearch.org/u/TonyStark)\
**Post date:** [April 13, 2023, 8:28am UTC](https://forum.opensearch.org/t/error-while-loading-ml-model-in-elasticsearch/13893/22 "2023-04-13T08:28:20Z")

</div>

My claster is isolated from internet.  
Log file:

 ![1](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/f/ffcb27585ad86c9a7c09ec1b2daed398b3d12a8f.png)

---

<div class="post-metadata">

**Author:** ![Gsmitt](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/gsmitt/32/1718_2.png) [@Gsmitt](https://forum.opensearch.org/u/Gsmitt)\
**Post date:** [April 20, 2023, 3:58am UTC](https://forum.opensearch.org/t/error-while-loading-ml-model-in-elasticsearch/13893/23 "2023-04-20T03:58:17Z")

</div>

Hey @TonyStark

I had a issue like yours today. ML model was not responding, In my case it was memory allocated, just ran out. But my quick fix was

```auto
POST /_plugins/_ml/models/lmIqgocBV8bdr9yTG83x/_load

```

it came back to life,

---

<div class="post-metadata">

**Author:** ![ylwu](https://avatars.discourse-cdn.com/v4/letter/y/a9a28c/32.png) [@ylwu](https://forum.opensearch.org/u/ylwu)\
**Post date:** [April 25, 2023, 5:36pm UTC](https://forum.opensearch.org/t/error-while-loading-ml-model-in-elasticsearch/13893/24 "2023-04-25T17:36:49Z")

</div>

@Gsmitt Thanks for your help. @TonyStark Do you see more issues?

Some small suggestions, how about changing the title to “Error while loading ML model in OpenSearch” ?  
BTW, we have a dedicated ML category [Machine Learning - OpenSearch](https://forum.opensearch.org/c/plugins/ml/46), will be best if can move this question there.

---

<div class="post-metadata">

**Author:** ![miroshuSan](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@miroshuSan](https://forum.opensearch.org/u/miroshuSan)\
**Post date:** [November 11, 2024, 9:35pm UTC](https://forum.opensearch.org/t/error-while-loading-ml-model-in-elasticsearch/13893/25 "2024-11-11T21:35:38Z")

</div>

Hey @TonyStark, have you ever solved the Connection timed out issue?

[Previous page](https://forum.opensearch.org/t/error-while-loading-ml-model-in-elasticsearch/13893.md?page=1)
