radius crashes sometimes on arm architecture. Version is: radiusd: FreeRADIUS Version 2.1.10, for host armv5tel-unknown-linux-gnu, built on Nov 20 2011 at 17:41:56
From gdb output: Maybe this is the reason?(around line 550)
#1 0x00034428 in radius_do_cmp (request=0x14b9b98, modreturn=<value optimized out>, depth=<value optimized out>, ptr=<value optimized out>, evaluate_it=Cannot access memory at address 0x630 ) at evaluate.c:528 The complete gdb output is a bit longer and can be found at: http://www.wegener-net.de/freeradius/radius-crash-gdb.txt With best regards, ________________________________ Norbert Wegener Atos IT Solutions and Services AIS MS NC PSU SDC Bruchstraße 5 45883 Gelsenkirchen, Germany Tel.: +49 (209) 94565716 Fax: +49 (201) 8165581284 mailto:norbert.wegener@atos.net Atos IT Solutions and Services GmbH; Geschäftsführung: Winfried Holz, Christian Oecking, Rainer-Christian Koppitz; Vorsitzender des Aufsichtsrats: Charles Dehelly; Sitz der Gesellschaft: München, Deutschland; Registergericht: München, HRB 184933.
Wegener, Norbert wrote:
radius crashes sometimes on arm architecture. ...
From gdb output: Maybe this is the reason?(around line 550)
#1 0x00034428 in radius_do_cmp (request=0x14b9b98, modreturn=<value optimized out>, depth=<value optimized out>, ptr=<value optimized out>, evaluate_it=Cannot access memory at address 0x630 ) at evaluate.c:528
The complete gdb output is a bit longer and can be found at: http://www.wegener-net.de/freeradius/radius-crash-gdb.txt
If I recall correctly, that's been fixed in 2.1.11 && 2.1.12. Alan DeKok.
Thank you, I will give 2.1.12 a try. With best regards, ________________________________ Norbert Wegener Atos IT Solutions and Services AIS MS NC PSU SDC Bruchstraße 5 45883 Gelsenkirchen, Germany Tel.: +49 (209) 94565716 Fax: +49 (201) 8165581284 mailto:norbert.wegener@atos.net Atos IT Solutions and Services GmbH; Geschäftsführung: Winfried Holz, Christian Oecking, Rainer-Christian Koppitz; Vorsitzender des Aufsichtsrats: Charles Dehelly; Sitz der Gesellschaft: München, Deutschland; Registergericht: München, HRB 184933. ________________________________________ Von: freeradius-users-bounces+norbert.wegener=atos.net@lists.freeradius.org [freeradius-users-bounces+norbert.wegener=atos.net@lists.freeradius.org]" im Auftrag von "Alan DeKok [aland@deployingradius.com] Gesendet: Sonntag, 20. November 2011 21:07 Bis: FreeRadius users mailing list Betreff: Re: 2.1.10 crashes on debian/arm Wegener, Norbert wrote:
radius crashes sometimes on arm architecture. ...
From gdb output: Maybe this is the reason?(around line 550)
#1 0x00034428 in radius_do_cmp (request=0x14b9b98, modreturn=<value optimized out>, depth=<value optimized out>, ptr=<value optimized out>, evaluate_it=Cannot access memory at address 0x630 ) at evaluate.c:528
The complete gdb output is a bit longer and can be found at: http://www.wegener-net.de/freeradius/radius-crash-gdb.txt
If I recall correctly, that's been fixed in 2.1.11 && 2.1.12. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Yes, this is around the configuration in a larger production environment. In this case here I wanted to see how much of that load can be put on an embedded system. With best regards, ________________________________ Norbert Wegener Atos IT Solutions and Services AIS MS NC PSU SDC Bruchstraße 5 45883 Gelsenkirchen, Germany Tel.: +49 (209) 94565716 Fax: +49 (201) 8165581284 mailto:norbert.wegener@atos.net Atos IT Solutions and Services GmbH; Geschäftsführung: Winfried Holz, Christian Oecking, Rainer-Christian Koppitz; Vorsitzender des Aufsichtsrats: Charles Dehelly; Sitz der Gesellschaft: München, Deutschland; Registergericht: München, HRB 184933. ________________________________________ Von: freeradius-users-bounces+norbert.wegener=atos.net@lists.freeradius.org [freeradius-users-bounces+norbert.wegener=atos.net@lists.freeradius.org]" im Auftrag von "Phil Mayers [p.mayers@imperial.ac.uk] Gesendet: Sonntag, 20. November 2011 21:14 Bis: freeradius-users@lists.freeradius.org Betreff: Re: 2.1.10 crashes on debian/arm On 11/20/2011 07:53 PM, Wegener, Norbert wrote:
The complete gdb output is a bit longer and can be found at:
A *bit* longer?!? Are you deliberately starting 256 threads? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Mon, Nov 21, 2011 at 3:29 AM, Wegener, Norbert <norbert.wegener@atos.net> wrote:
Yes, this is around the configuration in a larger production environment. In this case here I wanted to see how much of that load can be put on an embedded system.
Not directly related to your problem, but: - freeradius should be very fast when using ONLY files backend. You shouldn't need to start that many threads to achieve max performance (which you can test with the help of radperf/radclient/whatever) - from my experience, when using db backend, you'd get best performance when the number of FR threads is roughly the same as the number of db connections that FR can open. And the best performance a db server can deliver is usually related to the number of CPUs on your db server. So in short, if you want the best performance, you usually won't need that high number of threads. Unless, of course, your backend is on a massive multi-node db cluster :) -- Fajar
participants (4)
-
Alan DeKok -
Fajar A. Nugraha -
Phil Mayers -
Wegener, Norbert