Bug 603565 - 389 Directory Server Unnecessary Checkpoints
Summary: 389 Directory Server Unnecessary Checkpoints
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Directory Server
Version: 1.2.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks: 512820 690319
TreeView+ depends on / blocked
 
Reported: 2010-06-13 21:35 UTC by Ian Dall
Modified: 2015-12-10 18:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-10 18:37:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Ian Dall 2010-06-13 21:35:17 UTC
Description of problem:

Even when there have been no logging activity, ns-slapd forces a checkpoint, generating unnecessary disk traffic.

Version-Release number of selected component (if applicable):

1.2.5

How reproducible:

Always

Steps to Reproduce:
1.On a quiescent system do "pidstat -C ns-slapd -d 60"

  
Actual results:
Disk writes are reported


Expected results:
No disk writes

Additional info:

Also "ls -lrt /var/lib/dirsrv/slapd-<server>/db" shows the log file and the __
db.nnn files regularly being updated.

This is apparently due to checkpoint being called (in db_layer.c:dblayer_txn_checkpoint()) with the DB_FORCE option.

Is there any reason to force these checkpoints?

I am using the server for user data (uid/gid etc) but not passwords (because I'm using kerberos for that). The ldap data hardly ever changes and I'd like to let the disks spindown in quiet times. An option, at least, to not force checkpoints would be nice.

Comment 4 Martin Kosek 2012-01-04 13:31:23 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/84


Note You need to log in before you can comment on or make changes to this bug.