Chinaunix

标题: fedora-ds error: memory allocator - calloc of 4098 elems of 4 bytes failed [打印本页]

作者: mahao_boy    时间: 2010-12-24 12:34
标题: fedora-ds error: memory allocator - calloc of 4098 elems of 4 bytes failed
今天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之后  又一次没有相应了  结果又重启了一次  不知道是不是上面的问题引起的
作者: jiannma    时间: 2010-12-24 13:33
  内存不够? 有没有什么大的消耗内存的程序在running?
作者: mahao_boy    时间: 2010-12-24 13:53
回复 2# jiannma


    有cacti在监控
    当时的内存负载不高 属于正常范围
   
    Cpu负责也不高  就是当时的访问量比较大




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2