Re: file size problem
Mathieu Arnold <[email protected]> Thu, 20 Mar 2014 20:11:52 +0100
| Newsgroups | gmane.mail.majordomo.majordomo2.devel |
|---|---|
| Message-ID | <[email protected]> |
+--On 20 mars 2014 12:01:37 -0700 Alex Teslik <[email protected]> wrote: | Do you need such large debug file? I would just empty it or rotate the | log. No, I didn't even know I had them, also, they reached that max size years ago. But all in all I don't care about the log files. | File too large at /usr/local/mj/inst/lib/Mj/File.pm line 149 | | File.pm line 149: $self->{handle}->close() || $::log->abort("Unable to | close $self: $!"); | | The close method on the handle looks like its coming from IO::File. I'd | look there. Ok, I think I was not clear in my first email. What's broken is no mail gets delivered to the subscribers. Majordomo does all its magic, tries to add the new email to the archive, fails, and stops there. For now, I've commented the || abort, so that it fails to do stuff with the archive, but continues to deliver the email. Hopefuly the mails are saved in MJ/tmp/mjr.* and with a bit of formail magic to add a couple of missing headers so that mail filters catch the emails, I was able to have them delivered manually. I've been to Mj::File, and IO::File, and IO::Handle, and IO::Seekable, I can't figure out where that 51200000 bytes limit comes from. -- Mathieu Arnold