Hello my code friends

Iīve finally made FCGI (and also CGI::Fast) work at my shared account. But just canīt figure out how to handle it, I mean, how do I restart the processes when I update the script code? How do I know the number of the process??

My main goal with FCGI is to save precious CPU minutes, as the traffic is increasing a lot (and my host will kick me out if I get too heavy-processing, as they just dont have dedicated servers available). You guys know if the CPU savings are worth adapting the code? I mean, can I expect to use, like, 30% less CPU?

Also, Iīve heard there is 'static' and other kinds of configs, and Iīm not sure of what they are, and how to change and fine tune them, in order I donīt end up increasing my CPU usage(!!!).

I wait for your help then!

Thanks a lot

Andre

PS: by the way, my host doesnīt support mod_perl.


In reply to FCGI process handling and fine-tunning for saving CPU by Andre_br

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.