Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Demo air timing out #4806

Open
edongashi opened this issue Nov 4, 2020 · 0 comments
Open

Demo air timing out #4806

edongashi opened this issue Nov 4, 2020 · 0 comments

Comments

@edongashi
Copy link
Member

The air database may be getting overloaded.

2020-11-04 09:27:57.628 [error] Postgrex.Protocol (#PID<0.2621.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.20933.44> timed out because it queued and checked out the connection for longer than 15000ms

#PID<0.20933.44> was at location:

    (stdlib) gen.erl:167: :gen.do_call/4
    (stdlib) gen_statem.erl:619: :gen_statem.call_dirty/4
    (ssl) ssl_connection.erl:2490: :ssl_connection.call/2
    (postgrex) lib/postgrex/protocol.ex:2706: Postgrex.Protocol.msg_recv/4
    (postgrex) lib/postgrex/protocol.ex:1759: Postgrex.Protocol.recv_bind/3
    (postgrex) lib/postgrex/protocol.ex:1652: Postgrex.Protocol.bind_execute/4
    (db_connection) lib/db_connection/holder.ex:316: DBConnection.Holder.holder_apply/4
    (db_connection) lib/db_connection.ex:1255: DBConnection.run_execute/5

2020-11-04 09:27:57.630 [error] Task #PID<0.20933.44> started from #PID<0.2719.0> terminating
** (DBConnection.ConnectionError) ssl recv: closed (the connection was closed by the pool, possibly due to a timeout or because the pool has been terminated)
    (ecto_sql) lib/ecto/adapters/sql.ex:621: Ecto.Adapters.SQL.raise_sql_call_error/1
    (ecto_sql) lib/ecto/adapters/sql.ex:554: Ecto.Adapters.SQL.execute/5
    (air) lib/air/service/cleanup.ex:16: Air.Service.Cleanup.cleanup_old_queries/2
    (elixir) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Function: #Function<0.100390046/0 in Periodic.start_job/1>
    Args: []
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant