# Opensearch restarts on Openshift On-Premises

**URL:** <https://forum.opensearch.org/t/opensearch-restarts-on-openshift-on-premises/9765>\
**Category:** OpenSearch\
**Tags:** troubleshoot\
**Created:** [May 31, 2022, 1:00pm UTC](https://forum.opensearch.org/t/opensearch-restarts-on-openshift-on-premises/9765 "2022-05-31T13:00:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![daskanu](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@daskanu](https://forum.opensearch.org/u/daskanu)\
**Post date:** [June 2, 2022, 12:28am UTC](https://forum.opensearch.org/t/opensearch-restarts-on-openshift-on-premises/9765/3 "2022-06-02T00:28:28Z")

</div>

Hello Dominik,

thank you for bringing this up. We are also running Opensearch in our Kubernetes cluster and  
see many container restarts per day with the message “Killing opensearch process 10” out of nowhere.

I followed your advice to split up the trap in the entrypoint script and can confirm that it is triggered  
because of a SIGCHLD signal. I took a step further and removed the Opensearch and Performance analyzer processes from the script and even then it received a SIGCHLD without any running child process.

There is also this thread on your forum which probably seems to have the same issue?

> [@Docker container intermittently failing to start in CI](https://forum.opensearch.org/t/docker-container-intermittently-failing-to-start-in-ci/7034):
>
> Hi There, We’re running the official OpenSearch Docker image in our CI pipeline for our automated integration tests, however, the container intermittently fails to start (around 50% of the time). Looking at the Docker logs, it isn’t clear as to why with the limited info returned (is there a way to get further logs from the container?): Name Command State ------------------------------------------------------------------------------------------- …

Something weird is going on when running this container image and it would be great if you guys could  
fix this problem. In our case removing CHLD from the trap in the entrypoint script works for now.

---

_[View the full topic](https://forum.opensearch.org/t/opensearch-restarts-on-openshift-on-premises/9765)._
