• 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 Disk space issue with big files in /tmp/analytics

David Shapes

New Pleskian
Hello,

I have a Linux server up and running with Plesk 17.5.3 (last update on 18th of September).
The server has been runnig great for a while, but I have been experiencing a weird issue since 3 days.

Health monitor sent me a warning of low disk space.

df -h gives me:
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 17G 2,1G 89% /
/dev/root 20G 17G 2,1G 89% /
devtmpfs 32G 284K 32G 1% /dev
/dev/md3 1,8T 74G 1,7T 5% /var
tmpfs 32G 4,0K 32G 1% /dev/shm
/dev/root 20G 17G 2,1G 89% /var/named/chroot/etc/named
/dev/md3 1,8T 74G 1,7T 5% /var/named/chroot/var/named
/dev/root 20G 17G 2,1G 89% /var/named/chroot/etc/named.rfc1912.zones
/dev/root 20G 17G 2,1G 89% /var/named/chroot/etc/rndc.key
/dev/root 20G 17G 2,1G 89% /var/named/chroot/usr/lib64/bind
/dev/root 20G 17G 2,1G 89% /var/named/chroot/etc/named.iscdlv.key
/dev/root 20G 17G 2,1G 89% /var/named/chroot/etc/named.root.key
/dev/root 20G 17G 2,1G 89% /var/named/chroot/etc/services
/dev/root 20G 17G 2,1G 89% /var/named/chroot/etc/protocols

df -i gives me:
Filesystem Inodes IUsed IFree IUse% Mounted on
rootfs 1281120 238603 1042517 19% /
/dev/root 1281120 238603 1042517 19% /
devtmpfs 8233199 2430 8230769 1% /dev
/dev/md3 120782848 3794137 116988711 4% /var
tmpfs 8241564 2 8241562 1% /dev/shm
/dev/root 1281120 238603 1042517 19% /var/named/chroot/etc/named
/dev/md3 120782848 3794137 116988711 4% /var/named/chroot/var/named
/dev/root 1281120 238603 1042517 19% /var/named/chroot/etc/named.rfc1912.zones
/dev/root 1281120 238603 1042517 19% /var/named/chroot/etc/rndc.key
/dev/root 1281120 238603 1042517 19% /var/named/chroot/usr/lib64/bind
/dev/root 1281120 238603 1042517 19% /var/named/chroot/etc/named.iscdlv.key
/dev/root 1281120 238603 1042517 19% /var/named/chroot/etc/named.root.key
/dev/root 1281120 238603 1042517 19% /var/named/chroot/etc/services
/dev/root 1281120 238603 1042517 19% /var/named/chroot/etc/protocols

du -sh */ gives me:
7,4M bin/
107M boot/
288K dev/
41M etc/
8,0K home/
533M lib/
24M lib64/
16K lost+found/
4,0K media/
4,0K mnt/
353M opt/
du: impossible d'accéder à « proc/808/task/808/fd/4 »: Aucun fichier ou dossier de ce type
du: impossible d'accéder à « proc/808/task/808/fdinfo/4 »: Aucun fichier ou dossier de ce type
du: impossible d'accéder à « proc/808/fd/4 »: Aucun fichier ou dossier de ce type
du: impossible d'accéder à « proc/808/fdinfo/4 »: Aucun fichier ou dossier de ce type
0 proc/
516M root/
27M sbin/
4,0K selinux/
4,0K srv/
du: impossible d'accéder à « sys/kernel/slab/L2TP/IPv6 »: Aucun fichier ou dossier de ce type
du: impossible d'accéder à « sys/kernel/slab/L2TP/IP »: Aucun fichier ou dossier de ce type
0 sys/
11G tmp/
3,9G usr/
74G var/

I noticed a huge file that must be causing my issue in /tmp/analytics 3 days ago, only one file in the folder.
Today I have 3 files in that folder, system seems to create one each night:
~tmp-1537660818.7487tar.tar : 11G
~tmp-1537747210.659tar.tar : 6,5M
~tmp-1537833608.7409tar.tar : 2G

I do not know what these files are for..?
Can I safely delete them?
Should they not delete themselves?

Any help would be really appreciated here as the server is now 94.4% full with 13G in /tmp/analytics.

Best regards,
David
 
/tmp/analytics is not Plesk related directory. I suppose that you can delete it.
Also I can recommend you click "Detect Hardware Changes" button in Health Monitor for recalculating disk space.
 
Hi, I was wondering if this was Linux or Plesk related indeed, thanks for the info!
I should be able to safely delete those files but it's kind of scary..
As this is not Plesk related, I think I should close this thread.
Best regards,
David
 
Back
Top