Matthias Scheler wrote:
> Chris Hoogendyk wrote:
> > We are running milter-greylist-1.6 on Solaris 9 with Sendmail 8.13.6,
> > etc. on an E250 with dual sparc processors.
> >
> > We didn't go to milter-greylist-2.0.2 when building the system, because
> > we experienced what appeared to be memory leaks when trying to run it.
> > These seem to be in 1.6, but seemed to be worse in 2.0.2.
>
> Are you sure this is not a Solaris bug? Quoting from an e-mail which
> somebody sent to this list a while ago:
>
> Ok, I found the problem. Milter-greylist is innocent. It's a Solaris
> bug. Solaris 8 needs the 108827-40 patch (which has since then been
> obsoleted by 108993-39). There seem to be severe leaks in
> getaddrinfo() and friends in non-patched libpthread/libsocket/libnsl.
>
> Solaris 9 might require a similar patch.
A friend of mine is running milter-greylist 2.1.3 on
Solaris 9 without problems. The process size grows at
the beginning (which is normal because the greylist
grows). The growth slows down eventually (slowly).
NB: "uname" information from that machine, if it helps:
SunOS 5.9 Generic_117171-02 sun4u sparc SUNW,UltraAX-i2
You should make sure that you are up-to-date with Sun's
recommended patches, no matter what version of Solaris
you're running.
I noticed that the memory handling (malloc()/free()) of
milter-greylist is a pretty tough test for the system's
malloc implementation. Solaris, Linux and the BSDs all
have very different implementations. Some of them are
optimized for speed, some for low memory consumption,
and some try be good at both. So if you think you see
a memory leak, it might also be an artefact of your
system's malloc implementation. If your system's imple-
mentation can be configured (such as FreeBSD's, see
the malloc(3) manual page), you could give it a try to
tune it better for milter-greylist.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"I made up the term 'object-oriented', and I can tell you
I didn't have C++ in mind."
-- Alan Kay, OOPSLA '97Message
Re: [milter-greylist] [Fwd: watch-greylist]
2006-08-02 by Oliver Fromme
Attachments
- No local attachments were found for this message.