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!

Is it safe to clear ./mysql/server1.log file?

Discussion in 'Workarounds and Optimization' started by MOHAMMED NOUFAL K, Jan 28, 2016.

  1. MOHAMMED NOUFAL K

    MOHAMMED NOUFAL K Registered

    Joined:
    Jan 21, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Thrissur
    cPanel Access Level:
    Root Administrator
    Upon our checking, we found that following log file used 392Gb space. Currently our server has limited space, that's why we have checked for unwanted files/folders on the server for deletion.

    Please let us know , is it safe to clear to /mysql/server1.log file? Please take it as a urgent matter and get back us with a solution for this. Your immediate action on matter much appreciated.

    File :
    ./mysql/server1.log: 392G

    Can anyone help me ?
     
    #1 MOHAMMED NOUFAL K, Jan 28, 2016
    Last edited by a moderator: Jan 28, 2016
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,517
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Do you have log rotation enabled?
    Home »Service Configuration »cPanel Log Rotation Configuration

    You shouldn't kill a log file thats in use.
     
    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:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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