procmail
[Top] [All Lists]

RE: Error while writing to <mbox file>

2005-10-03 07:45:02


-----Original Message-----
From: mindfuq(_at_)verizon(_dot_)net
Sent: Sunday, October 02, 2005 8:28 PM
[...]

Based on Ruud's comment, my best guess at this point is that my
machine is sluggish with operating on that large of a file, and might
be causing some sort of timeout.  I will probably try to break it down
further so it creates a new mythtv inbox every quarter of a year.  I
might also look into whether procmail has a tunable parameter for
timing out on OS tasks.

What's interesting is that I've noticed that it's only failing half
the time, so that could indicate timing.

It is unlikely, on any sort of modern OS implementation, that
your program is failing due to the size of the mbox exceeding 150 meg/so.
To append, the OS simply needs to find a block and add it to the file's
allocation.  Now, if the file system is 99.9% full, that's another
matter.  Check to make sure there is no file space shortage for the
filesystem where your mailbox, and/or your log file lives.

The fact that the failure is sporadic may indicate that multiple
processes are competing for the same resource and sometimes losing.
Your logfile says the locking worked fine on mbox delivery.  We should
then also consider the log file, which must also be interlocked.
Check again that the logfile isn't too big (ie, over quota) or
on a file system that is nearly out of space.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail