• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Space issue

Hi Jack_76,

to investigate you could use ( logged in as user "root" over SSH ):

Code:
cd /

du -s * | sort -nr | head
( ignore possible temp access issues, described as "No such file or directory", because these are mostly temporary files and/or folders! )
You will now get a list of sorted folders and files. Move INTO the folder(s) with the highest amount(s) and repeat the "du" - command for a deeper investigation of the folder.

Example:

Code:
cd /var

du -s * | sort -nr | head
Repeat the "deeper" investigations, untill you get to the folder with the highest usage.​
 
Last edited by a moderator:
Hey @UFHH01,
thanks for you reply i tried founding the files the say you said but there is nothing very big that can actually occupy that much of space, below are some result with highest values compared to others.

Code:
[root@ var]# du -s * | sort -nr | head
4046636 lib
2940772 www
464088  cache
51552   log
204     spool
116     named
20      tmp
20      qmail
16      proftpd.delay
16      db

[root@ usr]# du -s * | sort -nr | head
580556  share
566420  lib
514504  local
501828  lib64
493968  bin
187296  sbin
52828   libexec
8932    include
12      src
4       games

[root@ tmp]# du -s * | sort -nr | head
16      lost+found
8       systemd-private-9ce0972d4eae45dca578cd5153a75e3f-httpd.service-yETfYk
8       systemd-private-9ce0972d4eae45dca578cd5153a75e3f-dovecot.service-vsZMVO
4       zend_cache---Zend_LocaleC_en_US_pm_
4       zend_cache---Zend_LocaleC_en_US_parentlocale_
4       zend_cache---Zend_LocaleC_en_US_month_gregorian_format_abbreviated_9
4       zend_cache---Zend_LocaleC_en_US_month_gregorian_format_abbreviated_6
4       zend_cache---Zend_LocaleC_en_US_month_gregorian_format_abbreviated_3
4       zend_cache---Zend_LocaleC_en_US_month_gregorian_format_abbreviated_2
4       zend_cache---Zend_LocaleC_en_US_month_gregorian_format_abbreviated_12

[root@ run]# du -s * | sort -nr | head
794624  log
304     udev
272     systemd
20      lock
8       httpd
8       dovecot
8       blkid
4       xinetd.pid
4       utmp
4       tuned

[root@ bin]# du -s * | sort -nr | head
109128  mysql_embedded
31380   dockerd
14104   sw-engine
14084   sw-engine-cgi
12420   aria_chk
12312   aria_read_log
11728   docker
11548   aria_pack
11468   aria_ftdump
11276   aria_dump_log
 
Trust @UFHH01, he knows what he is doing. It would probably be helpful to first check the root directory "/" as @UFHH01 had suggested:
First do
# cd /
Then, as you are now in the root directory, run
# du -s * | sort -nr | head
In your current output you are not seeing some major directories like /home. Start at the top, then descend into the lower directories.
 
Trust @UFHH01, he knows what he is doing. It would probably be helpful to first check the root directory "/" as @UFHH01 had suggested:
First do
# cd /
Then, as you are now in the root directory, run
# du -s * | sort -nr | head
In your current output you are not seeing some major directories like /home. Start at the top, then descend into the lower directories.
i almost checked all the directories which i can see via winscp and for above the result goes like this

Code:
[root@ ~]# cd
[root@ ~]# du -s * | sort -nr | head
65964   parallels
1644    perl5
12      ius-release.rpm
4       anaconda-ks.cfg
[root@ ~]# cd /home
[root@]# du -s * | sort -nr | head
146852  cloudstats_agent
4       ftp

All other directories dont have very big files i only posted those which has some thing big

attached a result using a different command
 

Attachments

  • result.txt
    10.6 KB · Views: 1
Last edited:
Update in last i just rebooted the server and things got fixed, but dont get yet what might be causing this whole earlier ? any guess anyone ?
 
Back
Top