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 »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Enabling CiviCRM seems to kill my WordPress performance
Pages: [1]

Author Topic: Enabling CiviCRM seems to kill my WordPress performance  (Read 2089 times)

vogelap

  • I’m new here
  • *
  • Posts: 6
  • Karma: 1
  • Runs with knives.
    • DrewVogel.COM
  • CiviCRM version: 4.4.5
  • CMS version: WordPress 3.9.1
  • MySQL version: 5.5.37-0ubuntu0.12.04.1
  • PHP version: 5.3.10-1ubuntu3.12
Enabling CiviCRM seems to kill my WordPress performance
July 01, 2014, 12:27:37 pm
I've got CiviCRM 4.4.5 and WordPress 3.9.1. When I activate the CiviCRM plugin and after selecting WP Admin-->Tools-->Install CiviCRM, it bogs down until my server is basically non-responsive.

Is there something I am doing wrong? Please advise! Thanks.
-drew
www.drewvogel.com

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Enabling CiviCRM seems to kill my WordPress performance
July 02, 2014, 05:49:22 am
CiviCRM is a lot more demanding of server resources than most Wordpress extensions. CiviCRM is free software but it's not built to run on $5/month hosting.

There is some good info on selecting a host at http://book.civicrm.org/user/current/getting-prepared/hosting/

And various hosting platforms listed at https://civicrm.org/providers/hosting

Good luck!


@xurizaemon ● www.fuzion.co.nz

vogelap

  • I’m new here
  • *
  • Posts: 6
  • Karma: 1
  • Runs with knives.
    • DrewVogel.COM
  • CiviCRM version: 4.4.5
  • CMS version: WordPress 3.9.1
  • MySQL version: 5.5.37-0ubuntu0.12.04.1
  • PHP version: 5.3.10-1ubuntu3.12
Re: Enabling CiviCRM seems to kill my WordPress performance
July 02, 2014, 06:53:47 am
Thanks for the reply.

I am using a dedicated server machine that runs my WordPress website (single instance) and CiviCRM. For testing purposes, I've also installed SugarCRM CE and it does not slow down the machine. I am the only CRM user on the machine; possibly adding one more CRM user later. I would strongly prefer to use CiviCRM as it is more-closely aligned with my needs.

Without CiviCRM running, I am getting great performance on the machine. When CiviCRM is activated, it slows to an unacceptable crawl.
« Last Edit: July 02, 2014, 07:31:54 am by vogelap »
-drew
www.drewvogel.com

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Enabling CiviCRM seems to kill my WordPress performance
July 02, 2014, 08:20:32 am
If you are on a dedicated machine, it's most probably a configuration problem.

Do you see any error message?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

vogelap

  • I’m new here
  • *
  • Posts: 6
  • Karma: 1
  • Runs with knives.
    • DrewVogel.COM
  • CiviCRM version: 4.4.5
  • CMS version: WordPress 3.9.1
  • MySQL version: 5.5.37-0ubuntu0.12.04.1
  • PHP version: 5.3.10-1ubuntu3.12
Re: Enabling CiviCRM seems to kill my WordPress performance
July 02, 2014, 12:38:58 pm
Thanks for the reply. No on-screen error messages. Just really slow performance. Where else can I check?

P.S. I just updated my system profile. It's current now.
« Last Edit: July 02, 2014, 12:59:02 pm by vogelap »
-drew
www.drewvogel.com

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Enabling CiviCRM seems to kill my WordPress performance
July 03, 2014, 01:24:36 am
What I'd do if I had ten minutes to find the problem ...

- Tail all the logs. Webserver logs, PHP logs (may be combined or separate), system logs, CiviCRM's log (IDK where this lives in Wordpress but it'll have a name like CiviCRM.AABBCCDD112233445566.log), MySQL logs (hopefully little or no output here, MySQL logging kills performance). Look for any noise or clues.

- Install htop, mytop, mysqltuner

- Run mysqltuner, see if there is any obvious MySQL misconfiguration.

- Run htop and mytop (separate terminals) and do whatever it takes to make the site slow. Watch what lights up.

- Watch out the browser's network panel and make sure you aren't waiting on slow DNS or requests being bounced around.
@xurizaemon ● www.fuzion.co.nz

