[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.99.49p9 router leaking memory



> Hi,
> 
> 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:

	MAILBIN/router -i
	z# rtrace
	z# router '"<>"@mx05.netaddress.usa.net'
	(... lots of text zips in front of your eyes...)
	Ctrl-Z

	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
	have time..

> Rgds,
> Ken Lai

	/Matti Aarnio

> --
> external
> rcvdfrom realmx05.netaddress.usa.net ([204.68.24.14]:65022 "HELO mx05.netaddress.usa.net" ident: "TIMEDOUT")
> with SMTP
> identinfo TIMEDOUT
> from <"<>"@mx05.netaddress.usa.net>
> todsn ORCPT=rfc822;fn_ckyab@stu.ust.hk
> to <fn_ckyab@stu.ust.hk>
> env-end
> Received: (qmail 21091 invoked by uid 0); 8 Dec 1997 14:11:26 -0000
> Message-ID: <19971208141126.21089.qmail@mx05.netaddress.usa.net>
> Received: from 204.68.24.74 (204.68.24.74) 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: crystal.chan@usa.net
> Subject: failure notice
> 
> [message skipped..]
>