Skip to content

PostgresError: DbHandler exited #5

Closed
@jumski

Description

@jumski

This error pops up from time to time:


[Error] Timeout-triggered archive failed: PostgresError: DbHandler exited
    at ErrorResponse (https://deno.land/x/[email protected]/src/connection.js:791:26)
    at handle (https://deno.land/x/[email protected]/src/connection.js:477:6)
    at data (https://deno.land/x/[email protected]/src/connection.js:318:9)
    at https://deno.land/x/[email protected]/polyfills.js:138:30
    at Array.forEach (<anonymous>)
    at call (https://deno.land/x/[email protected]/polyfills.js:138:16)
    at success (https://deno.land/x/[email protected]/polyfills.js:98:9)
    at eventLoopTick (ext:core/01_core.js:168:7) {
  name: "PostgresError",
  severity_local: "FATAL",
  severity: "FATAL",
  code: "XX000"
}

This issue appears to be related to abruptly terminated SQL connections in Session Mode. When this error occurs, it prevents the system from spawning new instances.

I verified the number of connections and I confirm that the worker does not properly release them when terminated.

The solution would be to set a low idle timeout in supavisor or give workers more time to terminate SQL connections properly

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions