Embperl and threaded mpm?

2017-06-25 Thread Neil Gunton
Hi all, just wondering if Embperl was ever made threadsafe so it could work under Apache's event or worker apache mpm's. The prefork does seem to limit somewhat the number of clients I can have on my server, presumably due to the memory footprint (no shared code between processes?). It's bee

AW: Embperl and threaded mpm?

2017-06-25 Thread richter
Hi Neil, Embperl is not working with threaded mpm. Preloading all your perl code saves a lot of memory due to code sharing. The main issue is, that you have to make sure, not to open any file or database connection or similar in the preload code, because that will be shared too, which does not