On 06/27/2017 02:21 AM, Neil Gunton wrote: > Ok, but I'm wondering if there is something else I should be doing to > execute the actual preload. It seems that all I do here is give Embperl > an array, but when I enable the preload, it just goes through everything > suspiciously quickly. I don't think it's actually executing anything at > preload time, though I could be wrong. I'm thinking there's something > else I need to do to tell Embperl "ok, now actually load all those > files"...
I don't know what you are digging for here. Nor am I sure I know why you are using preload. You can execute something when Apache starts up, and then everything is inherited by each process, or you can load it after it starts when each child is forked, or you can start something when a child requests something. If you do it at the root with preload then it is shared by everything. Your example just uses parameters that define basic behaviors of embperl that otherwise are in the httpd.conf file. Once loaded into memory those pages don't need to be refetched and have a shared static footprint. https://perl.apache.org/embperl/de/pod/doc/Config.-page-1-.htm You started by asking if embperl is thread safe. Now what are you asking? -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org For additional commands, e-mail: embperl-h...@perl.apache.org