Skip to content

Hasura graphql-engine crashes on accessing console #3161

Open
@mzagaja

Description

I 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:
image

Metadata

Assignees

No one assigned

    Labels

    c/consoleRelated to consolek/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions