[Catalyst] memory usage of mod_perl process
Fernan Aguero
fernan at iib.unsam.edu.ar
Thu Feb 8 16:45:55 GMT 2007
+----[ Bill Moseley <moseley at hank.org> (08.Feb.2007 12:16):
|
| On Thu, Feb 08, 2007 at 11:56:09AM +0000, Fayland Lam wrote:
| > hi, all
| >
| > we are using mod_perl to run our Catalyst App with DBIx::Class and Template.
| >
| > but the memory usage of each process seems to be 95 m. it's pretty high!
| > we have more 60+ pms.
|
| Are pms number of entries in %INC?
I think this is the number of .pm modules under your application's
own lib/. Or at least this is how I interpreted it.
| I have 464 entries in %INC, but that's hardly a good measurement
| considering how small some of the plugins are.
yes, not the best way to measure it, agreed.
Fernan
| Top shows:
|
| PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
| 26074 www-data 15 0 72188 51m 6184 S 3.3 5.1 0:07.60 apache2
| > I want to ask you guys how many memory usage for your Catalyst App? and
| > is FastCGI any better? which one do you pick for Catalyst? mod_perl,
| > FastCGI and anything else?
|
| A lot of people seem to like FastCGI. I started out using a FastCGI
| setup but restarts were taking a long time (seemed every FastCGI
| process had to compile the application). I moved to mod_perl and
| much happier now.
|
+----]
More information about the Catalyst
mailing list