Re: Index Add Failures

2012-12-03 Thread Allan E. Johannesen
quanah == Quanah Gibson-Mount qua...@zimbra.com writes: quanah MDB_MAP_FULL means your database ran out of room. You need to quanah specify a larger maxsize for the MDB database. Personally, I quanah set mine to 80GB (larger than any database I've worked with) quanah so I don't really have to

Re: Index Add Failures

2012-12-03 Thread Allan E. Johannesen
quanah == Quanah Gibson-Mount qua...@zimbra.com writes: quanah I found that OSX acts different -- It actually allocates the quanah entire size of the database on disk, regardless of how much is quanah used. That may be common to all the BSDs. Redhat, too. The DB is the maxsize size. That's

Re: Index Add Failures

2012-12-03 Thread Allan E. Johannesen
quanah == Quanah Gibson-Mount qua...@zimbra.com writes: quanah --On Tuesday, November 13, 2012 8:10 PM -0500 Allan quanah E. Johannesen a...@wpi.edu wrote: quanah == Quanah Gibson-Mount qua...@zimbra.com writes: quanah I found that OSX acts different -- It actually allocates the quanah

Re: Index Add Failures

2012-11-13 Thread Quanah Gibson-Mount
--On Tuesday, November 13, 2012 6:38 PM -0500 Allan E. Johannesen a...@wpi.edu wrote: Is there a measure of how full a MDB database is? Maybe a Monitor value of some sort? du file.mdb I.e., the filesize of mdb grows as it gets data, at least on Linux. This is why I set my maxsize to

Re: Index Add Failures

2012-11-13 Thread Howard Chu
Quanah Gibson-Mount wrote: --On Tuesday, November 13, 2012 6:38 PM -0500 Allan E. Johannesen a...@wpi.edu wrote: Is there a measure of how full a MDB database is? Maybe a Monitor value of some sort? du file.mdb I.e., the filesize of mdb grows as it gets data, at least on Linux. This is

Re: Index Add Failures

2012-11-13 Thread Quanah Gibson-Mount
--On Tuesday, November 13, 2012 4:25 PM -0800 Howard Chu h...@symas.com wrote: I found that OSX acts different -- It actually allocates the entire size of the database on disk, regardless of how much is used. That may be common to all the BSDs. Sounds like whatever filesystem is default on

Re: Index Add Failures

2012-11-13 Thread Howard Chu
Quanah Gibson-Mount wrote: --On Tuesday, November 13, 2012 4:25 PM -0800 Howard Chu h...@symas.com wrote: I found that OSX acts different -- It actually allocates the entire size of the database on disk, regardless of how much is used. That may be common to all the BSDs. Sounds like

Re: Index Add Failures

2012-11-13 Thread Quanah Gibson-Mount
--On Tuesday, November 13, 2012 8:10 PM -0500 Allan E. Johannesen a...@wpi.edu wrote: quanah == Quanah Gibson-Mount qua...@zimbra.com writes: quanah I found that OSX acts different -- It actually allocates the quanah entire size of the database on disk, regardless of how much is quanah used.

Re: Index Add Failures

2012-11-12 Thread Kyle Smith
One last question. For now anyways. I am testing the procedure to convert from hdb to mdb using slapcat/add. Should a slapindex be done as well? When I tried it, I got this error. Thanks in advance! 50a17983 = mdb_idl_insert_keys: c_put id failed: MDB_MAP_FULL: Environment mapsize limit reached

Re: Index Add Failures

2012-11-12 Thread Quanah Gibson-Mount
--On Monday, November 12, 2012 5:38 PM -0500 Kyle Smith alacer.cogita...@gmail.com wrote: One last question. For now anyways. I am testing the procedure to convert from hdb to mdb using slapcat/add. Should a slapindex be done as well? When I tried it, I got this error. Thanks in advance!

Re: Index Add Failures

2012-11-12 Thread Kyle Smith
a) Slapadd does a slapindex. Why would you slapadd and then slapindex? Because I forgot that slapadd also does slapindex. b) What version of OpenLDAP? slapindex still shouldn't cause a failure. 2.4.33 --Quanah -- Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A

Re: Index Add Failures

2012-11-12 Thread Quanah Gibson-Mount
Hi Kyle, --On Monday, November 12, 2012 5:38 PM -0500 Kyle Smith alacer.cogita...@gmail.com wrote: One last question. For now anyways. I am testing the procedure to convert from hdb to mdb using slapcat/add. Should a slapindex be done as well? When I tried it, I got this error. Thanks in

Re: Index Add Failures

2012-11-01 Thread Kyle Smith
Ok, I have been running 2.4.32 for some time with no issues. Yesterday, 2 different servers (both part of a 4-way MMR) produced an index add failure and an index delete failure. I went back over the bdb DB_CONFIG Settings (listed below) and everything looks nominal to me. Would it just make more

Re: Index Add Failures

2012-11-01 Thread Quanah Gibson-Mount
--On Thursday, November 01, 2012 12:36 PM -0400 Kyle Smith alacer.cogita...@gmail.com wrote: Ok, I have been running 2.4.32 for some time with no issues. Yesterday, 2 different servers (both part of a 4-way MMR) produced an index add failure and an index delete failure. I went back over the

Re: Index Add Failures

2012-11-01 Thread Kyle Smith
Is it possbile to use MMR to my advantage to switch over? For example, take down 1 of the servers, switch the db config from bdb to mdb, and then restart with a blank database (with appropriate structure) and have the MMR take care of backfilling the mdb entries? Then I wouldn't have to export to

Re: Index Add Failures

2012-11-01 Thread Quanah Gibson-Mount
--On Thursday, November 01, 2012 1:04 PM -0400 Kyle Smith alacer.cogita...@gmail.com wrote: Is it possbile to use MMR to my advantage to switch over? For example, take down 1 of the servers, switch the db config from bdb to mdb, and then restart with a blank database (with appropriate 

Re: Index Add Failures

2012-11-01 Thread Kyle Smith
Thanks for the input, Quanah. I really appreciate it. On Thu, Nov 1, 2012 at 1:10 PM, Quanah Gibson-Mount qua...@zimbra.comwrote: --On Thursday, November 01, 2012 1:04 PM -0400 Kyle Smith alacer.cogita...@gmail.com wrote: Is it possbile to use MMR to my advantage to switch over? For

Re: Index Add Failures

2012-11-01 Thread Howard Chu
Kyle Smith wrote: Ok, I have been running 2.4.32 for some time with no issues. Yesterday, 2 different servers (both part of a 4-way MMR) produced an index add failure and an index delete failure. I went back over the bdb DB_CONFIG Settings (listed below) and everything looks nominal to me. Would

Re: Index Add Failures

2012-08-29 Thread Kyle Smith
Quanah, Thanks for the info, I have confirmed I'm hitting the lock maxes of 1000. And I will be upgrading to 2.4.32. I was wondering, what steps should be done to have the changes in DB_CONFIG take effect? stop slapd make changes to DB_CONFIG db_recover start slapd Will this also auto remove the

Re: Index Add Failures

2012-08-28 Thread Quanah Gibson-Mount
--On Tuesday, August 28, 2012 9:27 AM -0400 Kyle Smith alacer.cogita...@gmail.com wrote: Good Morning All, I receive events that mention attribute memberUid index add failure. What does this mean? Once I notice these events, I have to restart slapd, as writes will not be performed and CPU