The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

1 Website slows to a crawl once an hour...

Discussion in 'General Discussion' started by rabidkevin, Jan 13, 2006.

  1. rabidkevin

    rabidkevin Member

    Joined:
    May 14, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    This is really freakin me out I can not figure out what is causing it...

    I have about 50 websites on my box, and from what I can tell, it is only this one website that experiences hourly slow downs. Around the :15 to :30 mark of the hour the website will take nearly 45 seconds to refresh a single page. This lasts for about 3-4 minutes, and then it starts responding quickly again. It does not matter what type of page I am opening off of this website (php/html/txt) they all behave the same during this period of time. This is my most heavy traffic site on the server. I visit 3-4 other sites hosted on the same box, and it NEVER experiences this when it's occuring on the problematic site..

    Here is some info about setup ...

    CentOS 4.3 + WHM 10.8.0

    I had accidentally enabled "Modify Apache Memory Usage". I edited httpd.conf and removed the Rlimit lines. I do notice that my memory is still limited to only using 256MB out of 1GB all the time. I am not sure if this would effect it or not.

    Backups are currently Disabled
    Don't notice any Chron jobs running on an hourly process
    This is the only website on my box with it's own IP address, all the rest are using a shared IP.
    During the time of major lag on this 1 website, my System resources are extremely low.
    Less than 4% CPU useage and still 700 MB of ram free.

    If anyone could give some more help in discovering this hourly lag, I would appreciate it.
     
  2. rabidkevin

    rabidkevin Member

    Joined:
    May 14, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    someone anyone have input on what i can try......... ??
     
  3. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    Check your cornd, optimize apache, php, mysql, check if logs are being rotated, check logs size, etc etc...

    Check for suspicious processes and files...
     
  4. zinehost

    zinehost Member

    Joined:
    Jan 13, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    is website using any php / perl / cgi scripts ?maybe problem is this scripts, check it. or terminate account and create again ?
     
  5. rabidkevin

    rabidkevin Member

    Joined:
    May 14, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I am running vbulletin on the site and some custom php code

    I checked the vb cron jobs and didnt see anything that would really tax the server

    like I said during the very slow time, max cpu useage is 4% and usually around .5 - 1.5%
    Loading another site on the box during this same time is very fast, and never experiences this.

    I guess I will try to delete the account and re-create it, but I would rather not.. as it hosts over 35 GB of data and 500MB of mysql data
     
    #5 rabidkevin, Jan 13, 2006
    Last edited: Jan 13, 2006
  6. rabidkevin

    rabidkevin Member

    Joined:
    May 14, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Update:

    It is still occuring after trying several more things..

    I have noticed that if I load a minimal .html file via my site during this time, it loads very fast. It appears to be code with either Flash, PHP, or Mysql.


    My guess so far is that I had enabled the 'Modify Apache Memory Usage' , but I removed them from httpd.conf and restarted apache. My memory is still never going over 256mb of useage out of 1 GB. I have a feeling mysql is being limited and therefore giving me issues

    Anyone help with more places to check ?? or what else I can do..

    I've followed many log files during this time and find no odd behavior from what I can tell.
     
  7. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    Have you optimized php and mysql?
     
  8. rabidkevin

    rabidkevin Member

    Joined:
    May 14, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I optimized the individual database, but that didnt make any changes

    is there a way to optimize mysql as a whole??

    I must note that ANY other website on the same box during this time is loading just fine. This includes php and mysql scripts such as phpbb and vbulletin.
     
  9. PortugalNetwork

    Joined:
    Jan 9, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    I am having a similar problem with one account.

    It always takes 10+ seconds to load, the other sites are normal.

    Very Strange
     
  10. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    me too ... just .. load goes off the roof.... 1 site causing this .. is it any way to optimize all dbs?
     
  11. iCARus

    iCARus Well-Known Member

    Joined:
    Apr 8, 2003
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    You can optimize all db's with this:

    Maybe then will be better.
     
Loading...

Share This Page