1

I have an heavy problem on my Civicrm instance 5.36 on Wordpress 5.7.1 working in the backend, the time to open a dashobard is more the 20 seconds and every pages have similar time. By example: main empty dashboard take 22,9061s to open, but the query took only 0,3610s (the system cache 95,9% of hit: 6.246 hit, 269 miss). Civicrm is hosted and from cpanel there is no issue: CPU, Memory are used less than 30% Is there a way to analyze the problem?

1

Assuming you mean shared hosting, it's going to be difficult to analyze, mainly because you have no way of seeing the disk I/O or the database contention.

In my experience, this happens because WordPress because WordPress is bootstrapped with every CiviCRM API request, and some plugins (BuddyPress comes to mind, as does one of the multilingual plugins, I forget which) introduce a significant slowdown.

If you know how to set up a local test site, it would be good to get a baseline - is the problem server-bound, or site-bound? You can also use that to disable all your WP plugins and see how much difference that makes in timing. It's probably down to one or two plugins.

4
  • Thank you for the hints, you are right I'm in hosting and isn't easy to analized the system performance. I disabled all the plugins and the system response is less slower, but alway more than 12s to open a page or update a record. Could it depend on theme?
    – pk825
    Oct 1 at 13:04
  • Theme also matters, yes. But ultimately - CiviCRM isn't great with shared hosting, it takes more resources than a typical WordPress site. There are some shared hosts that specialize in CiviCRM, but my guess is that if you moved to a $10/month VPS you'd see a huge difference in performance (though at the cost of having to keep the server up-to-date) Oct 1 at 15:59
  • It seems the only solution and the problem is not the cost, but the maintenance of the VPS: it's time consuming and not so easy :(
    – pk825
    Oct 1 at 19:03
  • I suppose so. Ironically maintaining 20 servers IS quick and easy, but maintaining one is neither. Oct 1 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.