Nodes stats fs


(phill) #1

I was examining a node to see how it failed after getting a "No space
left on device" error when pushing lots of PDF and Word docs at an index.
Logging into the machine and using df, I see I have no disk space on
this virtual machine.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/mvc--es00-root 18541492 18308816 0 100% /
...
Oops, all full up.
Using /_plugin/head clicking on the overview | | node stats
which is the same as the command
http://172.16.0.177:9200/_nodes/172.16.0.188/stats?pretty=1
I get the following (see below)

What is "free: 227.2mb" vs "available: 0b"?
Obviously the disk is full and I have not allocated nearly enough space,
but was wondering what this list was trying say with the "free" values?

thanks,
-Paul


... just the filesystem part
fs: {

  • timestamp: 1348765101816
  • data: [
    o {
    + path: /var/lib/elasticsearch/mynode/nodes/0
    + mount: /
    + dev: /dev/mapper/mvc--es00-root
    + total: 17.6gb
    + total_in_bytes: 18986487808
    + free: 227.2mb
    + free_in_bytes: 238260224
    + available: 0b
    + available_in_bytes: 0
    + disk_reads: 239850
    + disk_writes: 753698
    + disk_read_size: 10.6gb
    + disk_read_size_in_bytes: 11416151040
    + disk_write_size: 74.3gb
    + disk_write_size_in_bytes: 79856599040
    + disk_queue: 0
    + disk_service_time: 0
    }
    ]

}

--


(Shay Banon) #2

Free is an estimation of how much free space is in the drive, available is a more accurate computation of it. You should use available.

On Sep 27, 2012, at 8:27 PM, P. Hill parehill1@gmail.com wrote:

I was examining a node to see how it failed after getting a "No space left on device" error when pushing lots of PDF and Word docs at an index.
Logging into the machine and using df, I see I have no disk space on this virtual machine.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/mvc--es00-root 18541492 18308816 0 100% /
...
Oops, all full up.
Using /_plugin/head clicking on the overview | | node stats
which is the same as the command
http://172.16.0.177:9200/_nodes/172.16.0.188/stats?pretty=1
I get the following (see below)

What is "free: 227.2mb" vs "available: 0b"?
Obviously the disk is full and I have not allocated nearly enough space, but was wondering what this list was trying say with the "free" values?

thanks,
-Paul


... just the filesystem part
fs: {

  • timestamp: 1348765101816
  • data: [
    o {
    + path: /var/lib/elasticsearch/mynode/nodes/0
    + mount: /
    + dev: /dev/mapper/mvc--es00-root
    + total: 17.6gb
    + total_in_bytes: 18986487808
    + free: 227.2mb
    + free_in_bytes: 238260224
    + available: 0b
    + available_in_bytes: 0
    + disk_reads: 239850
    + disk_writes: 753698
    + disk_read_size: 10.6gb
    + disk_read_size_in_bytes: 11416151040
    + disk_write_size: 74.3gb
    + disk_write_size_in_bytes: 79856599040
    + disk_queue: 0
    + disk_service_time: 0
    }
    ]

}

--

--


(system) #3