Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    330
    Likes Received:
    3
    Trophy Points:
    68
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    330
    Likes Received:
    3
    Trophy Points:
    68
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice