This section describes how to verify the Linux system status.
To perform the Linux status check:
Log in to the OpenStack controller node that you want to troubleshoot.
Verify that there is enough space on the disk:
df -h
Example system response:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 20G 4.5G 15G 25% /
tmpfs 939M 328K 939M 1% /dev/shm
/dev/sdd1 3.9G 11M 3.7G 1% /tmp
/dev/sdc1 9.8G 102M 9.2G 2% /var/log
/dev/sde 3.9G 34M 3.6G 1% /var/log/audit
tmpfs 512M 0 512M 0% /config
Check the available inodes
:
df -i
Example system response:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 14589952 387481 14202471 3% /
none 2038052 13 2038039 1% /sys/fs/cgroup
udev 2035377 518 2034859 1% /dev
tmpfs 2038052 591 2037461 1% /run
none 2038052 5 2038047 1% /run/lock
none 2038052 118 2037934 1% /run/shm
none 2038052 35 2038017 1% /run/user
Verify that there is enough amount of memory:
free m
Example system response:
total used free shared buffers cached
Mem: 1922208 1839352 82856 500 415068 525944
-/+ buffers/cache: 898340 1023868
Swap: 4193276 1544 4191732
Verify if there are no processes that use all available memory/CPU:
htop
Example system response:
top - 11:46:28 up 40 days, 22:35, 3 users, load average: 0.00, 0.00, 0.03
Tasks: 218 total, 1 running, 217 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.8%us, 1.5%sy, 0.0%ni, 95.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1922208k total, 1829060k used, 93148k free, 415108k buffers
Swap: 4193276k total, 1544k used, 4191732k free, 526056k cached