[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
big dbcachesize cause system hang up
From: |
allen . zhao |
Subject: |
big dbcachesize cause system hang up |
Date: |
Fri, 9 Mar 2001 09:35:57 -0800 |
Hello there,
I am now useing OpenLDAP 2.0.7 on the RedHat 7.0 box. I met a problem. When
I set a big value (more than the free memory in the runtime system) for the
parameter "dbcahsesize" in the slapd.conf, the slapd will run out of memory
and cpu usage, then causes the system to hang up (acutally it just
continuously displays error message "Out of memory. kill process slapd ###",
### is the pid of slapd).
I traced the program, and found the function "gdbm_setopt" causes this
error.
At first I thought maybe it is not the bug for gdbm, but of glibc. So I
upgraded glibc from 2.1.92-14 to 2.2-12. And disable the threads feature for
OpenLDAP. But it still likes that.
But we can set correct value to avoid it.
Is this a bug? Is there fix for it?
Allen Zhao
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- big dbcachesize cause system hang up,
allen . zhao <=