CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Apache Worker MPM
Pages: [1]

Author Topic: Apache Worker MPM  (Read 1295 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Apache Worker MPM
March 11, 2010, 03:23:29 pm
Hi,

I'm planning to explore improving our website performance by using the Apache Worker MPM. (This post is not Joomla related, but my install is on Joomla)

I understand I have to use PHP CGI rather than than the Apache PHP module.

Before I go too far down this track, is anyone using apache2-mpm-worker with CiviCRM? Any issues or tips you can share?

Thanks,
Ken

AkronAA

  • I’m new here
  • *
  • Posts: 18
  • Karma: 1
Re: Apache Worker MPM
March 13, 2010, 02:42:12 pm
Hi Ken,

We tried pre-fork, worker, and itk.  In the end, we used mpm-itk because it allowed us far more stability control and still gave the performance we needed.  We found that under suexec we had the potential to use all available ram and begin swapping under a nominal load.  This did not happen when we switched to mpm-itk and configured apache2 properly (max clients, etc.).  If you want to try mpm-itk, I'd be able to help with the configuration.  OR, if you really want to have some FUN, try nginx and spawn-fcgi. 

At least under my Debian install on my VPS, we could never get control of the php-cgi processes.  They'd stay alive far too long, especially when testing a load.  MPM-itk, on the other hand, never ate up all available ram after configuring the apache2.conf file.

Steve

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Apache Worker MPM

This forum was archived on 2017-11-26.