# Logstash TLS performance troubleshooting

**URL:** <https://discuss.elastic.co/t/logstash-tls-performance-troubleshooting/126599>\
**Category:** Logstash\
**Created:** [April 3, 2018, 3:36pm UTC](https://discuss.elastic.co/t/logstash-tls-performance-troubleshooting/126599 "2018-04-03T15:36:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bad\_sector](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@bad\_sector](https://discuss.elastic.co/u/bad_sector)\
**Post date:** [April 3, 2018, 3:36pm UTC](https://discuss.elastic.co/t/logstash-tls-performance-troubleshooting/126599/1 "2018-04-03T15:36:27Z")

</div>

I am suffering from poor TLS handshake performance while connecting to Logstash. While testing using `openssl s_client ...` and providing client key it takes up to 40 seconds, to finish TLS handshake. This is machine that is under some load and I guess this is a problem, BUT `top` show very small CPU and memory usage.

How can I troubleshoot this problem? Before I decide to upscale I need to be sure that HW limitations are problem, but maybe something is misconfigured.

Logstash version 5.1.2.

---

<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:** [May 1, 2018, 3:36pm UTC](https://discuss.elastic.co/t/logstash-tls-performance-troubleshooting/126599/2 "2018-05-01T15:36:28Z")

</div>

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