Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: Michail Pappas on November 12, 2012, 01:37:50 PM

Title: Large number of files in /var/log/bdb , normal?
Post by: Michail Pappas on November 12, 2012, 01:37:50 PM
Hello all,

running a plain 8.0 server in server-only mode, providing mostly POP-3 email for 170 users. A small number of them have webmail as well. No ibays or squid enabled/used.

I've stumbled to some 270 files of the format log.0000000XXX (from 001 to 270 or so), consuming some 3Gbytes, in /var/log/bdb. Is this normal? Do these require some sort of cleanup?
Title: Re: Large number of files in /var/log/bdb , normal?
Post by: CharlieBrady on November 12, 2012, 03:19:16 PM
I've stumbled to some 270 files of the format log.0000000XXX (from 001 to 270 or so), consuming some 3Gbytes, in /var/log/bdb. Is this normal?

Doesn't sound like it.

Quote
Do these require some sort of cleanup?

Probably. Please open a bug report.
Title: Re: Large number of files in /var/log/bdb , normal?
Post by: Michail Pappas on November 13, 2012, 06:47:53 AM
Thanks, I've opened bug report 7166 (http://bugs.contribs.org/show_bug.cgi?id=7166).
Title: Re: Large number of files in /var/log/bdb , normal?
Post by: chris burnat on November 13, 2012, 07:29:04 AM
Thanks, I've opened bug report 7166 (http://bugs.contribs.org/show_bug.cgi?id=7166).

Checked this on my production box, been running for over 12 months, only a few users:

[root@gateway0 bdb]# uname -a
Linux gateway0 2.6.18-308.13.1.el5PAE #1 SMP Tue Aug 21 17:50:26 EDT 2012 i686 athlon i386 GNU/Linux

Please follow at Bugzilla.
Reprint of last comment there:
#only two files - same size as yours:
[root@gateway0 bdb]#  ls -laF /var/log/bdb/log.0000000001
-rw------- 1 ldap ldap 10485760 Sep 12 10:43 /var/log/bdb/log.0000000001
[root@gateway0 bdb]#  ls -laF /var/log/bdb/log.0000000002
-rw------- 1 ldap ldap 10485760 Sep 17 19:27 /var/log/bdb/log.0000000002

System is native Raid1 (2 disks) and no problems whatsoever, including reconfigure time etc.  It may be that your problem has nothing to do with the size of these logs.