Have you also looked at your apache config?, configuring the prefork/
worker settings?
Those also have a big impact on how much memory each process takes.

Running cake with 8gb ram and have between 350.000 and 450.000
pageviews/day and it's an db intensive site.
So you should be just fine if you optimize here and there.

Are you running any opcode cachers?, turn on gzip? tune apache(only
load what you need), if it still not enough, use xdebug to find out
where you can optimize.


On Sep 8, 6:24 am, Keve Kutner <[email protected]> wrote:
> Around 800.000 hits / day here with 7GB. Try to look into your queries,
> maybe you need to use containable.
>
> On Sep 8, 2010 2:03 AM, "ioustinos" <[email protected]> wrote:
>
> Hi there,
> We are using the CakePhp framework for a website we have built.
> A few days ago, at an expected peak of concurrent traffic our server
> with 8GB of RAM crashed due to insufficient RAM resources!!
> While trying to see what caused this problem, we found out that each
> page load uses up to 20mb of ram without taking into account mysql's
> ram usage.
>
> I find those 20MB of RAM way too high for php files, and i would not
> expect a widely used framwork to perform in that manner, so i guess we
> have done something wrong.
>
> Can anybody guide me to find out what i am doing wrong?? If i am doing
> something wrong...
>
> Thank you very much!
>
> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
> more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to