On Apr 21, 3:54 am, Ben Welsh <[email protected]> wrote:
> Hello,
>
> I'm interested in trying to improve the performance of my memcached
> system -- but not sure where to turn for guidance on best practices.
> Are there any resources the list would recommend?
>
> I'm managing a sitewide cache for a Postgres-Django-mod_python-Apache
> site roughly along the lines of what's described here.
>
> http://docs.djangoproject.com/en/1.0/topics/cache/
>
> Recently I've been bumping up again the numfiles limit on my rig and
> am now embarking on a mission to find solutions that might reduce the
> problem. Any advice appreciated, as always.
This sort of problem can be related to what Apache MPM you are using.
So, are you using Apache prefork MPM or worker MPM? What are the MPM
settings being used in respect of the MPM you are using?
If your application is multithread safe, you may want to consider
using mod_wsgi in daemon mode instead as then you get more precise
control over number of processes/threads being used independent of
main Apach MPM settings, and can restrict them to a smaller number.
Graham