Chris,

I too have a 512MB server with Mosso (Rackspace Cloud), and here is my
setup:
Ubuntu 10.04
Cherokee from launchpad
PHP5
PHP5 FPM

I have another server doing MySQL but let's not concern ourselves with that
detail at this time since MySQL has it's own tuning params that you can use.
A basic Google search will provide the mysql tuning aspects to make it less
of a resource hog (or more depending on your data crunching needs)

Here's an output of top:
Mem:    508272k total,   331584k used,   176688k free,    35968k buffers

What it sounds like to me is that whatever app you are running is using way
more memory than it should be. Thus holding it as part of Cherokee, that's
why you see some crazy memory allocation.

What I would do if I were you is take a careful hard look at what you are
running through Cherokee. I am running a highly optimized API and it's what
powers the API behind http://theeasyapi.com I know this can be done and this
month alone has been used 2,480,302 times.

So take a look at what your application is doing, you could also setup a
sandbox (another 512MB server) and see with Apache or Nginx or something
else if you get the same result.

Good luck,
Chad


On Wed, Apr 20, 2011 at 1:45 PM, Christopher McComas <
[email protected]> wrote:

> I have a 512MB (ve) server with MediaTemple (
> http://mediatemple.net/webhosting/ve/) and I installed Ubuntu 10.10, as
> well as Cherokee, php5, and MySQL.
>
> Via the Cherokee admin I installed WordPress and phpMyAdmin, and logged in
> to my MT control panel and noticed my (ve) was running at 160% of my memory
> allotment. I stopped the cherokee server and my memory usage dropped to 30%,
> killed mysql and it dropped to 8%.
>
> What can I do to optimize in the config of Cherokee to reduce it's memory
> footprint?
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to