Announcement

Collapse
No announcement yet.

Server Resource Issue - CRON.PHP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Server Resource Issue - CRON.PHP

    I've upset my server hosting company due to our forum using too much of the server resources.

    The forum hasn't got any major hacks or additions. the only real one being the flashchat integration.

    The message from my hosting company was...

    --------------------------------------------------------------------------
    Hello
    Your account is causing the server to slow up and stopping other customers sites from working.
    We allow each customer to use a maximum of 10% of the servers processing resources.
    This is in our terms and conditions.


    You are using around 22%:


    Your account is causing the server to slow up and stopping other customers sites from working.
    We allow each customer to use a maximum of 10% of the servers processing resources.
    This is in our terms and conditions.

    You are using around 22%:

    Top Process%CPU 22.0httpd [www.ourserver.com] [/cron.php?&rand15865]
    Top Process%CPU 7.8httpd [www.ourserver.com] [/image.php?u4399&dateline1133911296]
    Top Process%CPU 4.6httpd [www.ourserver.com] [/image.php?u4231&dateline1121078007]


    You will need to remove cron.php or find another web host.
    --------------------------------------------------------------------------

    They are actually saying that they didn't feel it was the chat service, but actually the CHON.PHP that was causing the problem.

    What does this actually do, and is there anything obvious I can do to limit the strain on the server?

  • #2
    Theres tons of things that the cron script can do.

    The first one ran at

    Tue, 6 Dec 2005 23:21:36 UTC
    And again at

    Mon, 11 Jul 2005 10:33:27 UTC

    I'd have to say that there is a really good chance that it wasn't the cron script taking up 22% of the resources, at that time, there was probally a backup script being executed at that time or something else major going on and the cron script triggered at the same time.

    If you host is going to kick you off the server for a one time thing I'd say find a new host anyway.

    Also, if you are limited to 10% ask them for multiple days/months where you are constantly using over 10% on average, I see a one time issue.

    Comment


    • #3
      Er... You sure about those dates?

      I didn't even move our site to that company until around 14th Feb 2006.

      Comment


      • #4
        I used the dateline on the end of the image tag, but its possible it was trunciated.

        However I'd still ask for more proof than three entires, that is done daily, I'd ask for at least a weeks proof that you used more than 10% on average.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X