Frequent error -- ActiveRecord::LostConnection: TinyTds::Error: DBPROCESS is dead or not enabled

866 views
Skip to first unread message

Marc Chambers

unread,
May 1, 2013, 5:31:57 AM5/1/13
to rails-sqlse...@googlegroups.com
Seeing this error pretty regularly running Passenger and Apache on an Azure Ubuntu VM talking with SQL Azure... could this be a configuration issue? Possibly with timeouts? It happens after the instance idles following a successful request.

Caused ActiveRecord::LostConnection: TinyTds::Error: DBPROCESS is dead or not enabled: EXEC sp_executesql N'SELECT TOP (1) [customers].* FROM [customers] WHERE [customers].[id] = 1'

Ken Collins

unread,
May 1, 2013, 7:29:22 AM5/1/13
to rails-sqlse...@googlegroups.com

There is a discussion/ticket here.

https://github.com/rails-sqlserver/tiny_tds/issues/79

In that thread, I talk a little bit about keep alive too, but not a primary point. Have you read these?

https://github.com/rails-sqlserver/tiny_tds/issues/79#issuecomment-5226738

Either way, that discussion and topic is there.


- Ken

Reply all
Reply to author
Forward
0 new messages