简体   繁体   English

Azure 逻辑应用:会话限制 300

[英]Azure Logic Apps: Session Limit 300

I have a simple logic app as shown below.我有一个简单的逻辑应用程序,如下所示。 When I run this and check the SQL connections (sp_who2) I can see 'sleeping' connections being created.当我运行它并检查 SQL 连接 (sp_who2) 时,我可以看到正在创建“休眠”连接。 By running enough times the number of sleeping connections reaches 300 and the logic app then fails.通过运行足够多的次数,睡眠连接数达到 300,然后逻辑应用程序失败。

Its as if the logic app is not freeing up connections on each run of the procedure.就好像逻辑应用程序没有在程序的每次运行中释放连接一样。 Any help much appreciated.非常感谢任何帮助。 Also the logic app does not just create 1 SQL connection per procedure execute it seems to create approx 5.此外,逻辑应用程序不仅会为每个过程执行创建 1 个 SQL 连接,它似乎还会创建大约 5 个。

If you recheck the database after sometime I can then see SQL remove the sleeping connections and make them available.如果您在一段时间后重新检查数据库,我可以看到 SQL 删除了休眠连接并使它们可用。

Logic App Test逻辑应用测试

Congratulations you find a way(not the best way you want) to fix the issue:恭喜您找到了解决问题的方法(不是您想要的最佳方法):

"By adjusting the Authentication from AD integration to SQL authentication fixes the issue." “通过将身份验证从 AD 集成调整为 SQL 身份验证解决了这个问题。”

I post it as answer and this can be beneficial to other community members.我将其发布为答案,这可能对其他社区成员有益。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM