[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.99.49p9 router leaking memory
> We are running the final 2.99.49p9 on Solaris 2.5.1 and found one serious
> memory leaking in router when processing the below message. The router grow
> memory infinitely and finally freeze up the whole OS. Most probably, the
> from address below causes the problem.
> Anyone get hints or patches about that?
Yeah, lets start with an explanation of what happens.
This is not about memory leak, rather an eternal recursion
in route processing due to (I think) canonicalization
problem on the source address.
Try following in interactive mode:
z# router '"<>"@mx05.netaddress.usa.net'
(... lots of text zips in front of your eyes...)
Now scroll back (you have LONG scroll-back buffers, don't you?)
and see where it goes into loop..
My guess it is inside canon while processing "<>" :-/
I may have time tomorrow to look at this -- I hope I will
> Ken Lai
> rcvdfrom realmx05.netaddress.usa.net ([18.104.22.168]:65022 "HELO mx05.netaddress.usa.net" ident: "TIMEDOUT")
> with SMTP
> identinfo TIMEDOUT
> from <"<>"@mx05.netaddress.usa.net>
> todsn ORCPT=rfc822;firstname.lastname@example.org
> to <email@example.com>
> Received: (qmail 21091 invoked by uid 0); 8 Dec 1997 14:11:26 -0000
> Message-ID: <firstname.lastname@example.org>
> Received: from 22.214.171.124 (126.96.36.199) by mx05.netaddress.usa.net via mtad (2.4)
> id mx05-BLHoLZ0664; Mon, 08 Dec 1997 07:11:25 -0600 (MST)
> Received: (qmail 7135 invoked for bounce); 8 Dec 1997 14:12:06 -0000
> Date: 8 Dec 1997 14:12:06 -0000
> From: MAILER-DAEMON@images.netaddress.usa.net
> To: email@example.com
> Subject: failure notice
> [message skipped..]