# Ctrl+C does not stop immediately

**URL:** <https://discuss.elastic.co/t/ctrl-c-does-not-stop-immediately/131562>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [May 12, 2018, 8:03am UTC](https://discuss.elastic.co/t/ctrl-c-does-not-stop-immediately/131562 "2018-05-12T08:03:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sundar\_V](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sundar_v/32/6928_2.png) [@Sundar\_V](https://discuss.elastic.co/u/Sundar_V)\
**Post date:** [May 12, 2018, 8:03am UTC](https://discuss.elastic.co/t/ctrl-c-does-not-stop-immediately/131562/1 "2018-05-12T08:03:31Z")

</div>

Hello,

I'm running metricbeats and pressing Ctrl+C stops immediately when I'm not running any modules other than system. However, when I'm running other modules such as redis, mysql etc, pressing Ctrl+C does not stop immediately. If I keep pressing it continuously then after few seconds (3-10), then it stops.

One point in my case is, the redis and mysql is not running. I suppose it is in a loop waiting for something during which time the Ctrl+C is not captured. Any experience on this?

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 12, 2018, 1:54pm UTC](https://discuss.elastic.co/t/ctrl-c-does-not-stop-immediately/131562/2 "2018-05-12T13:54:57Z")

</div>

What OS are you on?

---

<div class="post-metadata">

**Author:** ![Sundar\_V](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sundar_v/32/6928_2.png) [@Sundar\_V](https://discuss.elastic.co/u/Sundar_V)\
**Post date:** [May 13, 2018, 9:26am UTC](https://discuss.elastic.co/t/ctrl-c-does-not-stop-immediately/131562/3 "2018-05-13T09:26:27Z")

</div>

I'm on Mac OS 10.13.3

---

<div class="post-metadata">

**Author:** ![Sundar\_V](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sundar_v/32/6928_2.png) [@Sundar\_V](https://discuss.elastic.co/u/Sundar_V)\
**Post date:** [May 23, 2018, 8:19am UTC](https://discuss.elastic.co/t/ctrl-c-does-not-stop-immediately/131562/4 "2018-05-23T08:19:59Z")

</div>

hi @warkolm, did you get a chance to check this.

---

<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:** [June 20, 2018, 10:20am UTC](https://discuss.elastic.co/t/ctrl-c-does-not-stop-immediately/131562/5 "2018-06-20T10:20:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
