procmail
[Top] [All Lists]

Re: Big Mails

1998-10-19 02:29:59
Hello,

On Sun, 11 Oct 1998, Robin Fundinger wrote:

we have the problem, that big mails are not forwarded by procmail. This
is
the message of the mailq-command under UNIX:

UAA03645  8984240 Sat Oct 10 20:38 <rp18218(_at_)online-club(_dot_)de>
                 (Operating system error)
                                   "|exec /usr/bin/procmail #overlack"

The real problem is probably the interaction between procmail's use of
realloc() and the system's implementation of it.  This is generally
seen on BSD derived system (NeXTStep, FreeBSD, OpenBSD, BSDI, etc).  On
these systems, repeatedly realloc()ing a block is a pessimal operation,
resulting in repeated copies of the memory block and much greater
memory usage.  The quick fix is to edit config.h and change the
definition of BLKSIZ to be something like 4194000 (just under 4MB).
That should cut down on the number of copies and the obscene memory
growth.  I've been working on a better solution, but it isn't ready
yet.

Regardless of changing BLKSIZ, make sure the machine has plenty of swap.

The modification of BLKSIZ is not successful.
(We are using BSDI 4.0).

Any other ideas?

--
Best Regards
 Robin Fundinger
 IS-FUN Internet Services
 http://www.is-fun.de

<Prev in Thread] Current Thread [Next in Thread>