Skip to content

Queries are left running and consume all database CPU #38

@saulcosta

Description

@saulcosta

Hello!

When starting a console in read-only mode, a basic query (like a SELECT) is left running, even after the command has completed in the console itself. It appears to be the last query that was executed.

This results in the database's CPU usage continually climbing to a point where it finally is using almost all of the CPU. Once the query is killed or the console is closed, the CPU immediately drops to normal levels.

We are using gem version 0.5.0 and PostgreSQL 9.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions