# Error parsing csv

**URL:** <https://discuss.elastic.co/t/error-parsing-csv/314099>\
**Category:** Logstash\
**Created:** [September 10, 2022, 1:33am UTC](https://discuss.elastic.co/t/error-parsing-csv/314099 "2022-09-10T01:33:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 10, 2022, 5:15am UTC](https://discuss.elastic.co/t/error-parsing-csv/314099/2 "2022-09-10T05:15:00Z")

</div>

What version are you running?

> [@Logstash number of threads keeps increasing until crash](https://discuss.elastic.co/t/logstash-number-of-threads-keeps-increasing-until-crash/313463):
>
> Hi, I'm testing the following pipeline (stack version 8.4.1): input { google\_cloud\_storage {...} } filter {csv {...} mutate {...} } output { elasticsearch {...} } with a large number of events (3M+). After a few minutes, the number of threads increases until more than 18700 and logstash crashes with: [689.902s][warning][os,thread] Failed to start thread "Unknown thread" - pthread\_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached. [689.902s][warning][os,thread…

---

_[View the full topic](https://discuss.elastic.co/t/error-parsing-csv/314099)._
