memory allocator - calloc of 4098 elems of 4 bytes failed; OS error 12 (Cannot allocate memory)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/24/2010 12:15 AM, mahao wrote:
>
> Hi all,
>
>           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
>
What version of fedora-ds or 389-ds-base?
What platform?

This usually means you have run out of memory.  The usual thing is to 
reduce your cache sizes (as specified above).  Start with 
nsslapd-dbcachesize as the minimum.  Set nsslapd-cachememsize to be 
large enough to cache all of your entries, but no larger.
>
> BS
>
> Ma Hao
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20110104/57016afb/attachment.html 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux