If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Nov 2009
    Member #

    I'm not a server guy but I have a question about the hardware we're running. I'm running Drupal 6.10 on a Linux 5.4, Apache/2.0.63, MySQL 5.0.77 and PHP 5.2.9. Our site gets 500,000 pageviews a month, around 7k vistors a day on peak days. We're running a intel quad-core xeon 3400 GHz with 4 gigs of RAM. I think that is pretty good for our traffic.

    My problem is our webserver is running at 100% cpu CONSTANTLY during peak hours. Some php processes are spiking at 30% cpu usage. I need to be see what exact page is causing those CPU spikes cause maybe there's some rogue bad PHP code that uses a lot of CPU in a node or elsewhere. How do I do that?

    Stuff already done.

    1) Turned on caching
    2) Turned off every module possible and still keep the site functioning as intended.
    3) Moved database to a separate server.

    Almost every problem I read about is memory related, and if there are CPU issues its usually the database, but our database is nice and happy on its own server, not stressing at all.


  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Boston, MA
    Member #
    205 times
    Sounds like you found Drupal's limits. Your options:

    1. Upgrade to a Dual Quad-Core Xeon,
    2. Do a search on how to load-balance or cloud-host a Drupal site, or
    3. Switch to a platform that can support your traffic on a normal server.

    Any hack you do to sustain your current installation will only be a temporary fix.

  4. #3
    Junior Member
    Join Date
    Nov 2009
    Member #

    - Install CAPTCHA and and Riddler modules.
    - Install ImageCache module.
    - Increase PHP memory to 64 or more (via htaccess preferably)
    - Enable "Throttle" for unnecessary modules.

    That would help.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search tags for this page

drupal forum and cpu


drupal killing server

Click on a term to search for related topics.
All times are GMT -6. The time now is 02:41 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: