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.

sql file in cron.daily folder

Discussion in 'General Discussion' started by sahostking, Jul 24, 2014.

  1. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    299
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Hi,

    We have a client that somehow has his server go down each day at a specific time.

    We checked and found a large .sql file over 4GB (looks like a backup of all his databases) in the /etc/cron.daily folder.

    Can this have caused the outage. Will it run that file?
    Load seems to go from 1.43 average to 200 in matter of minutes.

    It's the only thing we can see that has changed on the server and looks very suspicous. Just want to know if a .sql file will be run as a cron in the /etc/cron.daily folder instead of only .sh files?
     
  2. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    299
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    ok figured out I can just use iotop --only to view what is using causing it.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I suggest moving that SQL file out of the cron directory, as it really serves no purpose there. Note that you may also find the following thread helpful:

    Troubleshooting High Loads On Linux Systems

    Thank you.
     
Loading...

Share This Page