I have a Multimaster replication setup with 3 servers and I've noticed that the changelogdb dir has some very large files:
# ls -lha changelogdb/
total 8.2G
drwx------ 2 nobody nobody 4.0K Jan 18 20:32 .
drwxr-x--- 6 nobody nobody 4.0K Jan 18 15:23 ..
-rw------- 1 nobody nobody*** 0 Jan 18 18:01 5b261e84-fe7011dd-a1f9862f-16c3237d.sema
-rw------- 1 nobody nobody 8.2G Jan 18 20:43 5b261e84-fe7011dd-a1f9862f-16c3237d_499c5871000000010000.db4
-rw------- 1 nobody nobody** 30 Feb 18* 2009 DBVERSION
-rw------- 1 nobody nobody* 24K Aug 14 20:35 __db.001
-rw------- 1 nobody nobody* 13M Aug 14 20:35 __db.002
-rw------- 1 nobody nobody* 96K Aug 14 20:35 __db.003
-rw------- 1 nobody nobody 648K Aug 14 20:35 __db.004
-rw------- 1 nobody nobody* 56K Aug 14 20:35 __db.005
-rw------- 1 nobody nobody* 10M Jan 18 20:44 log.0000007060
Is there any way to reduce it's size?
Thanks
--
Paulo Silva <paulojjs@gmail.com>
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
01-18-2011, 08:22 PM
Rich Megginson
changelogdb getting too large
On 01/18/2011 01:46 PM, Paulo Silva wrote:
Hi,
I have a Multimaster replication setup with 3 servers and I've
noticed that the changelogdb dir has some very large files:
# ls -lha changelogdb/
total 8.2G
drwx------ 2 nobody nobody 4.0K Jan 18 20:32 .
drwxr-x--- 6 nobody nobody 4.0K Jan 18 15:23 ..
-rw------- 1 nobody nobody*** 0 Jan 18 18:01
5b261e84-fe7011dd-a1f9862f-16c3237d.sema
-rw------- 1 nobody nobody 8.2G Jan 18 20:43
5b261e84-fe7011dd-a1f9862f-16c3237d_499c5871000000010000.db4
-rw------- 1 nobody nobody** 30 Feb 18* 2009 DBVERSION
-rw------- 1 nobody nobody* 24K Aug 14 20:35 __db.001
-rw------- 1 nobody nobody* 13M Aug 14 20:35 __db.002
-rw------- 1 nobody nobody* 96K Aug 14 20:35 __db.003
-rw------- 1 nobody nobody 648K Aug 14 20:35 __db.004
-rw------- 1 nobody nobody* 56K Aug 14 20:35 __db.005
-rw------- 1 nobody nobody* 10M Jan 18 20:44 log.0000007060
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
01-18-2011, 08:37 PM
Paulo Silva
changelogdb getting too large
Hi,
I've set the nsslapd-changelogmaxage attribute in all the servers and restarted them all but the space remains in use. Is there something else I can do?
Thanks
--
Paulo Silva <paulojjs@gmail.com>
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
01-18-2011, 08:54 PM
Rich Megginson
changelogdb getting too large
On 01/18/2011 02:37 PM, Paulo Silva wrote:
Hi,
I've set the nsslapd-changelogmaxage attribute in all the servers
and restarted them all but the space remains in use. Is there
something else I can do?
Try nsslapd-changelogmaxsize?
Thanks
--
Paulo Silva <paulojjs@gmail.com>
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
01-19-2011, 07:08 AM
Paulo Silva
changelogdb getting too large
On 18 January 2011 21:54, Rich Megginson <rmeggins@redhat.com> wrote:
On 01/18/2011 02:37 PM, Paulo Silva wrote:
Hi,
I've set the nsslapd-changelogmaxage attribute in all the servers
and restarted them all but the space remains in use. Is there
something else I can do?
Try nsslapd-changelogmaxsize?
*When I try to add that attribute I get an:
ldapmodify: Server is unwilling to perform (53)
*** additional info: Unwilling to apply nsslapd-changelogmaxsize mods while the server is running
Is there some kind of special procedure to add that one?
--
Paulo Silva <paulojjs@gmail.com>
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
01-19-2011, 02:32 PM
Rich Megginson
changelogdb getting too large
On 01/19/2011 01:08 AM, Paulo Silva wrote:
On 18 January 2011 21:54, Rich Megginson
<rmeggins@redhat.com>
wrote:
On 01/18/2011 02:37 PM, Paulo Silva wrote:
Hi,
I've set the nsslapd-changelogmaxage attribute in all
the servers and restarted them all but the space remains
in use. Is there something else I can do?
Try nsslapd-changelogmaxsize?
*
When I try to add that attribute I get an:
ldapmodify: Server is unwilling to perform (53)
*** additional info: Unwilling to apply nsslapd-changelogmaxsize
mods while the server is running
Is there some kind of special procedure to add that one?
I guess you'll have to shutdown the server, edit dse.ldif, then
start up the server.
--
Paulo Silva <paulojjs@gmail.com>
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
01-21-2011, 12:33 PM
Paulo Silva
changelogdb getting too large
On 19 January 2011 15:32, Rich Megginson <rmeggins@redhat.com> wrote:
When I try to add that attribute I get an:
ldapmodify: Server is unwilling to perform (53)
*** additional info: Unwilling to apply nsslapd-changelogmaxsize
mods while the server is running
Is there some kind of special procedure to add that one?
I guess you'll have to shutdown the server, edit dse.ldif, then
start up the server.
I've done this and I see that the new attribute is inserted but the file is still with the same size.
Maybe there some kind of procedure to shrink the db4 file that can be done?
Thanks
--
Paulo Silva <paulojjs@gmail.com>
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
01-21-2011, 07:18 PM
Rich Megginson
changelogdb getting too large
On 01/21/2011 06:33 AM, Paulo Silva wrote:
On 19 January 2011 15:32, Rich Megginson
<rmeggins@redhat.com>
wrote:
When I try to add that
attribute I get an:
ldapmodify: Server is unwilling to perform (53)
*** additional info: Unwilling to apply
nsslapd-changelogmaxsize mods while the server is
running
Is there some kind of special procedure to add that
one?
I guess you'll have to shutdown the server, edit dse.ldif,
then start up the server.
I've done this and I see that the new attribute is inserted but
the file is still with the same size.
Maybe there some kind of procedure to shrink the db4 file that can
be done?
not sure - please file a bug for this issue
Thanks
--
Paulo Silva <paulojjs@gmail.com>
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users