When your apache is started it will initially fork a number of children to handle requests (the number is determined by the StartServers configuration directive). Each one of these apache processes will be pretty much the same size and will have the mod_perl loaded, the size of a process that has actually handled a mod_perl request may increase significantly if the perl program loads some modules or has a lot of package data. These processes may then go on and handle static content. So yes initially the size of the processes is always the same but may increase depending on what they do. If you are concerned about the processes that have handled a mod_perl request growing large then you can use the  MaxRequestsPerChild configuration to limit the number of requests a process will handle before it gets reaped and possibly replaced by a new child (see also the MinSPareServers and MaxSpareServers in relation to the behaviour). Of course an Apache which has FastCGI compiled in will behave in exactly the same way except perhaps the memory usage may be different depending on the size of the module.

/J\


In reply to Re^2: mod_perl without separate config for static HTML? by gellyfish
in thread mod_perl without separate config for static HTML? by gunzip

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.