Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: mod_perl children process

by LanX (Saint)
on Oct 07, 2017 at 00:39 UTC ( [id://1200871]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1200871]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-24 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found