随着时间的推移,Grails应用性能会下降 [英] Grails app performance degrades over time
问题描述
我注意到,在我的Grails应用程序部署了大约2周后,性能明显下降,我必须重新部署。我正在使用Spring Security插件和缓存用户。我的第一个倾向是它与这个和会话缓存大小有关,但我不知道如何去验证这个。
I have noticed that after my Grails app has been deployed for about 2 weeks, performance degrades significantly, and I have to redeploy. I am using the Spring Security plugin and caching users. My first inclination is that it has something to do with this and the session cache size, but I'm not sure how to go about verifying this.
这听起来像是我在正确的轨道上吗?有没有其他人经历过这个并缩小了问题的范围?任何帮助都会很棒。
Does it sound like I'm on the right track? Has anyone else experienced this and narrowed down the problem? Any help would be great.
谢谢!
推荐答案
Try to install Javamelody plugin. In our case it helped to find problem with GC.
这篇关于随着时间的推移,Grails应用性能会下降的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!