[prev in list] [next in list] [prev in thread] [next in thread]
List: nssldap
Subject: Re: [nssldap] LDAP performance issues
From: "Matthew B. Brookover" <mbrookov () mines ! edu>
Date: 2005-10-16 14:46:34
Message-ID: 1129473994.12761.1.camel () mickey ! mattbrookover ! com
[Download RAW message or body]
I will give this a try next time.
Thanks.
Matt
On Sat, 2005-10-15 at 17:41 -0400, Adam Tauno Williams wrote:
> > The other problem was with logging to syslog. I had the log level set
> > high while testing. Syslog was slowing slapd. Setting loglevel to 0
> > solved it. I tend to be selective when picking what to log now.
>
> You can prepend each log file in /etc/syslog.conf with a hyphen to
> disable fsync()-after-each-message: -/var/log/ldap vs. /var/log/ldap.
> With fsync() disabled you should be able to sustain robust logging with
> very little performance impact.
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
I will give this a try next time.<BR>
<BR>
Thanks.<BR>
<BR>
Matt<BR>
<BR>
On Sat, 2005-10-15 at 17:41 -0400, Adam Tauno Williams wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">> The other problem was with logging to syslog. I had the log level set </FONT>
<FONT COLOR="#000000">> high while testing. Syslog was slowing slapd. Setting loglevel to 0 </FONT>
<FONT COLOR="#000000">> solved it. I tend to be selective when picking what to log now.</FONT>
<FONT COLOR="#000000">You can prepend each log file in /etc/syslog.conf with a hyphen to </FONT>
<FONT COLOR="#000000">disable fsync()-after-each-message: -/var/log/ldap vs. /var/log/ldap. </FONT>
<FONT COLOR="#000000">With fsync() disabled you should be able to sustain robust logging with </FONT>
<FONT COLOR="#000000">very little performance impact.</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic