Re: huge apache+mod_perl processes
On 29 Sep 2010, at 20:17, Eugene Toropov wrote: > Greetings, > > We have a problem with huge Apache+mod_perl2 processes of 150-200 Mb in size. > After apache restart they are usually 40-50 Mb in size, then in a minute grow > up to 100-150 Mb and then some time later may grow up to 200 Mb. I suspect a > certain type of http queries and would like to know if there are any > manuals/howtos/tools to investiagate such cases. > Yes. http://perl.apache.org/docs/1.0/guide/performance.html Still good for 2.0. smime.p7s Description: S/MIME cryptographic signature
Re: huge apache+mod_perl processes
Eugene Toropov wrote: Greetings, We have a problem with huge Apache+mod_perl2 processes of 150-200 Mb in size. After apache restart they are usually 40-50 Mb in size, then in a minute grow up to 100-150 Mb and then some time later may grow up to 200 Mb. One basic characteristic of Perl's memory management is that, once it has acquired a certain amount of memory from the OS under which it runs, it never gives it back to the OS. For stand-alone perl scripts, this rarely matters, as when the script terminates, the perl interpreter process also terminates, and the memory it used is then returned to the OS. But under apache/mod_perl, the same perl interpreter stays alive as long as the apache process (e.g., an apache child process) in which it runs is alive. So over time, if your perl scripts/modules are not a bit careful, the amount of memory used can grow and grow. Inside of perl itself, the memory used by scripts and modules is normally reclaimed and recycled. But perl's "garbage collector" can only recycle the memory used by a variable if there are no more references to that variable.
Re: Pittsburgh Perl Workshop
On Thu, Sep 30, 2010 at 1:01 AM, Fred Moyer wrote: > Anyone going to PPW? I'm not going to make it. Too much going on at work with the US election coming up at the end of the month. > Am interesting in seeing this, but might not be able to make it: > > http://pghpw.org/ppw2010/talk/3008 Hmm, that makes me wonder if there's a way to make Plack migration simpler. Maybe fake some of the most commonly used mod_perl API features on top of it, so that code continues to run? Not sure it's worth it though. In most cases, the changes would be pretty easy. - Perrin
Re: Pittsburgh Perl Workshop
hi On Thu, Sep 30, 2010 at 1:01 AM, Fred Moyer wrote: > Anyone going to PPW? guilty > Am interesting in seeing this, but might not be able to make it: > http://pghpw.org/ppw2010/talk/3008 yeah, i'm planning on attending this talk. i don't know alot about PPW, but i'd hope the talks and materials are made freely available somewhere. i can follow up post conference if you want ... -- \js
Poll - do you use Apache::Test custom configuration?
To simplify the Apache::Test codebase, the custom configuration feature is being considered for removal. Is anyone here using that feature? If you don't know what it is, you aren't using it.