vogelap

  • I’m new here
  • *
  • Posts: 6
  • Karma: 1
  • Runs with knives.
    • DrewVogel.COM
  • CiviCRM version: 4.4.5
  • CMS version: WordPress 3.9.1
  • MySQL version: 5.5.37-0ubuntu0.12.04.1
  • PHP version: 5.3.10-1ubuntu3.12
Re: Enabling CiviCRM seems to kill my WordPress performance
July 03, 2014, 05:54:08 am
Quote from: Chris Burgess on July 03, 2014, 01:24:36 am
What I'd do if I had ten minutes to find the problem ...

- Tail all the logs. Webserver logs, PHP logs (may be combined or separate), system logs, CiviCRM's log (IDK where this lives in Wordpress but it'll have a name like CiviCRM.AABBCCDD112233445566.log), MySQL logs (hopefully little or no output here, MySQL logging kills performance). Look for any noise or clues.

- Install htop, mytop, mysqltuner

- Run mysqltuner, see if there is any obvious MySQL misconfiguration.

- Run htop and mytop (separate terminals) and do whatever it takes to make the site slow. Watch what lights up.

- Watch out the browser's network panel and make sure you aren't waiting on slow DNS or requests being bounced around.
Thank you for that, Chris! I will do all of those and hope it leads to a solution -- or at least identifies more clearly the problem.
-drew
www.drewvogel.com

vogelap

  • I’m new here
  • *
  • Posts: 6
  • Karma: 1
  • Runs with knives.
    • DrewVogel.COM
  • CiviCRM version: 4.4.5
  • CMS version: WordPress 3.9.1
  • MySQL version: 5.5.37-0ubuntu0.12.04.1
  • PHP version: 5.3.10-1ubuntu3.12
Re: Enabling CiviCRM seems to kill my WordPress performance
July 03, 2014, 07:24:46 am
By the way, I am not able to locate CiviCRM log files in WordPress... I thought they'd be in /var/www/site/wp-content/plugins/files/civicrm/upload, but not there...

Can anyone tell me where the CiviCRM log files exist with WordPress CMS? The online documentation mentions locations for Joomla and Drupal but not WP...

Thanks!
-drew
www.drewvogel.com

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Enabling CiviCRM seems to kill my WordPress performance
July 03, 2014, 09:50:36 pm
Code: [Select]
find . -name 'CiviCRM*log'
@xurizaemon ● www.fuzion.co.nz

krypto

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 5
  • IT guy for @bhahumanists. Running Civi on WP.
    • British Humanist Association
  • CiviCRM version: 4.5.8
  • CMS version: WordPress 4.x
  • MySQL version: 5.5.x
  • PHP version: 5.5.x
Re: Enabling CiviCRM seems to kill my WordPress performance
July 07, 2014, 06:14:37 am
Are you seeing all the images ok? I've seen very slow performance where it's timing out looking for files. You could check the paths in System Settings -> Directories and Resource URLs.

WP log file for me is in /files/civicrm/ConfigAndLog

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Enabling CiviCRM seems to kill my WordPress performance
November 24, 2014, 11:54:49 am
This will help make sure all the paths are correct.  Compare:

http://wiki.civicrm.org/confluence/display/CRMDOC/Migrating+from+Drupal+to+WordPress
Try CiviTeacher: the online video tutorial CiviCRM learning library.

trbryant

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.2.7
  • CMS version: 3.5.1
  • MySQL version: 5.0
  • PHP version: 5.0
Re: Enabling CiviCRM seems to kill my WordPress performance
March 23, 2015, 05:33:44 am
Was this ever resolved.  I too have started on a hosting platform and then migrated to a dedicated server that I own and still experience slowness on Wordpress.   Who has achieved good performance using CiviCRM and what parameters should be set in order to achieve the best performance?

Thanks
Todd

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Enabling CiviCRM seems to kill my WordPress performance
March 23, 2015, 05:36:49 am
It is unfortunately not a simple matter of setting a few parameters. Server optimization is a science unto itself. Every OS and every distro is different and every server configuration itself is different. It's thus not possible to give parameters that work best for everyone.

CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Enabling CiviCRM seems to kill my WordPress performance
March 23, 2015, 01:20:50 pm
@trbryant please see my comment 5 above "What I'd do if I had ten minutes to find the problem"
@xurizaemon ● www.fuzion.co.nz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Enabling CiviCRM seems to kill my WordPress performance

This forum was archived on 2017-11-26.