Skip to main content

disk warning

Comments

7 comments

  • cPRex Jurassic Moderator

    Hey there!  I wouldn't expect a reboot to help with disk space issues.  Since you've already run the "du" command you can see where the space is being used - I would compare that to tomorrow's usage to see if you can find an area that is obviously increasing.  There really isn't another way around it or a fancier way to see the disk usage.  Using "du" and going down into each directory is the best way to find things you can remove from the system.

    0
  • Lauren Raymond

    Thanks for your help. 

    I see a lot of files in cd /tmp that look like these

    cloner-cert-0b0ad5801b41596c25457955f87092c4

    systemd-private-30eaa47a11894e54be69bb9f7efaf96f-kdump.service-nBIjN7

    Is it safe to delete these files?

     

     

    0
  • cPRex Jurassic Moderator

    I'm not familiar with the "cloner-cert" files so i can't say.

    The systemd directories you mention are likely in use by other things on the system so I would not remove those.  I doubt those are very large, though.

    0
  • Lauren Raymond

    Thanks again

    I see a lot of old logs - is it safe to delete these?

    [root@host2 ~]# cd /var

    [root@host2 var]# cd log

    [root@host2 log]# ls

    anaconda               dnf.rpm.log.1               maillog-20250427

    apache2                dnf.rpm.log.2               maillog-20250504

    audit                  dpkg.log                    messages

    boot.log               exim_mainlog                messages-20250413

    boot.log-20250330      exim_mainlog-20250413.gz    messages-20250420

    boot.log-20250405      exim_mainlog-20250420.gz    messages-20250427

    boot.log-20250409      exim_mainlog-20250427.gz    messages-20250504

    boot.log-20250415      exim_mainlog-20250504.gz    mysqld.log

    boot.log-20250423      exim_paniclog               named

    boot.log-20250430      exim_paniclog-20250413.gz   private

    boot.log-20250507      exim_paniclog-20250420.gz   quota_enable.log

    btmp                   exim_paniclog-20250427.gz   README

    btmp-20250501          exim_paniclog-20250504.gz   sa

    chkservd.log           exim_rejectlog              samba

    chrony                 exim_rejectlog-20250413.gz  secure

    cpanel-install.log     exim_rejectlog-20250420.gz  secure-20250413

    cpanel-server-traffic  exim_rejectlog-20250427.gz  secure-20250420

    cron                   exim_rejectlog-20250504.gz  secure-20250427

    cron-20250413          firewalld                   secure-20250504

    cron-20250420          hawkey.log                  spooler

    cron-20250427          hawkey.log-20250413         spooler-20250413

    cron-20250504          hawkey.log-20250420         spooler-20250420

    dcpumon                hawkey.log-20250427         spooler-20250427

    dnf.librepo.log        hawkey.log-20250504         spooler-20250504

    dnf.librepo.log.1      imav-deploy.log             sssd

    dnf.librepo.log.2      imunify360                  sw-cp-server

    dnf.librepo.log.3      imunify360_user_logs        tallylog

    dnf.librepo.log.4      kdump.log                   tuned

    dnf.log                lastlog                     wp-toolkit

    dnf.log.1              lfd.log                     wtmp

    dnf.log.2              lfd.log-20250504.gz         wtmp-20241014

    dnf.log.3              maillog                     xferlog.offsetftpsep

    dnf.log.4              maillog-20250413

    dnf.rpm.log            maillog-20250420

    [root@host2 log]#

    0
  • cPRex Jurassic Moderator

    Those are up to you - if you no longer need that log data then they would generally be safe to delete.  Don't delete any of the main logs, like dnf.rmp.log or maillog but things like exim_paniclog-20250504.gz  would be safe to remove.

    0
  • Lauren Raymond

    Excellent - thanks for your help and great advice. I changed the log rotation in the WHM tweak settings and if the old logs do not delete I will delete some of those logs that are not mail logs. Have a great day

    0
  • cPRex Jurassic Moderator

    Sounds good - you have a great day as well!

    0

Please sign in to leave a comment.