Re: Experience running mod_perl2 with mpm_event on Solaris 11
"Edward J. Sabol" <[email protected]> Fri, 19 Aug 2022 21:25:47 -0400
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
Very interesting, Joe! Thank you for sharing your insights into this and experience with it. Here’s hoping someone can solve/fix the problem with mod_perl threads on Linux. Regards, Ed On Aug 19, 2022, at 1:44 PM, [email protected] wrote: > The problem is really confined to embedded uses of ithreads, because Perl itself will mutex-wrap the malloc calls. In httpd, so do all apr_pool_t calls to malloc. It's when the two memory management techniques are interacting that there is no application-level way to guard against thread contention in libc's malloc. > > Mod_perl+ithreads are awesome, when used intelligently. You gain intelligence from experience trying to use it in a lot of ways that suck, until you hit one the path that yields success.