The web application [] is still processing a request that has yet to finish。This is very likely........


1.問題

在做一些操作時,比如說添加之后再查詢,重復多次之后發現數據無法繼續添加,也無法查詢出數據。此時前台和后台都沒報錯。當再次啟動tomcat時,出現警告:

`The web application [***] is still processing a request that has yet to finish. This 
is very likely to create a memory leak. You can control the time allowed for 
requests to finish by using the unloadDelay attribute of the standard Context 
implementation.`  

2.原因

個人認為是連接沒有及時關閉,可能再加上內存不富裕,導致memeory leak。

3.解決方法

在動作結束之后及時關閉連接,可解決。

4.參考文章

轉自:https://blog.csdn.net/weixin_38601190/article/details/90648458


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM