免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1655 | 回复: 2
打印 上一主题 下一主题

fedora-ds error: memory allocator - calloc of 4098 elems of 4 bytes failed [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-12-24 12:34 |只看该作者 |倒序浏览
今天fedora-ds服务器报错挂了
以下是feodora-ds的error的log

[23/Dec/2010:18:59:32 +0200] - libdb: User-specified malloc function returned NULL
[23/Dec/2010:18:59:32 +0200] - id2entry error 12
[23/Dec/2010:18:59:32 +0200] - id2entry get error 12
[23/Dec/2010:18:59:32 +0200] - next_search_entry db err 12
[23/Dec/2010:18:59:32 +0200] memory allocator - calloc of 4098 elems of 4 bytes failed; OS error 12 (Cannot allocate memory)
The server has probably allocated all available virtual memory. To solve
this problem, make more virtual memory available to your server, or reduce
one or more of the following server configuration settings:
  nsslapd-cachesize        (Database Settings - Maximum entries in cache)
  nsslapd-cachememsize     (Database Settings - Memory available for cache)
  nsslapd-dbcachesize      (LDBM Plug-in Settings - Maximum cache size)
  nsslapd-import-cachesize (LDBM Plug-in Settings - Import cache size).
Can't recover; calling exit(1).



关键是 no more available virtual memory to use
这个情况是什么引起的呢?
有没有大侠帮个忙  说明下


后来重新启动fedora-ds之后  又一次没有相应了  结果又重启了一次  不知道是不是上面的问题引起的

论坛徽章:
0
2 [报告]
发表于 2010-12-24 13:33 |只看该作者
  内存不够? 有没有什么大的消耗内存的程序在running?

论坛徽章:
0
3 [报告]
发表于 2010-12-24 13:53 |只看该作者
回复 2# jiannma


    有cacti在监控
    当时的内存负载不高 属于正常范围
   
    Cpu负责也不高  就是当时的访问量比较大
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP