By dorien on
Hello,
I have multiple domains set up on my server. Most of them do not have too much traffic.
Ever since installing a few basic (no extra modules) Drupal 7 sites, I get tons or error messages saying: Unable to allocate memory for pool
My host tells my I have run out of APC memory and cannot upgrade it, he says it is because I have too many sites (about 5-10).
My question: is it really the amount of sites? Of just the number of hits? Or how many modules are installed?
Any tips on how to proceed?
Thanks!
Comments
Multisite?
Are these separate installs (from Apache's point of view) or Drupal multisite?
This raises an interesting question, and I don't actually know the answer: In a multisite scenario, is a given PHP file cached only once?
It is not a multisite, the
It is not a multisite, the different sites do not share the same codebase.
You might consider a
You might consider a multi-site install - since then apc can reuse the cached files between the various sites. Otherwise I believe APC is caching a version of each drupal core file for each directory. Can you see your stats (usually a script called apc.php)? They should give you a clearer picture of what APC has been up to.
Also here's a great post on optimizing APC for drupal: http://xerosphere.net/optimizing-apc-for-drupal
- - turpana.com - -