Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 12:19:52 PM

Pages: [1]   Go Down
  Print  
Author Topic: diskinodes problems  (Read 1618 times)
mke
Trekkie
**
Offline Offline

Posts: 16


« on: December 01, 2008, 09:54:32 PM »

In plesk I got in red "diskinodes", what does it mean? How to solve this?


Disk QuotaID   Current Use   Soft Limit   Hard Limit   Units   Description   
diskinodes   199,957   200,000   220,000   inodes   Number of total disk inodes
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #1 on: December 06, 2008, 12:32:24 AM »

Hi,

Inode is a number identified structure that contains such file related details like permissions, type etc. The red light for inodes usage in your VPS mean that the number of inodes (or you can consider it as the number of files) on your VPS is about or has reached the limit set for your VPS. If you notice such issue, the first advisable thing would be checking that so many files were create for a purpose as sometime it maybe a large volume of not needed cache or mail files. This can be investigated by recursively running the following script from / of the server down to the folder with the largest amount of inodes:

Code:
for f in `find . -type d -maxdepth 1 -mindepth 1`; do echo -n "$f "; echo `find ./$f -printf "%i\n" | wc -l`; done

This command outputs subfolders in the current folder along with number of inodes used by their contents.

After ensuring that you indeed need so many files on your VPS, you can contact support asking to increase the inodes limit for you which is done without any additional fees.
Logged

Kind Regards,
Vlad Artamonov
conga3
Knows just enough to get in trouble.
Spacescooter Operator
*****
Offline Offline

Posts: 39


WWW
« Reply #2 on: April 03, 2009, 07:50:52 AM »

I thought I'd post my "Disk Inode Search Results" here.  I used the above command by perestrelka, and tracked down why my server had reached 98% capacity.

And yes, if you run out of disk inodes, weird stuff starts happening.  In Joomla sites (about 5000+ ionodes per install), you get some sort of session failure if I remember right, because Joomla is unable to write a temporary session file when you try to access it.

I also experienced problems with my email not being delivered.

Don't run out of Disk Inodes!

My initial search found these suspect folders from the root:
/var 143758
/usr 52166

That right there accounts for 195,924 of my 200,000 available disk inodes Hypno

Well, I then searched /var and got these suspect folders :
/www 128506
/named 2404
/lib 6177
/qmail 6359

I searched /usr and got these suspect folders:
/share 21817
/local 15219
/lib 13333

I looked into the /www/vhosts further and I eventually figured out one of my domains had 60000+ inodes used, but it's a "development" environment where I have several Joomla installs along with several versions of EXTJS and need lots of files.

I'm not sure about some of the other 5000+ folders on my VPS, but I've concluded I need LOTS more inodes and will request an increase quota from support.



Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1394



« Reply #3 on: April 04, 2009, 02:12:31 AM »

Hi Conga3,

Thanks for sharing your experience. I just wanted to add that all newly created VPS servers will be getting twice more inodes limit setup by default soon.
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to: