Re: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Alan Buxey
-X runs as a single thread Is your perl multi-threaded? Does your PERL code deal with threads? alan -- This smartphone uses free WiFi around the world with eduroam, now that's what I call smart. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

SV: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Alexander Silveröhrt
[mailto:a.l.m.bu...@lboro.ac.uk] Skickat: den 28 november 2012 09:07 Till: Alexander Silveröhrt; freeradius-users@lists.freeradius.org Ämne: Re: Freeradius several segfaults at heavy load and startup ? -X runs as a single thread Is your perl multi-threaded? Does your PERL code deal with threads

Re: SV: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread alan buxey
Hi, And thanks for the reply. If you mean that my customhooks perl scripts for rlm_perl deals with any threads then no. do you deal with all file handlers, database handlers etc in your code cleanly... or do you just ditch them? the PERL module will be called at the same time by many

Re: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Phil Mayers
On 11/28/2012 04:28 AM, Alexander Silveröhrt wrote: Hello, Wondered if anyone have any idea about below. If started with flag –X everything starts up ok but without –X then it crashes with these messages in the log.(atleast most of the time if one is persistent then it may well start up

Re: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Johan Meiring
On 2012/11/28 11:50 AM, Phil Mayers wrote: root@itop0-db0:/scripts# LD_PRELOAD=/usr/lib/libperl.so.5.10 Why are you fiddling with LD_PRELOAD? On my debian boxes FR cannot run without preload. There is something on the mailing list about it a while back. -- Johan Meiring Cape PC

Re: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Phil Mayers
On 28/11/12 10:52, Johan Meiring wrote: On 2012/11/28 11:50 AM, Phil Mayers wrote: root@itop0-db0:/scripts# LD_PRELOAD=/usr/lib/libperl.so.5.10 Why are you fiddling with LD_PRELOAD? On my debian boxes FR cannot run without preload. Yuck. It's probably some libtool horror in 2.x. It

Re: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Alan DeKok
Alexander Silveröhrt wrote: Wondered if anyone have any idea about below. If started with flag –X everything starts up ok but without –X then it crashes with these messages in the log. Older versions of rlm_perl didn't lock enough of the data structures. So it could have threading issues.

SV: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Alexander Silveröhrt
2012 11:52 Till: freeradius-users@lists.freeradius.org Ämne: Re: Freeradius several segfaults at heavy load and startup ? On 2012/11/28 11:50 AM, Phil Mayers wrote: root@itop0-db0:/scripts# LD_PRELOAD=/usr/lib/libperl.so.5.10 Why are you fiddling with LD_PRELOAD? On my debian boxes FR cannot

Re: SV: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Matthew Newton
-Ursprungligt meddelande- On my debian boxes FR cannot run without preload. On Wed, Nov 28, 2012 at 03:57:34PM +, Alexander Silveröhrt wrote: Same here doesn't even start without LD_PRELOAD. What versions of Debian and FreeRADIUS are these reports referring to? Are you using FR

SV: SV: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Alexander Silveröhrt
meddelande- Från: alan buxey [mailto:a.l.m.bu...@lboro.ac.uk] Skickat: den 28 november 2012 10:46 Till: Alexander Silveröhrt Kopia: freeradius-users@lists.freeradius.org Ämne: Re: SV: Freeradius several segfaults at heavy load and startup ? Hi, And thanks for the reply. If you mean that my

SV: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Alexander Silveröhrt
] För Phil Mayers Skickat: den 28 november 2012 10:50 Till: freeradius-users@lists.freeradius.org Ämne: Re: Freeradius several segfaults at heavy load and startup ? On 11/28/2012 04:28 AM, Alexander Silveröhrt wrote: Hello, Wondered if anyone have any idea about below. If started with flag -X

Re: SV: Freeradius several segfaults at heavy load and startup ?

2012-11-28 Thread Iliya Peregoudov
Alexander Silveröhrt wrote: And again if not started with LD_PRELOAD then DBI will fail root@itop1-db1:~# freeradius Can't load '/usr/local/lib/perl/5.10.1/auto/DBI/DBI.so' for module DBI: /usr/local/lib/perl/5.10.1/auto/DBI/DBI.so: undefined symbol: PL_memory_wrap at

Freeradius several segfaults at heavy load and startup ?

2012-11-27 Thread Alexander Silveröhrt
Hello, Wondered if anyone have any idea about below. If started with flag -X everything starts up ok but without -X then it crashes with these messages in the log.(atleast most of the time if one is persistent then it may well start up properly sometimes without the -X flag) As soon as it