免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: ryanmm
打印 上一主题 下一主题

求助:Linux下如何限制内存 cached [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-01-05 14:09 |只看该作者
汗 我猜的
搞不清楚什么原因造成的这个问题

翻帖子看到也有几位兄弟遇到了这个问题
但是好像最后都没说 是不是找到了解决方法

重装系统能够解决这个问题么?
估计也够呛吧

[ 本帖最后由 ryanmm 于 2007-1-5 14:10 编辑 ]

论坛徽章:
0
12 [报告]
发表于 2007-01-05 14:10 |只看该作者
我看要查一下你那个服务有没有问题

论坛徽章:
0
13 [报告]
发表于 2007-01-05 14:15 |只看该作者
原帖由 peixubin 于 2007-1-5 14:10 发表
我看要查一下你那个服务有没有问题


服务器上只跑了 mysql java resin jboss
因该没啥问题

论坛徽章:
0
14 [报告]
发表于 2007-01-05 15:17 |只看该作者
难道只有在继续加大 物理内存 才行么?

论坛徽章:
0
15 [报告]
发表于 2007-01-05 15:25 |只看该作者
这些服务的日志中都说些啥啊?

论坛徽章:
0
16 [报告]
发表于 2007-01-05 16:50 |只看该作者
resin错误日志

java.lang.OutOfMemoryError: Java heap space
closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

论坛徽章:
0
17 [报告]
发表于 2007-01-05 16:55 |只看该作者
原帖由 ryanmm 于 2007-1-5 16:50 发表
resin错误日志

java.lang.OutOfMemoryError: Java heap space
closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for informat ...




所以说和linux没有关系,你应该修改resin的启动参数,加大java能使用的内存。

论坛徽章:
0
18 [报告]
发表于 2007-01-05 17:05 |只看该作者
奥 谢谢 谢谢

我夜里改改看
白天不敢动机器阿

其他的closing server 都是因为 java调用的内存太少 引起的么?
刚才只是错误日志的最后25行
在往上300行 都是只有 closing server
而没有其他的错误信息了
resin的错误日志好像没有日期的
============================================================
closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

java.lang.OutOfMemoryError: Java heap space
closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

closing server
  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

论坛徽章:
0
19 [报告]
发表于 2007-01-05 17:06 |只看该作者
java.lang.OutOfMemoryError: Java heap space

这个会不会是因为 cached把内存占满了 不分给java造成的呢?

论坛徽章:
0
20 [报告]
发表于 2007-01-05 17:25 |只看该作者
不会的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP