-1

I have a problem with the server. My inodes are full and my web can not do anything, I have done several ways, and I am afraid of making mistakes

df -i

result of command

df -h

enter image description here

What is /dev/ploop17501p1 and how do I clean it safely?

Thomas
  • 4,155
  • 5
  • 21
  • 28
Adhy Musaad
  • 1
  • 1
  • 1
  • 1
    Please do not use screenshots/pictures for text. Use text as text here and format it accordingly. – Thomas Sep 16 '17 at 10:15
  • If you are afraid of making mistakes, build a test environment in the same configuration, and test backup restores. – John Mahowald Sep 16 '17 at 22:15

2 Answers2

1

You are on a Virtuozzo or OpenVZ VPS which places a limit on the number of files you can store -- and you've hit that limit. As the inode limit is usually set to 1 per 16 KB of disk space, reaching this limit typically means that your disk has a lot of very small files on it.

Unless you have administrative access to the VPS server (which you probably don't), there is no way for you to raise this limit yourself, so you will need to remove some of your files. If you're running a web application on your server, you should check for any old session, cache, or other temporary files on the system.

If that isn't possible, you will need to contact your hosting provider to have them raise the limit for you. (This may require you to upgrade to a larger VPS.)

1

Remove unwanted stuff and specially compress existing less useful files such as log files and delete them.. You can zip log files in to one zip file.. For example, ff you have hundred log files and compressed to one zip file by deleting those log files, you will save 99 inodes.

1 file=1 inode

Regarding /dev/ploop17501p1 , you can dig down more info using commands such as dir /tune2fs etc. it could be a backup or even bunch of log files that are generating instantly..

you can use simple generic commands such as dir to see the content inside

disk space usage

du -kscx 

and tune2fs to see the Inode count inside.

tune2fs -l /dev/ploop17501p1 | grep -i inode 

By locating more details you will be able to free up/zip and save inodes ..

Find out more How can I determine what is taking up so much space?

Aravinda
  • 1,081
  • 5
  • 12
  • 30
  • 1
    `/dev/ploop…` is [a virtual disk device used in Virtuozzo / OpenVZ](https://openvz.org/Ploop). The device does not actually exist in the guest's `/dev`, so tools like tune2fs won't work. –  Sep 16 '17 at 17:09