On 06-ago-09, at 10:06, Matt Austin wrote:

> I'm just wondering how I can optimise Cherokee's memory usage?

There is a number of ways to optimize it, actually. I'd begin by:

- Turn off I/O cache: In cherokee-admin: Advanced -> I/O cache -> Status
- Do not reuse connections: Advanced -> Resources -> Reuse  
connections, set it to 1.
- Do not buffer logs: Advanced -> Resources -> Log flush time, set it  
to 1.
- Turn off the information collector: General -> Graphs Type, disable  
it.

Besides those, I'd check the number of FastCGI processes  
(PHP_FCGI_CHILDREN, for instance).

> I'd love to use Cherokee, so any advice on how I can tweak Cherokee or
> configure my sites more efficiently would be very welcome. But maybe
> at the end of the day I need to save up and just buy a Linode with
> more RAM?

Even though 360Mb isn't much for all the stuff you are running at the  
same time, I don't think more RAM will be necessary. The few  
configuration changes I pointed ought to reduce drastically the web  
server memory usage. Let's see how it goes after the tweaking.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to