Hasura graphql-engine crashes on accessing console
See original GitHub issueI deployed the Hasura docker container to an AWS t2.medium instance. It connects to an EC2 instance with a Postgres container. Initially it worked fine with one or two databases tracked. I added all databases and now the container crashes when attempting to access the console. Initially the console will display nothing for available tables in the schema. After a minute or two of trying to access the console the docker container crashes and brings down the AWS EC2 instance with it.
Docker logs outputs:
{"timestamp":"2019-10-16T16:42:38.742+0000","level":"info","type":"schema-sync-thread","detail":{"thread_type":"listener","info":{"received_event":{"instance_id":"cbf74cbf-774c-4e45-a8c5-31bc9b823f4a","occurred_at":"2019-10-16T16:43:20.632584Z"}}}}
{"timestamp":"2019-10-16T16:42:38.742+0000","level":"info","type":"schema-sync-thread","detail":{"thread_type":"processor","info":{"processed_event":{"instance_id":"cbf74cbf-774c-4e45-a8c5-31bc9b823f4a","occurred_at":"2019-10-16T16:43:20.632584Z"}}}}
graphql-engine: internal error: Unable to commit 1048576 bytes of memory
(GHC version 8.6.5 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
htop when it crashes:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Troubleshooting Hasura GraphQL engine errors
Troubleshoot Hasura GraphQL engine errors. ... Should there be any error coming from the Hasura console UI, they will show up in the...
Read more >Getting started | Hasura GraphQL Docs
Deploy the Hasura GraphQL engine, with access to a Postgres database to store its metadata. Connect new/existing database(s) and set up and test...
Read more >Production checklist | Hasura GraphQL Docs
Checklist for deploying Hasura GraphQL engine to production. ... when using flags, no --enable-console flag implies console is disabled graphql-engine ...
Read more >Hasura GraphQL Engine – Easy Start in 2022 (Mini-Course)
Get complete 6,5 Hours Video Course about Hasura for the lowest possible price 20%-off with HASURA -EASY-START code: ...
Read more >Hasura on Heroku fails to make connection to postgres
cat Dockerfile FROM hasura/graphql-engine:v2.9.0 # Enable the console ENV HASURA_GRAPHQL_ENABLE_CONSOLE=true # Enable debugging mode.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mzagaja Thanks for taking the time to dig through the problematic queries. We’ll improve these queries as soon as possible.
I’m not quite sure if we can catch this error but we should definitely document this behaviour.
The response of an introspection query is cached till the schema changes. This could be the reason.
Related to: #7585