System.Data.SqlClient.SqlException: Timeout expired

后端 未结 2 1633
我寻月下人不归
我寻月下人不归 2020-12-21 11:27

Coupled days ago I noticed that my web application giving me sql an exception timeout expired.

I cleaned up couple stored procedures taking more cpu and restarted SQ

2条回答
  •  攒了一身酷
    2020-12-21 12:01

    Sounds like leaky behavior. Without knowing your general architecture, I can't say what kind of leak, but I might suggest looking at all your tables and seeing if anything seems to have way more rows than you're expecting.

    You can also run your sprocs manually in SQL Management Studio, and see which ones are taking so long -- maybe you're running an algorithm whose running time increases with uptime.

提交回复
热议问题