[JDEV] jabberd 1.4.2 chokes on its own log file

Jamin W. Collins jcollins at asgardsrealm.net
Thu Jul 31 10:11:08 CDT 2003


On Thu, Jul 31, 2003 at 12:13:09AM -0500, Sydney Weidman wrote:
> /var/log/jabberd/error.log filesize: 2147483647 bytes.
> 
> Jabberd filled this file up with a billion lines like this:
> 
> [warn] (mio_ssl.c:225): SSL accept without an IP
> 
> and then died from SIGXFSZ
> 
> This is a terrific security feature :-)
> 
> Have I missed a FAQ somewhere?
> 
> I am trying to just run jabber on my local lan, so the server doesn't
> have a FQDN. Is that the problem?
> 
> Out of ideas and disk space.

You might want to take a look into _logrotate_.  I added a script to it
for the Debian Jabber package a while ago:

   /var/log/jabber/*.log {
      rotate 5
      size=100k
      copytruncate
      delaycompress
      compress
   }

-- 
Jamin W. Collins

Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo



More information about the JDev mailing list