[Catalyst] Catalyst for (really) big applications
Perrin Harkins
perrin at elem.com
Mon May 22 16:13:12 CEST 2006
On Mon, 2006-05-22 at 16:02 +0200, Marcello Romani wrote:
> In my original post, I talked about a Catalyst app that I deplyoed, that
> consumed about 200 MB when loaded under Apache, and some people said
> that this was a very high value.
I thought you were saying that each thread took 200MB. If you mean that
the whole thing takes 200MB, that's not a big deal at all. You normally
raise the number of threads so that most of your memory is being used,
but you won't go into swap.
> ThreadsPerChild 250
>
> is the default Apache2 configuration.
Yes, and you should change it, or more likely you should set the max
interpreters to something more reasonable. It's not likely that you
have enough RAM on that machine to run 250 Perl interpreters without
swapping.
- Perrin
More information about the Catalyst
mailing list