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


 
Thread Tools Search this Thread
Operating Systems Solaris Sol10 + OpenLDAP = excessive logging & full file system??!!
# 1  
Old 03-26-2013
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? Smilie
# 2  
Old 03-26-2013
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 ?
# 3  
Old 03-27-2013
Quote:
Originally Posted by jlliagre
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Sol10 booting freezes just before CDE logging in.

Hello everyone, There is a problem with hardware installation. Probably someone faced with something similar. Sun Blade 1500 with OS Solaris 10 installed, CDE workspace. I can not add new graphics accelerator instead of older one. I think I installed all needed packages related the new card,... (2 Replies)
Discussion started by: wolfgang
2 Replies

2. UNIX and Linux Applications

MySQL & OpenLDAP - file level backup

Hi All, The MySQL & OpenLDAP database on my Debian are very lightly updated. Usually I tar everything on / including the databases. The restore works OK on another machine. I want to know whether its safe to do file level backup of databases like this ? Do the MySQL & OpenLDAP databases... (0 Replies)
Discussion started by: coolatt
0 Replies

3. Solaris

Sol10 - OpenLDAP Auth

Hi, im new to Solaris (10) and need some help please. Situation: Actually is there a Linux (SLES11) OpenLDAP-Server and authentification of Linux-Maschines works pretty sweet. Now i want to put the SOL10 (Sparc) boxes in.... Problem: User Authentification via OpenLDAP on Sol10 doesn´t work... (3 Replies)
Discussion started by: Panzerkampfwagn
3 Replies

4. Solaris

difference b/w sol9 & sol10

what is the difference b/w sol9 and sol10 booting procedure?? Recently faced this question with HP... Thiru (2 Replies)
Discussion started by: tirupathiraju_t
2 Replies

5. Solaris

Full file system?

I read the sticky and thought of a script I use on a regular basis. Since unless you patch/upgrade the df command on solaris you have a very tought time teling how full the system truly is. Output looks like $ biggest.sh /tmp Filesystem kbytes used avail capacity Mounted... (0 Replies)
Discussion started by: meyerder
0 Replies

6. Solaris

File system full?

Hi, I just started working with UNIX on an old semi-fossilized Sun workstation which I use to process LOTS of images,however, I just started to get an error message that the file system is full and then my shell tool or/and text editor freeze up. Help? (8 Replies)
Discussion started by: Bend
8 Replies

7. UNIX for Advanced & Expert Users

Excessive Paging&Swapping!

Hi all! Working on Oracle v8i/9i on Unix Sun Solaris v8.0. I am experiencing excessive paging & Swapping.Would like to know the cause. I guess:could be due to inappropriate setting of Unix Kernel Parameters... Please correct me if I am wrong! Thanks&Regards, Amit. (5 Replies)
Discussion started by: Amitstora
5 Replies

8. UNIX for Advanced & Expert Users

Full File System

Hi All, There was a background process running on a Solaris 2.8 machine, and appeared to have filled all available disk-space. I done a killall, and upon re-booting found that the file system had filled up, and will not boot as normal as a result. For example, I'm getting /usr/adm/messages: No... (8 Replies)
Discussion started by: Breen
8 Replies

9. UNIX Desktop Questions & Answers

file system full

When I try to log in as root I get the following message realloccg /: file system full sendmail :NO Queue:low on space (have 0,SMTP-DAEMON needs 101 in /var/spool/mqueue) What should I do? (1 Reply)
Discussion started by: hopeless
1 Replies
Login or Register to Ask a Question