# BitSet.or took high cpu usage

**URL:** <https://discuss.elastic.co/t/bitset-or-took-high-cpu-usage/306786>\
**Category:** Elasticsearch\
**Created:** [June 9, 2022, 10:52am UTC](https://discuss.elastic.co/t/bitset-or-took-high-cpu-usage/306786 "2022-06-09T10:52:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chembohuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chembohuang/32/95903_2.png) [@chembohuang](https://discuss.elastic.co/u/chembohuang)\
**Post date:** [June 9, 2022, 10:52am UTC](https://discuss.elastic.co/t/bitset-or-took-high-cpu-usage/306786/1 "2022-06-09T10:52:07Z")

</div>

Continuing the discussion from [BitSet.or consumes almost 60% cpu](https://discuss.elastic.co/t/bitset-or-consumes-almost-60-cpu/286763):

We found sth. new here.

In fact , we ran into this problem twice after the topic was closed.

And We found some similarities in these cases: this problem was occurred right after we deleted an index.

It looks like this delete action is causing a problem with the caching mechanism.

Now we keep digging into this and hopefully, someone may take sometime to take a look at this.

---

<div class="post-metadata">

**Author:** ![chembohuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chembohuang/32/95903_2.png) [@chembohuang](https://discuss.elastic.co/u/chembohuang)\
**Post date:** [June 10, 2022, 2:14am UTC](https://discuss.elastic.co/t/bitset-or-took-high-cpu-usage/306786/2 "2022-06-10T02:14:02Z")

</div>

Since @Mark_Harwood is left, and he highly recommends that @DavidTurner you follow up on this issue.

So could you take a look at this?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [June 10, 2022, 8:35am UTC](https://discuss.elastic.co/t/bitset-or-took-high-cpu-usage/306786/3 "2022-06-10T08:35:14Z")

</div>

Please don't `@mention` people to get their attention if they aren't involved in your conversation already. We are all volunteers here.

---

<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:** [July 8, 2022, 8:35am UTC](https://discuss.elastic.co/t/bitset-or-took-high-cpu-usage/306786/4 "2022-07-08T08:35:49Z")

</div>

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