[rbldnsd] OT: Advise needed on what RBL operators supposed to do with logs

Michael Tokarev mjt at tls.msk.ru
Tue Sep 27 12:25:19 MSD 2005


William Leibzon wrote:
> 
> BTW - today it reached the point where rbldnsd just stopped working on
> both servers. Attempts to restart were unsuccessful until I moved the
> log file. I don't know if its a bug or not...
> 
> The exact file on one server was:
> -rw-r--r--    1 rbldns   rbldns   2147483647 Sep 26 15:14
> rbldns_queries-2005-09-26-1.log

What OS is it?  What's in the logs (if anything)?  What error
it gives when you're trying to start it (if any)?

On 32-bit linux, rbldnsd should be able to write logfiles larger
than 2GB, but the solution for that problem is somewhat hackish.

I was against enabling large-file support in the first place,
because 2Gb+ logfiles are insane.  But if one really want to
have such a large logfiles, it should be simple to recompile
the whole thing with -D_LARGEFILE_SOURCE or something like
that (or even with -D_FILE_OFFSET_BITS=64).

/mjt


More information about the rbldnsd mailing list