hasura / hasura/graphql-engine

fatal error: runtime: out of memory (GHC bug)

Open
#8,332 3 comments 0 reactions 0 assignees View on GitHub
k/bug
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

Server Version: 2.0.9 & 2.2.2

### Environment

AWS Elasticbeanstalk
t3.xlarge EC2
Ubuntu 20.04
Docker 20.10.17

### What is the expected behavior?

Normal operation :)

### Keywords

hasura, GHC crash, fatal out of memory, sadness

### What is the current behaviour?

During normal production workloads hasura crashes with error.
This is despite there being plenty of resources available on that ec2

### How to reproduce the issue?
:(
Currently unknown how to reproduce, would be helpful if there were better debugging commands to replay queries before crash? I will look this up.

### Screenshots or Screencast

![image](https://user-images.githubusercontent.com/3325067/158645629-62401a80-da5a-4c69-a386-2d925cff7967.png)
![image](https://user-images.githubusercontent.com/3325067/158645887-b5cd0e63-f7eb-45cb-aec7-6f5e6cd3c8c7.png)

### Please provide any traces or logs that could help here.

### Any possible solutions?

### Can you identify the location in the source code where the problem exists?

### If the bug is confirmed, would you be willing to submit a PR?

We most likely don't have the relevant experience to create a fix :/

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is identified, and the crash is currently unreproducible. Start by reviewing the reported GHC out-of-memory logs and deployment details for Hasura 2.0.9/2.2.2 on AWS Elastic Beanstalk, then establish a reproducible workload or diagnostic process; done requires identifying a confirmed cause and a validated fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, haskell
Domain
backend, cloud, performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.