--0__=4EBBF2B9DFA5BFCE8f9e8a93df938690918c4EBBF2B9DFA5BFCE Content-type: multipart/alternative; Boundary="1__=4EBBF2B9DFA5BFCE8f9e8a93df938690918c4EBBF2B9DFA5BFCE"
--1__=4EBBF2B9DFA5BFCE8f9e8a93df938690918c4EBBF2B9DFA5BFCE Content-type: text/plain; charset=US-ASCII
Hi, Quanah,
Here are my answers plus some comments.
All is under ext3 fs BDB log files and data files are one seperate filesystem
BDB is 4.6.21 with patch 4 (as provided by http://ltb-project.org/wiki/download )
Running on a VSPhere4 VM - this hardware emulated : 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01) 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08) 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08) 00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10) 00:0f.0 VGA compatible controller: VMware SVGA II Adapter 00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
The 2 servers are in mirror mode. See below the diff between their conf and here's a slapd.conf extract plus the DB_CONFIG file.
Most parameters have been provided in the early ages with the old slapd (2.2.x). Mirroring setup is based on admin guide
-------------- slapd.conf excerpt -------------- # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include my schemas
serverID 2
pidfile /var/ldap/server/var/run/slapd.pid argsfile /var/ldap/server/var/run/slapd.args
loglevel 256
allow bind_v2
gentlehup off idletimeout 3600 defaultsearchbase "dc=carrefour,dc=com" timelimit unlimited sizelimit unlimited
database bdb suffix "dc=carrefour,dc=com" rootdn "cn=*******,dc=carrefour,dc=com" rootpw ******* directory /var/ldap/data
cachesize 500000
maxderefdepth 5
checkpoint 512 720
# Indices to maintain index objectclass,entryCSN,entryUUID eq index uid pres,eq,sub index cn,sn pres,eq,sub,subany index memberOf,eduPersonOrgUnitDN,eduPersonPrimaryOrgUnitDN,employeeNumber,seeAlso eq index businessCategory eq index eduPersonAffiliation,employeeType eq index mail eq index givenName eq index userCertificate eq
# some acces rules, granting write user replic dn="uid=replic,dc=carrefour,dc=com" #...
overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100
syncrepl rid=001 provider=ldap://X.X.X.X bindmethod=simple binddn="uid=replic,dc=carrefour,dc=com" credentials=********** searchbase="dc=carrefour,dc=com" schemachecking=on type=refreshAndPersist retry="20 +"
mirrormode on
# pour cacti database monitor -------------
-------------- slapd.conf diff between mirror peers --------------
< serverID 1 ---
serverID 2
27c27 < loglevel 0 ---
loglevel 256
132c132 < provider=ldap://X.X.X.X ---
provider=ldap://X.X.X.Y
-------------- DB_CONFIG -------------- #==================================================================== # BDB configuration # # Provided by LTB-project (http://www.ltb-project.org) #==================================================================== set_cachesize 1 0 1
set_flags DB_LOG_AUTOREMOVE
set_lg_regionmax 1048576 set_lg_max 10485760 set_lg_bsize 2097152
set_lg_dir /var/ldap/logs
--------------
Regards Bruno HALEBLIAN
|---------+----------------------------> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |---------+---------------------------->
---------------------------------------------------------------------------------------------------------------------|
| | | Quanah Gibson-Mount quanah@zimbra.com | | | |Pour : bruno_haleblian@carrefour.com, openldap-its@openldap.org | |cc : | |Objet : Re: (ITS#6810) slapd crashes writing to bdb backend | | | | 31/01/2011 22:14 |
---------------------------------------------------------------------------------------------------------------------|
--On Friday, January 28, 2011 9:47 AM +0000 bruno_haleblian@carrefour.com wrote:
Full_Name: Bruno HALEBLIAN Version: 2.4.23 OS: RHEL 5.5/64 bits URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (92.243.12.111)
Hello, I'm stuck with "random" slapd crashes, my slapd has been tested successfully in read mode but since I run updates, I get several crashes a day, with no BDB corruption (recover and restart OK) but I can't let this go to production stage.
Here's the first core stack I caught, I'll send more if I meet different ones.
Thanks for your help.
Hi Bruno,
What type of filesystem is BDB located on? I.e., NFS, ext3, SAN, etc. Also, what version of BDB are you using from Oracle? Can you provide your configuration file/cn=config directory (minus any passwords)?
Thanks, Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
This e-mail and any attachment are confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. Unauthorized publication, use, dissemination, forwarding, printing or copying of this e-mail and its associated attachments is strictly prohibited.
http://disclaimer.carrefour.com/
Let's respect the environment together. Only print this message if necessary
--1__=4EBBF2B9DFA5BFCE8f9e8a93df938690918c4EBBF2B9DFA5BFCE Content-type: text/html; charset=US-ASCII Content-Disposition: inline
<html><body> <p><tt>Hi,</tt> <tt>Quanah,</tt><br> <br> <tt>Here are my answers plus some comments.</tt><br> <br> <tt>All is under ext3 fs</tt><br> <tt>BDB log files and data files are one seperate filesystem</tt><br> <br> <tt>BDB is 4.6.21 with patch 4 (as provided by <a href="http://ltb-project.org/wiki/download">http://ltb-project.org/wiki/download</a> )</tt><br> <br> <tt>Running on a VSPhere4 VM - this hardware emulated : </tt><br> <tt>00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)</tt><br> <tt>00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)</tt><br> <tt>00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)</tt><br> <tt>00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)</tt><br> <tt>00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)</tt><br> <tt>00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)</tt><br> <tt>00:0f.0 VGA compatible controller: VMware SVGA II Adapter</tt><br> <tt>00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)</tt><br> <br> <tt>The 2 servers are in mirror mode. See below the diff between their conf</tt><br> <tt>and here's a slapd.conf extract plus the DB_CONFIG file. </tt><br> <br> <tt>Most parameters have been provided in the early ages with the old slapd (2.2.x).</tt><br> <tt>Mirroring setup is based on admin guide</tt><br> <br> <tt>--------------</tt><br> <tt>slapd.conf excerpt</tt><br> <tt>--------------</tt><br> <tt># See slapd.conf(5) for details on configuration options.</tt><br> <tt># This file should NOT be world readable.</tt><br> <tt>#</tt><br> <tt>include my schemas</tt><br> <br> <tt>serverID 2</tt><br> <br> <tt>pidfile /var/ldap/server/var/run/slapd.pid</tt><br> <tt>argsfile /var/ldap/server/var/run/slapd.args</tt><br> <br> <tt>loglevel 256</tt><br> <br> <tt>allow bind_v2</tt><br> <br> <tt>gentlehup off</tt><br> <tt>idletimeout 3600</tt><br> <tt>defaultsearchbase "dc=carrefour,dc=com"</tt><br> <tt>timelimit unlimited</tt><br> <tt>sizelimit unlimited</tt><br> <br> <tt>database bdb</tt><br> <tt>suffix "dc=carrefour,dc=com"</tt><br> <tt>rootdn "cn=*******,dc=carrefour,dc=com"</tt><br> <tt>rootpw *******</tt><br> <tt>directory /var/ldap/data</tt><br> <br> <tt>cachesize 500000</tt><br> <br> <tt>maxderefdepth 5</tt><br> <br> <tt>checkpoint 512 720</tt><br> <br> <tt># Indices to maintain</tt><br> <tt>index objectclass,entryCSN,entryUUID eq</tt><br> <tt>index uid pres,eq,sub</tt><br> <tt>index cn,sn pres,eq,sub,subany</tt><br> <tt>index memberOf,eduPersonOrgUnitDN,eduPersonPrimaryOrgUnitDN,employeeNumber,seeAlso eq</tt><br> <tt>index businessCategory eq</tt><br> <tt>index eduPersonAffiliation,employeeType eq</tt><br> <tt>index mail eq</tt><br> <tt>index givenName eq</tt><br> <tt>index userCertificate eq</tt><br> <br> <br> <tt># some acces rules, granting write user replic dn="uid=replic,dc=carrefour,dc=com"</tt><br> <tt>#...</tt><br> <br> <tt>overlay syncprov</tt><br> <tt>syncprov-checkpoint 100 10</tt><br> <tt>syncprov-sessionlog 100</tt><br> <br> <tt>syncrepl rid=001</tt><br> <tt> provider=ldap://X.X.X.X</tt><br> <tt> bindmethod=simple</tt><br> <tt> binddn="uid=replic,dc=carrefour,dc=com"</tt><br> <tt> credentials=**********</tt><br> <tt> searchbase="dc=carrefour,dc=com"</tt><br> <tt> schemachecking=on</tt><br> <tt> type=refreshAndPersist</tt><br> <tt> retry="20 +"</tt><br> <br> <tt>mirrormode on</tt><br> <br> <tt># pour cacti</tt><br> <tt>database monitor</tt><br> <tt>-------------</tt><br> <br> <tt>--------------</tt><br> <tt>slapd.conf diff between mirror peers</tt><br> <tt>--------------</tt><br> <br> <tt>< serverID 1</tt><br> <tt>---</tt><br> <tt>> serverID 2</tt><br> <tt>27c27</tt><br> <tt>< loglevel 0</tt><br> <tt>---</tt><br> <tt>> loglevel 256</tt><br> <tt>132c132</tt><br> <tt>< provider=ldap://X.X.X.X</tt><br> <tt>---</tt><br> <tt>> provider=ldap://X.X.X.Y</tt><br> <br> <br> <tt>--------------</tt><br> <tt>DB_CONFIG</tt><br> <tt>--------------</tt><br> <tt>#====================================================================</tt><br> <tt># BDB configuration</tt><br> <tt>#</tt><br> <tt># Provided by LTB-project (<a href="http://www.ltb-project.org">http://www.ltb-project.org</a>)</tt><br> <tt>#====================================================================</tt><br> <tt>set_cachesize 1 0 1</tt><br> <br> <tt>set_flags DB_LOG_AUTOREMOVE</tt><br> <br> <tt>set_lg_regionmax 1048576</tt><br> <tt>set_lg_max 10485760</tt><br> <tt>set_lg_bsize 2097152</tt><br> <br> <tt>set_lg_dir /var/ldap/logs</tt><br> <br> <tt>--------------</tt><br> <br> <tt> </tt><br> Regards <br> Bruno HALEBLIAN<br> <img width="16" height="16" src="cid:1__=4EBBF2B9DFA5BFCE8f9e8a93df@carrefour.com" border="0" alt="Inactive hide details for unnamed section"><br> <br> <br>
<table V5DOTBL=true width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"><td width="1%"><img width="72" height="1" src="cid:2__=4EBBF2B9DFA5BFCE8f9e8a93df@carrefour.com" border="0" alt=""><br> </td><td style="background-image:url(cid:3__=4EBBF2B9DFA5BFCE8f9e8a93df@carrefour.com); background-repeat: no-repeat; " width="1%"><img width="222" height="1" src="cid:2__=4EBBF2B9DFA5BFCE8f9e8a93df@carrefour.com" border="0" alt=""><br> </td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBF2B9DFA5BFCE8f9e8a93df@carrefour.com" border="0" alt=""><br> <font size="1" face="Arial"> </font><br> <font size="2"> </font><b><font size="2">Quanah Gibson-Mount <quanah@zimbra.com></font></b> <p><font size="2">Pour : </font><font size="2">bruno_haleblian@carrefour.com, openldap-its@openldap.org</font><br> <font size="2">cc : </font><br> <font size="2">Objet : </font><font size="2">Re: (ITS#6810) slapd crashes writing to bdb backend</font> <p><font size="2"> </font><b><font size="2">31/01/2011 22:14</font></b></td></tr> </table> <br> <br> <tt>--On Friday, January 28, 2011 9:47 AM +0000 bruno_haleblian@carrefour.com <br> wrote:<br> <br> > Full_Name: Bruno HALEBLIAN<br> > Version: 2.4.23<br> > OS: RHEL 5.5/64 bits<br> > URL: </tt><tt><a href="ftp://ftp.openldap.org/incoming/">ftp://ftp.openldap.org/incoming/</a></tt><tt><br> > Submission from: (NULL) (92.243.12.111)<br> ><br> ><br> > Hello,<br> > I'm stuck with "random" slapd crashes, my slapd has been tested<br> > successfully in read mode but since I run updates, I get several crashes<br> > a day, with no BDB corruption (recover and restart OK) but I can't let<br> > this go to production stage.<br> ><br> > Here's the first core stack I caught, I'll send more if I meet different<br> > ones.<br> ><br> > Thanks for your help.<br> <br> Hi Bruno,<br> <br> What type of filesystem is BDB located on? I.e., NFS, ext3, SAN, etc. <br> Also, what version of BDB are you using from Oracle? Can you provide your <br> configuration file/cn=config directory (minus any passwords)?<br> <br> Thanks,<br> Quanah<br> <br> <br> --<br> <br> Quanah Gibson-Mount<br> Sr. Member of Technical Staff<br> Zimbra, Inc<br> A Division of VMware, Inc.<br> --------------------<br> Zimbra :: the leader in open source messaging and collaboration<br> </tt>
<br><br> <div class=Section1> <p align="justify" class=MsoNormal style='margin-top:12.0pt;line-height:12.0pt;mso-layout-grid-align: none;text-autospace:none'><i><span style='font-size:9.0pt;font-family:Arial; color:gray'>This e-mail and any attachment are confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. Unauthorized publication, use, dissemination, forwarding, printing or copying of this e-mail and its associated attachments is strictly prohibited. <br> <a href="http://disclaimer.carrefour.com"> http://disclaimer.carrefour.com </a> <br> Let's respect the environment together. Only print this message if necessary <o:p></o:p></span></i></p> </div> </body></html>
--1__=4EBBF2B9DFA5BFCE8f9e8a93df938690918c4EBBF2B9DFA5BFCE--
--0__=4EBBF2B9DFA5BFCE8f9e8a93df938690918c4EBBF2B9DFA5BFCE Content-type: image/gif; name="graycol.gif" Content-Disposition: inline; filename="graycol.gif" Content-ID: 1__=4EBBF2B9DFA5BFCE8f9e8a93df@carrefour.com Content-transfer-encoding: base64
R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIX lI+py+0PopwxUbpuZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFk IFNtYXJ0U2F2ZXIhAAA7
--0__=4EBBF2B9DFA5BFCE8f9e8a93df938690918c4EBBF2B9DFA5BFCE Content-type: image/gif; name="ecblank.gif" Content-Disposition: inline; filename="ecblank.gif" Content-ID: 2__=4EBBF2B9DFA5BFCE8f9e8a93df@carrefour.com Content-transfer-encoding: base64
R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7
--0__=4EBBF2B9DFA5BFCE8f9e8a93df938690918c4EBBF2B9DFA5BFCE Content-type: image/gif; name="pic10697.gif" Content-Disposition: inline; filename="pic10697.gif" Content-ID: 3__=4EBBF2B9DFA5BFCE8f9e8a93df@carrefour.com Content-transfer-encoding: base64
R0lGODlhWABDALP/AAAAAK04Qf79/o+Gm7WuwlNObwoJFCsoSMDAwGFsmIue zf///wAAAAAAAAAAAAAAACH5BAEAAAgALAAAAABYAEMAQAT/EMlJq7046827 70RiFMRinqggEUNSHIchG0BCfHhOjAuhEDeUqTASLCbBhQrhG7xis2j0lssN DopE4jfIJhDaggI8YB1sZeZgLVA9YVCpnGagVjV171aRVrYRRghXcAGFhoUE TwYxcXNyADJ3GlcSKGAwLwllVC1vjIUHBWsFilKQdI8GA5IcpApeJQt8L09l mgkHLZikoU5wjqcyAMMFrJIDPAKvCFletKSev1HBw8KrxtjZ2tvc3d5VyKtC KW3jfz4uMKmq3xu4N0nKBVoJQmx2LGVOmrqNjjJf2hHAQo/eDwJGTKhQMcgQ EEAnEjFS98+RnW3smGkZU6ncCWav/4wYOnAITihRL/4FEwbp28BXMMcoscQC VxlepL4IGDSCyJyVQOu0o7CjmLN50OZlqWmyFy5/6yBBuji0AxFRM00oQAqN IstqI6qKHUsWRAEAvagsmfUEAImyxgbmUpJk3IklNUtJOUAVLoUr1+wqDGTE 4zk+T6FGuQb3SizBCwatiiUgCBN8vrz+zFjVyQ8FWkOlg4NQiZMB5QS8QO3m pOaKnL0Z2EKvNMSILEThKhCgzMKPVxYJh23qm9KNW7pArPynMqZDiErsTMqI +LRi3QAgkFUbXpuFKhSYZALd0O5RKa2z9EYKBbpbqxIKsjUPRgD7I2XYV6wy rOw92ykExP8NW4URhknC5dKGE4v4NENQj2jXjmfNgOZDaXb5glRmXQ33YEWQ YNcZFnrYcIQLNzyTFDQNkXIff0ExVlY4srziQk43inZgL4rwxxINMvpFFAz1 KOODHiu+4aEwNEjFl5B3JIKWKF3k6I9bfUGp5ZZcdunll5IA4cuHvQQJ5gcs oCWOOUwgltIwAKRxJgbIkJAQZEq02YliZnpZZ4BH3CnYOXldOUOfQoYDqF1L FHbXCrO8xmRsfoXDXJ6ChjCAH3QlhJcT6VWE6FCkfCcoCgrMFsROrIEX3o2w hVjWDjoJccN3LdggSGXLCdLEgHr1lyU3O3QxhgohNKXJCWv8JQr/PDdaqd6w 2rj1inLiGeiCJoDspAoQlYE6QWLSECehcWIYxIQES6zhbn1iImTHEQyqJ4eI xJJoUBc+3CbBuwZEV5cJPPkIjFDdeEabQbd6WgICTxiiz0f5dBKquXF6k4se nwEhYGnKEFJeGrxUZy8dB8gmAXI/sPvHESfCwVt5hTgYiqQqtdRNHQIU1PJ3 3ZqmzgE90OwLaoJcnMop1WiMmgkPHQRIrwgFuNV90A3doNKTmrKIN07AnGcI 9BQjhCBN4RfA1qIZnMqorJCogKfGQnxSCDilTVIA0yl5ciTovgLuBDKFUDE9 aQcw9SA+rjSNf9/M1gxrj6VwDTS0IUSElMzBfsj0NFXR2kwsV1A5IF1grLgL L/r1R40BZEnuBWgmQEybjqRwSAt6bqMCOFkvKFN2GPPkUzIm/SCF8z8pVzpb jVnMsy0vOr1hw3SaSRUhpY09v0z0J1FnwzPlfmh+xl4WtR0zGu24I4KbMQm3 lnVu2oNWxI9W/lcyzA+mCKF4DBikxb/+UWtOGRiFP8qEwAayIgIAOw==
--0__=4EBBF2B9DFA5BFCE8f9e8a93df938690918c4EBBF2B9DFA5BFCE--