NetXMS Support Forum

English Support => General Support => Topic started by: millerpaint on July 17, 2017, 07:08:35 PM

Title: Out of space - CentOS and MySQL
Post by: millerpaint on July 17, 2017, 07:08:35 PM
Greetings,

I am out of disk space on the NetXMS CentOS volume; and it is not the MySQL logs.  Does anyone have ideas on what to check first?


-Kevin C.
Title: Re: Out of space - CentOS and MySQL
Post by: lindeamon on July 17, 2017, 07:14:01 PM
run "du -h", it should display a tree of folders and their disk usage.
when you find the problematic folder, run "ls -lha" to see all files and their size
Title: Re: Out of space - CentOS and MySQL
Post by: millerpaint on July 17, 2017, 07:28:41 PM
Hi,

I ran du -h, and the only thing it came back with was "116K".


-Kevin C.

Title: Re: Out of space - CentOS and MySQL
Post by: millerpaint on July 17, 2017, 07:35:42 PM
OK, good news:

This command worked, with more parameters:

du -h --max-depth=1 | sort -n

I see now the problem is in /var/lib/mysql/

110516876 netxxx.millerxxx.com.err

This seems to be an error file, that is now massive?


-Kevin C.