See % man mallopt for ENV tunables on Linux. On the surface, glibc malloc should work as well as Solaris libc malloc re threading, but I don't have the patience to track it down since I don't run Linux in my shop.
On Tue, Aug 16, 2022 at 3:50 PM <j...@sunstarsys.com> wrote: > We've been plagued by endless Segmentation Faults on non-Solaris systems, > where the backtrace indicated the problem was in mod_perl -> Perl Code -> > malloc (at the top of the frame). For a while I thought p5p fixed this in > 5.30+ releases, but since nobody confirmed that suspicion I think the > problem is more on the OS/Platform level. > > -----Original Message----- > From: Edward J. Sabol <edwardjsa...@gmail.com> > Sent: Tuesday, August 16, 2022 2:27 PM > To: mod_perl list <modperl@perl.apache.org> > Subject: Re: Experience running mod_perl2 with mpm_event on Solaris 11 > > On Aug 16, 2022, at 12:27 PM, j...@sunstarsys.com wrote: > > To the best of my knowledge, the underlying problem with > mod_perl+ithread is that it requires a reentrant malloc in libc. > > That's it? This is the first I'm learning this. Is there an option to > compile Perl and mod_perl with a reentrant malloc on Linux? > > Thanks, > Ed > -- Joe Schaefer, Ph.D. <j...@sunstarsys.com> 954.253.3732 <//954.253.3732>