Sol10 + OpenLDAP = excessive logging & full file system??!! | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Sol10 + OpenLDAP = excessive logging & full file system??!!

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-26-2013
Wraith_G2IC Wraith_G2IC is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 30 August 2013, 11:26 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Sol10 + OpenLDAP = excessive logging & full file system??!!

Hello all, new to this forum (member of many others). Hopefully I can find help here.

SERVER:
Brand new server Oracle Enterprise SPARC T4-1
Loaded Solaris SPARC 10 u10, patched to 147440-27
Loaded OpenLDAP v2.4.30
Loaded Berkley DB 4.7.25.NC Loaded OpenSSL 1.0.1c
Note: All packages are from sunfreeware


For sake of simplicity:

/ldap/openLdapData
/ldap/openLdapLogs

In the logs directory there are 50m files that are being created every min, and filling up the 100GB of space on that filesystem. The file system is from a ZFS pool with a ZFS quota of 100GB (if any of that matters to anyone). I tried lowering the default logging level from 256 to 128+32+8=168 by placing entries in the slapd.conf file. Should those entries also be in the DB_CONFIG file as well. Also in the DB_CONFIG file is "set_flags DB_LOG_AUTOREMOVE", but it is still doing it. I am tempted to go to 0, but I don't want to have to do that.

I have this same OS and software running on some T2000, T51xx, and T52xx series servers with no issues. I have configured hundreds of servers using these packages, and their predecessors. I have never seen this behavior before. There seems to be a lot of things different about the T4-1 that have made configuring this server a giant PITA.

Does anyone know what the issue is with this thing?
Sponsored Links
    #2  
Old 03-26-2013
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 22 December 2014, 6:33 PM EST
Location: Paris
Posts: 4,471
Thanks: 17
Thanked 482 Times in 434 Posts
What are these 50m files created every minute (do you really mean 50 million files created every minute or 50 MB of new logs every minute ?)
In any case, why don't you post a sample of these logs ?
Are you doing snapshots of the file system containing the logs ?
Sponsored Links
    #3  
Old 03-27-2013
Wraith_G2IC Wraith_G2IC is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 30 August 2013, 11:26 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jlliagre View Post
What are these 50m files created every minute (do you really mean 50 million files created every minute or 50 MB of new logs every minute ?)
In any case, why don't you post a sample of these logs ?
Are you doing snapshots of the file system containing the logs ?
Thanks for the reply.

These are log files created automatically for the purpose of auto-recovering the LDAP from a failure. In most systems I have, there are just 2 - 6 files (50mb each) in the logs dir. These files are 50mb due to the "Transaction Log Settings" in the DB_CONFIG. Increasing / decreasing the configured size has no affect on the problem. These files normally "track" changes made to LDAP DB via the Berkeley DB (BDB). The problem is, these files are not human readable, and it is on an isolated system not connected to the internet (IE: we are not allowed to post files). These log files are "usually" automatically cleaned up by a statement in the conf file:

set_flags DB_LOG_AUTOREMOVE

This setting works on every other system we have, with the exception of this T4-1.

No, there are no snapshots being done. It is on a raidz2 zfs file-system, but that shouldn't matter..

It has been suggested by some folks @ OpenLDAP that the older version of BDB -v4.7 is the issue. I have to claim partial ignorance to that statement since we don't use BDB for anything, but to support OpenLDAP.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sol10 - OpenLDAP Auth Panzerkampfwagn Solaris 3 03-19-2013 11:53 AM
difference b/w sol9 & sol10 tirupathiraju_t Solaris 2 02-11-2009 11:08 AM
Excessive Paging&Swapping! Amitstora UNIX for Advanced & Expert Users 5 03-19-2003 07:41 PM
Full File System Breen UNIX for Advanced & Expert Users 8 10-15-2002 03:12 PM



All times are GMT -4. The time now is 08:05 PM.