Re: ModPerl::RegistryLoader

2011-07-22 Thread Jiří Pavlovský
On 22.7.2011 18:15, Perrin Harkins wrote: However this doesn't work as Apache is segfaulting. That makes it sound like it is working but there's something in your scripts that doesn't like being loaded in the parent process. Are you opening up database handles or files on the first hit and then

+Parent option

2011-07-22 Thread Fred Moyer
Has anyone ever used the +Parent option with their mod_perl based system? http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_ Have been trying to debug an issue where this error was being encountered in JSON::XS based code with two virtual hosts, each with their own +Parent interpre

Re: ModPerl::RegistryLoader

2011-07-22 Thread Keywan Ghadami
Hi Jiri, i am not sure what you are trying to do with ModPerl::RegistryLoader, but what me helped to improve performance was : 1. Preload almost every library on startup: PerlPostConfigRequire /xyz/startup.pl ( - use Apache2::RequestRec(); use Apache2::RequestIO(); use Apache2::RequestU

Re: ModPerl::RegistryLoader

2011-07-22 Thread Perrin Harkins
2011/7/21 Jiří Pavlovský : > I did RTFM, but the man page was not clear to me, so I asked on the list. Asking on the list is encouraged! We just need specific questions > However this doesn't work as Apache is segfaulting. That makes it sound like it is working but there's something in your scr