1

Planning is like that:-

We are going to manage multisites & each site having 3 cron jobs daily basis.

so my question is how can I analyze server performance there for multisites ?

Current scenario :

10 sites having 3 cron jobs in each 10 minutes & each cron is updating contents in each sites(Number of updating contents maximum 3000 in each site with each cron job) but as I am seeing here cpu utilization & mysql is 100% occupied by first 5 sites.

I don't know resource is enough or not ?

Is this related to resource OR how can I improve performance there with cron jobs?

Right now I am using Elysia cron with each site.

Thanks in advance!

0

To analyze the performance of each multisite you will need to coorelate web server logs with performance logs or use an APM service like Newrelic where you can watch PHP at a very granular level as the cron jobs run.

Unfortunately, there is no easy fix for your problem. Multisites can only be used when the sites are not complex or demand a lot of processing. I believe you have a decision to make.

  1. Keep using the multisite function of Drupal and deal with the performance issues you have in complicated and creative ways. Create ways would be using multiple servers and databases to offload the cron jobs to so it does not impact the websites.

OR

  1. Break the sites up into different Drupal installations and use a code repository to manage the multiple sites.

You should read the articles written by Pantheon on Multisites. They had the same problem as you and realized the problems (performance) with multisites and devised another way to run complex multisites.

| improve this answer | |

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.