# Query is hanging and cannot be cancelled

**URL:** https://community.dremio.com/t/query-is-hanging-and-cannot-be-cancelled/9500
**Category:** Uncategorized
**Created:** [August 7, 2022, 9:23pm UTC](https://community.dremio.com/t/query-is-hanging-and-cannot-be-cancelled/9500 "2022-08-07T21:23:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ikosyanenko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/ikosyanenko/32/4314_2.png) [@ikosyanenko](https://community.dremio.com/u/ikosyanenko)
#### Post date: [August 7, 2022, 9:23pm UTC](https://community.dremio.com/t/query-is-hanging-and-cannot-be-cancelled/9500/1 "2022-08-07T21:23:55Z")

</div>

Hi there,  
I am testing Dremio CE on AWS EKS with our data lake (Delta+Parquet+S3).  
Sometimes some queries are hanging forever and the cancel button doesn’t stop it.  
Profile for one of such queries is attached below.  
Funny thing that almost the same queries work well at the same time.  
Maybe it depends on GC config or Cloud cache.  
Any thoughts?  
[bce82964-2d65-4fe8-b82a-4abffb8a53e5.zip](https://community.dremio.com/uploads/short-url/bjI49VRpg1QPF1umDWI99BwJ89e.zip) (765.5 КБ)

---

<div class="post-metadata">

### Author: ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)
#### Post date: [August 9, 2022, 9:38pm UTC](https://community.dremio.com/t/query-is-hanging-and-cannot-be-cancelled/9500/2 "2022-08-09T21:38:19Z")

</div>

@ikosyanenko If you see phase 1, there are a few fragments on that phase that are still RUNNING, can you check the gc logs on those executors when this query was cancelled and see if the executor went into a full GC Pause?
