Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connections Die after Many Days #71

Open
trbngr opened this issue Jan 25, 2019 · 1 comment
Open

Connections Die after Many Days #71

trbngr opened this issue Jan 25, 2019 · 1 comment

Comments

@trbngr
Copy link

trbngr commented Jan 25, 2019

We have a service running tds_ecto that will run for days on end no problem and then will just stop connecting to the DB.

After that, the logs will be full of the following:

[error] GenServer #PID<0.15718.16> terminating
** (DBConnection.ConnectionError) connection is closed
(tds) lib/tds/protocol.ex:869: Tds.Protocol.msg_recv/2
(tds) lib/tds/protocol.ex:810: Tds.Protocol.msg_send/2
(tds) lib/tds/protocol.ex:493: Tds.Protocol.send_query/2
(tds) lib/tds/protocol.ex:81: Tds.Protocol.ping/1
(db_connection) lib/db_connection/connection.ex:373: DBConnection.Connection.handle_info/2
(connection) lib/connection.ex:810: Connection.handle_async/3
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:711: :gen_server.handle_msg/6
Last message: :timeout```

Is this a known issue?

Thanks,
Chris	
@trbngr trbngr changed the title Connection Dies after Many Days Connections Die after Many Days Jan 25, 2019
@mjaric
Copy link
Collaborator

mjaric commented May 26, 2019

this is not known to me. What OTP and elixir version you are using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants