User-specified malloc function returned NULL
Hi all,
Our Fedora-ds was down for some reason,
And I got these logs:
[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).
It looks like no more available virtual memory to use, so should I set a lager nsslapd-dbcachesize?
I don't know if it will down again, and please give me some advice . its important to me. Thanks a lot
|