本文介绍了奇怪的JRUN问题。 JRUN每两个小时吃掉50%的记忆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我有奇怪的JRUN问题。我已经在Amazon EC2实例上安装了ColdFusion 9.0,看起来一切正常,除非JRUN在特定时间段内占用了50%的内存。I have strange JRUN issue. I have installed ColdFusion 9.0 on Amazon EC2 instance and seems everything working good except JRUN eating up arround 50% of memory for particular timespan.对于两个小时,的CPU使用率,然后下一个45分钟到一个小时它正常工作,并再次需要50%的未来两个小时。我没有运行任何计划文件。For countinous two hours it take 50% of CPU usage and then next 45 min to an hour it work normally and again it take 50% for next two hours. I am not running any schedule file.如果有人指导我如何知道我们如何知道哪个请求导致JRUN吃内存,我也很感激。Also I will appreciate if anyone guide me how we can know which request causing JRUN to eat memory.感谢您的建议MIKE,但似乎我已经启用矩阵,但是当JRUN运行正常,并采取了50%的内存时,没有找到任何更改。作为字符数的限制,我发布日志作为单独的答案。此外,我已经尝试停止IIS,以确保没有外部请求来到ColdFusion和FusionReactor显示没有请求JRUN,但仍然使用高记忆。Thanks for suggestion MIKE, but it seems that I already enable matrix but cann't find any changes when JRUN was running normal and taking arround 50% memory. As limitation of number of character I am posting log as separate answer. Also I have tried to stop IIS to make sure no external request come to ColdFusion and FusionReactor shows no requests to JRUN but still using high memoery. 09/22 08:00:35 metrics线程(忙/总):1/31会话:0总内存= 684672 Free = 228809 09/22 08:01:35 metrics线程(忙/总):2/34会话:0总内存= 761792 Free = 364733 09/22 08:02:35 metrics Web threads (忙/总):1/34会话:0总内存= 773568免费= 338352 09/22 08:03:35 metrics线程(忙/总):1/35会话:0总内存= 781696 Free = 283261 09/22 08:04:35 metrics线程(忙/总):3/36 Sessions:0 Total Memory = 790784 Free = 325807 09/22 08:05:35 metrics网络线程(忙/总):1/36会话:0总内存= 794432免费= 301484 09/22 08:06:35指标Web线程(忙/总):1/35会话:0总内存= 768640 Free = 221172 09/22 08:07:35 metrics线程(忙/总):1/38会话:0总内存= 793984 Free = 245422 09/22 08:08: 35指标Web线程(忙/总):1/37会话:0总内存= 790080免费= 376290 09/22 08:09:35指标Web线程(忙/总):1/38会话:0总内存= 792832免费= 307553 09/22 08:10:35指标Web线程(忙/总):1/36会话:0总内存= 792000免费= 337115 09/22 08: 11:35指标Web线程(忙/总):1/36会话:0总内存= 789184免费= 240118 09/22 08:12:35指标Web线程(忙/总):1/37会话:0 Total Memory = 789440 Free = 342658 09/22 08:13:35 metrics Web threads(busy / total):1/39 Sessions:0 Total Memory = 787520 Free = 34721109/22 08:00:35 metrics Web threads (busy/total): 1/31 Sessions: 0 Total Memory=684672 Free=22880909/22 08:01:35 metrics Web threads (busy/total): 2/34 Sessions: 0 Total Memory=761792 Free=36473309/22 08:02:35 metrics Web threads (busy/total): 1/34 Sessions: 0 Total Memory=773568 Free=33835209/22 08:03:35 metrics Web threads (busy/total): 1/35 Sessions: 0 Total Memory=781696 Free=28326109/22 08:04:35 metrics Web threads (busy/total): 3/36 Sessions: 0 Total Memory=790784 Free=32580709/22 08:05:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=794432 Free=30148409/22 08:06:35 metrics Web threads (busy/total): 1/35 Sessions: 0 Total Memory=768640 Free=22117209/22 08:07:35 metrics Web threads (busy/total): 1/38 Sessions: 0 Total Memory=793984 Free=24542209/22 08:08:35 metrics Web threads (busy/total): 1/37 Sessions: 0 Total Memory=790080 Free=37629009/22 08:09:35 metrics Web threads (busy/total): 1/38 Sessions: 0 Total Memory=792832 Free=30755309/22 08:10:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=792000 Free=33711509/22 08:11:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=789184 Free=24011809/22 08:12:35 metrics Web threads (busy/total): 1/37 Sessions: 0 Total Memory=789440 Free=34265809/22 08:13:35 metrics Web threads (busy/total): 1/39 Sessions: 0 Total Memory=787520 Free=347211 09/22 08:14:35 metrics线程):1/39会话:0总内存= 770112免费= 211797 09/22 08:15:35指标Web线程(忙/总):1/37会话:0总内存= 726208免费= 249031 09/22 08:16:35指标Web线程(忙/总):1/38会话:0总内存= 715392免费= 158240 09/22 08:17:35指标Web线程/总):1/39会话:0总内存= 705600免费= 239585 09/22 08:18:35指标Web线程(忙/总):1/36会话:0总内存= 718848免费= 175842 09/22 08:19:35 metrics线程(忙/总):1/36会话:0总内存= 687488免费= 204397 09/22 08:20:35 metrics线程(忙/总):1/36会话:0总内存= 701440免费= 185422 09/22 08:21:35 metrics线程(忙/总):1/35会话:0总内存= 671744 Free = 154754 09/22 08:22:35 metrics线程(忙/总):2/35会话:0总内存= 664320 Free = 163835 09/22 08:23:35 metrics网络线程(忙/总):1/33会话:0总内存= 674752免费= 195576 09/22 08:24:35指标Web线程(忙/总):1/35会话:0总内存= 661760 Free = 203445 09/22 08:25:35 metrics线程(忙/总):1/35会话:0总内存= 656576 Free = 174511 09/22 08:26: 35指标Web线程(忙/总):1/35会话:0总内存= 651968免费= 194924 09/22 08:27:35指标Web线程(忙/总):1/35会话:0总内存= 632896 Free = 152896 09/22 08:28:35 metrics线程(忙/总):1/36会话:0总内存= 633984 Free = 215603 09/22 08: 29:35指标Web线程(忙/总):1/34会话:0总内存= 630720免费= 198136 09/22 08:30:35指标Web线程(忙/总):2/35会话:0总内存= 616512免费= 140867 09/22 08:31:35 metrics线程(忙/总):1/36会话:0总内存= 613824免费= 140683 09/22 08:32:35指标Web线程(忙/总):1/36会话:0总内存= 605184免费= 166131 09/22 08:33:35指标Web线程(忙/总):1 / 37 Sessions:0 Total Memory = 608448 Free = 132906 09/22 08:34:35 metrics线程(忙/总):1/37会话:0总内存= 609344 Free = 180291 09 / 22 08:35:35 metrics线程(忙/总):1/36会话:0总内存= 603008 Free = 161821 09/22 08:36:35 metrics线程(忙/总): 2/36会话:0总内存= 604672免费= 150526 09/22 08:37:35指标Web线程(忙/总):1/37会话:0总内存= 606144免费= 162952 09/22 08:38:35指标Web线程(忙/总):1/36会话:0总内存= 602048免费= 136201 09/22 08:39:35指标Web线程(忙/总):1/36 Sessions:0 Total Memory = 606656 Free = 116793 09/22 08:40:35 metrics线程(忙/总):1/37 Sessions:0 Total Memory = 602880 Free = 120984 09/22 08:41:35指标Web线程(忙/总):1/36会话:0总内存= 607424免费= 112235 09/22 08:42:35指标Web线程/ total):1/35 Sessions:0 Total Memory = 607424 Free = 13565709/22 08:14:35 metrics Web threads (busy/total): 1/39 Sessions: 0 Total Memory=770112 Free=21179709/22 08:15:35 metrics Web threads (busy/total): 1/37 Sessions: 0 Total Memory=726208 Free=24903109/22 08:16:35 metrics Web threads (busy/total): 1/38 Sessions: 0 Total Memory=715392 Free=15824009/22 08:17:35 metrics Web threads (busy/total): 1/39 Sessions: 0 Total Memory=705600 Free=23958509/22 08:18:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=718848 Free=17584209/22 08:19:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=687488 Free=20439709/22 08:20:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=701440 Free=18542209/22 08:21:35 metrics Web threads (busy/total): 1/35 Sessions: 0 Total Memory=671744 Free=15475409/22 08:22:35 metrics Web threads (busy/total): 2/35 Sessions: 0 Total Memory=664320 Free=16383509/22 08:23:35 metrics Web threads (busy/total): 1/33 Sessions: 0 Total Memory=674752 Free=19557609/22 08:24:35 metrics Web threads (busy/total): 1/35 Sessions: 0 Total Memory=661760 Free=20344509/22 08:25:35 metrics Web threads (busy/total): 1/35 Sessions: 0 Total Memory=656576 Free=17451109/22 08:26:35 metrics Web threads (busy/total): 1/35 Sessions: 0 Total Memory=651968 Free=19492409/22 08:27:35 metrics Web threads (busy/total): 1/35 Sessions: 0 Total Memory=632896 Free=15289609/22 08:28:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=633984 Free=21560309/22 08:29:35 metrics Web threads (busy/total): 1/34 Sessions: 0 Total Memory=630720 Free=19813609/22 08:30:35 metrics Web threads (busy/total): 2/35 Sessions: 0 Total Memory=616512 Free=14086709/22 08:31:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=613824 Free=14068309/22 08:32:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=605184 Free=16613109/22 08:33:35 metrics Web threads (busy/total): 1/37 Sessions: 0 Total Memory=608448 Free=13290609/22 08:34:35 metrics Web threads (busy/total): 1/37 Sessions: 0 Total Memory=609344 Free=18029109/22 08:35:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=603008 Free=16182109/22 08:36:35 metrics Web threads (busy/total): 2/36 Sessions: 0 Total Memory=604672 Free=15052609/22 08:37:35 metrics Web threads (busy/total): 1/37 Sessions: 0 Total Memory=606144 Free=16295209/22 08:38:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=602048 Free=13620109/22 08:39:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=606656 Free=11679309/22 08:40:35 metrics Web threads (busy/total): 1/37 Sessions: 0 Total Memory=602880 Free=12098409/22 08:41:35 metrics Web threads (busy/total): 1/36 Sessions: 0 Total Memory=607424 Free=11223509/22 08:42:35 metrics Web threads (busy/total): 1/35 Sessions: 0 Total Memory=607424 Free=135657推荐答案它出来,存储在注册表中的客户端变量导致整个问题和ColdFusion线程清除客户端变量,运行每小时占用太多的CPU使用率。这是完整的故事。After spending much time on it I figure it out that client variables stored in registry was causing whole issue and ColdFusion thread for purging client variable which was running every hour taking too much CPU usage. Here is full story. http://www.thecfguy.com/post.cfm/strange-coldfusion-issue-jrun-eating-up-to-50-of-cpuhttp://www.thecfguy.com/post.cfm/strange-coldfusion-issue-jrun-eating-up-to-50-of-cpu 这篇关于奇怪的JRUN问题。 JRUN每两个小时吃掉50%的记忆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-27 14:49