主题 : cms服务crash的问题
级别: 白丁
UID: 111930
积分:9 加为好友
威望: 0 精华: 0
主题:1 回复:2
注册时间:2017-03-28
在线时长:0
1#   发表于:2017-03-28 10:24:13  IP:116.195.*.*
最近又一次cms服务器内存不足导致crash的问题,帮忙看一下原因,和处理方法,谢谢

log见附件
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
2#   发表于:2017-03-28 10:25:17  IP:106.167.*.*
有报错吗,哪个版本系统
1
级别: 白丁
UID: 111930
积分:9 加为好友
威望: 0 精华: 0
主题:1 回复:2
注册时间:2017-03-28
在线时长:0
3#   发表于:2017-03-28 10:28:36  IP:116.195.*.*
7.x 版本,报错信息 我贴一下

Hibernate: select content0_.content_id as content1_18_, content0_.sort_date as sort2_18_, content0_.top_level as top3_18_, content0_.has_title_img as has4_18_, content0_.is_recommend as is5_18_, content0_.status as status18_, content0_.views_day as views7_18_, content0_.comments_day as comments8_18_, content0_.downloads_day as downloads9_18_, content0_.ups_day as ups10_18_, content0_.score as score18_, content0_.type_id as type12_18_, content0_.site_id as site13_18_, content0_.user_id as user14_18_, content0_.channel_id as channel15_18_, content0_.model_id as model16_18_ from jc_content content0_ inner join jc_content_ext contentext1_ on content0_.content_id=contentext1_.content_id inner join jc_channel channel2_ on content0_.channel_id=channel2_.channel_id cross join jc_channel channel3_ where (channel2_.lft between channel3_.lft and channel3_.rgt) and channel3_.channel_id=? and content0_.status=? order by contentext1_.release_date desc limit ?
java.lang.OutOfMemoryError: Java heap space
Dumping heap to /app/tomcat/logs/java_heapdump.hpro ...
Heap dump file created [980895543 bytes in 37.354 secs]

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "RMI TCP Connection(idle)"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Store com.jeecms.core.entity.CmsUser.attr Spool Thread"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Store com.jeecms.cms.entity.assist.CmsSiteAccessPages Spool Thread"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Store com.jeecms.cms.entity.main.ContentCheck Spool Thread"
Exception in thread "Store com.jeecms.cms.front.CmsSitePvTotal Spool Thread" Exception in thread "Store com.jeecms.cms.entity.assist.CmsUserMenu Spool Thread" Exception in thread "http-bio-80-Acceptor-0" Exception in thread "Store com.jeecms.cms.entity.main.ContentType Spool Thread" Exception in thread "Store com.jeecms.cms.entity.assist.CmsAcquisitionTemp Spool Thread" Exception in thread "Store com.jeecms.core.entity.CmsDepartment Spool Thread" Exception in thread "Store com.jeecms.cms.entity.main.CmsUserExt Spool Thread" Exception in thread "Store com.jeecms.core.entity.CmsSite.refers Spool Thread" Exception in thread "Store com.jeecms.core.entity.CmsSite.cfg Spool Thread" Exception in thread "http-bio-80-exec-155" Exception in thread "http-bio-80-exec-153" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-80-exec-154"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-80-Acceptor-0"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Store com.jeecms.cms.entity.main.CmsUserExt Spool Thread"
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
4#   发表于:2017-03-28 10:29:06  IP:106.167.*.*
数据量是不是很大
1
级别: 白丁
UID: 111930
积分:9 加为好友
威望: 0 精华: 0
主题:1 回复:2
注册时间:2017-03-28
在线时长:0
5#   发表于:2017-03-28 10:44:15  IP:116.195.*.*
每天的搜索量大概在几万条
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
6#   发表于:2017-03-28 10:45:42  IP:106.167.*.*
那建议优化下服务器或者弄个nginx优化下
1
1 共1页