in reply to mod_perl children process

Well it's not recompiled every time, but probably your Apache is operating with multiple sub processes handling the requests.

And each such process must have its own mod-Perl version of your cgi.

I'd expect that the max number of such processes is a matter of configuration.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^2: mod_perl children process
by LorCo (Initiate) on Oct 07, 2017 at 06:40 UTC
    Thank you. Any experienced people can help? Why Apache recompile script every time?
        Thank you.

        Why the preforked process died after couple seconds?
        On my home windows PC its stay in memory and any next requests show the same pid( there no prefork module ).

        Why in CentOS Apache start new process instead use already compiled script?

        Is it normal behavior? I'm been pretty sure in last 15 years mod_perl have to compile script one time.

        Now, I'm so confused ...
      Every child gets its own copy as designed . there is no problems to solve