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

William Leibzon william at completewhois.com
Tue Sep 27 20:36:22 MSD 2005


On Tue, 27 Sep 2005, Michael Tokarev wrote:

> 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?

Linux Redhat 9

> What's in the logs (if anything)?

rbl logs, who acceses it and what it gives in result

> What error it gives when you're trying to start it (if any)?

No error at all - which is what puzzled me. Yes I did figure out that 2GB 
file size was a problem.

> 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).

Ok, thanks. I may try that or more likely switch to 4 log files per day 
and keep up to 10 files total.

---
William Leibzon
   mailto: william at completewhois.com
Anti-Spam and Email Security Research Worksite:
   http://www.elan.net/~william/emailsecurity/
Whois & DNS Network Investigation Tools:
   http://www.completewhois.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1118 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.corpit.ru/pipermail/rbldnsd/attachments/20050927/d19d0887/smime.bin


More information about the rbldnsd mailing list