Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

My client just discovered that when he publishes 4-6 events that repeat throughout the year/weekly the website becomes really slow to the point of which the server goes down. He even received an email from the hosting company saying that there was a high percent of CPU usage. They lowered his CPU limit from 20% to 10%. In the email it showed that the public_html was using more than 90%.

How can we fix this?

share|improve this question
    
There is not enough information. What are the events? Just a custom content type or supplied by a specific module? If they are from a module, have you entered an issue in the module's issue queue. Are there any custom modules on the site? –  2pha Jan 11 '13 at 4:40
    
It is just using the Date API and Calendar module. A content type called event which uses the Date API and Date Repeat API/Field. –  Migdesigns Jan 16 '13 at 22:02
    
What have you done to debug this yourself? Have you taken a look at the SQL query that is run on the calendar view? –  2pha Jan 17 '13 at 8:53
    
Also details about the hosting itself might help as well - it sounds as if it is a shared host, meaning the available resources are pretty low. –  Topsitemakers Oct 25 '13 at 16:53
    
Use of a tool like New Relic to aggregate performance data would be optimal. I'd also suggest moving off of shared hosting to either a service that specializes in Drupal hosting or a VPS with guaranteed resources. –  jonpeck Oct 25 '13 at 23:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.