Re: Memory Leak on version 2.1.3
there are at least 3 newer versions. Have you tried the latest and/or read the changelog? ----- Original Message ----- From: freeradius-users-bounces+ggatten=waddell.com@lists.freeradius.org <freeradius-users-bounces+ggatten=waddell.com@lists.freeradius.org> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Wed Mar 24 18:24:54 2010 Subject: Memory Leak on version 2.1.3 Hi, I am using 2.1.3 freeradius server and found memory leak. I use ttls+mschapv2 for authentication. After each authentication, the memory usage increases. Is there a patch fix for this? Thanks, Gina Zhang - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
The server is in production and we won't upgrade for a while. Where to find the changelog? Thanks for your help! Regards, Gina -----Original Message----- From: freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org [mailto:freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org] On Behalf Of Gary Gatten Sent: Wednesday, March 24, 2010 6:31 PM To: 'freeradius-users@lists.freeradius.org' Subject: Re: Memory Leak on version 2.1.3 there are at least 3 newer versions. Have you tried the latest and/or read the changelog? ----- Original Message ----- From: freeradius-users-bounces+ggatten=waddell.com@lists.freeradius.org <freeradius-users-bounces+ggatten=waddell.com@lists.freeradius.org> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Wed Mar 24 18:24:54 2010 Subject: Memory Leak on version 2.1.3 Hi, I am using 2.1.3 freeradius server and found memory leak. I use ttls+mschapv2 for authentication. After each authentication, the memory usage increases. Is there a patch fix for this? Thanks, Gina Zhang - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi, Even though you're running it in production I'd recommend updating every now and again. IMHO it's worth it, RADIUS is used for Authentication after all. I tend to keep a copy of my last build in case I need to revert anyway. Regards, Matt Harlum On 25/03/2010, at 10:35 AM, Zhang, Ge (Gina) wrote:
The server is in production and we won't upgrade for a while.
Where to find the changelog?
Thanks for your help!
Regards, Gina
-----Original Message----- From: freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org [mailto:freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org] On Behalf Of Gary Gatten Sent: Wednesday, March 24, 2010 6:31 PM To: 'freeradius-users@lists.freeradius.org' Subject: Re: Memory Leak on version 2.1.3
there are at least 3 newer versions. Have you tried the latest and/or read the changelog?
----- Original Message ----- From: freeradius-users-bounces+ggatten=waddell.com@lists.freeradius.org <freeradius-users-bounces+ggatten=waddell.com@lists.freeradius.org> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Wed Mar 24 18:24:54 2010 Subject: Memory Leak on version 2.1.3
Hi,
I am using 2.1.3 freeradius server and found memory leak. I use ttls+mschapv2 for authentication. After each authentication, the memory usage increases. Is there a patch fix for this?
Thanks, Gina Zhang
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Alan, Does 2.1.8 have the fix for the problem? Regards, Gina -----Original Message----- From: freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org [mailto:freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org] On Behalf Of Alan Buxey Sent: Thursday, March 25, 2010 4:42 AM To: FreeRadius users mailing list Subject: Re: Memory Leak on version 2.1.3 Hi,
The server is in production and we won't upgrade for a while.
but you're willing to patch and recompile the old/obsolete 2.1.3 version? whats the difference? its pretty much the same situation. go for 2.1.8. alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Alan, I tried 2.1.8 and it leaks memory exactly like 2.1.3. Any other suggestions? Thanks, Gina -----Original Message----- From: freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org [mailto:freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org] On Behalf Of Alan Buxey Sent: Thursday, March 25, 2010 4:42 AM To: FreeRadius users mailing list Subject: Re: Memory Leak on version 2.1.3 Hi,
The server is in production and we won't upgrade for a while.
but you're willing to patch and recompile the old/obsolete 2.1.3 version? whats the difference? its pretty much the same situation. go for 2.1.8. alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Zhang, Ge (Gina) wrote:
I tried 2.1.8 and it leaks memory exactly like 2.1.3. Any other suggestions?
Are you sure it's a memory leak? The server *is* supposed to use memory for various kinds of caching. See "valgrind" for tracking down memory leaks. Alan DeKok.
Alan, Thanks for your advise. I ran radiusd with valgrind. The only leak when processing a request is in rlm_wimax. After I fixed it, I still see RES memory increases with each request processing. Could you please help with the following questions? 1. Where does the caches happen with the authentication protocol suite set to eap-ttls+mschapv2? 2. How big is the caches or it is unlimited? 3. Is there a timer associating with the cached data? If yes, how long it is and it is configurable? Thanks, Gina Zhang -----Original Message----- From: freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org [mailto:freeradius-users-bounces+gina.zhang=alcatel-lucent.com@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Thursday, March 25, 2010 6:58 PM To: FreeRadius users mailing list Subject: Re: Memory Leak on version 2.1.3 Zhang, Ge (Gina) wrote:
I tried 2.1.8 and it leaks memory exactly like 2.1.3. Any other suggestions?
Are you sure it's a memory leak? The server *is* supposed to use memory for various kinds of caching. See "valgrind" for tracking down memory leaks. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Zhang, Ge (Gina) wrote:
Thanks for your advise. I ran radiusd with valgrind. The only leak when processing a request is in rlm_wimax. After I fixed it, I still see RES memory increases with each request processing. Could you please help with the following questions?
1. Where does the caches happen with the authentication protocol suite set to eap-ttls+mschapv2? 2. How big is the caches or it is unlimited? 3. Is there a timer associating with the cached data? If yes, how long it is and it is configurable?
These are more properly questions for the -devel list. All caches are either automatic, or controlled by configuration variables. Alan DeKok.
participants (5)
-
Alan Buxey -
Alan DeKok -
Gary Gatten -
Matt Harlum -
Zhang, Ge (Gina)