YML Validation prior to rebuild?

You can check the file size use this code,then you can analyze if it is the problem of space

/var/discourse# du -sh /* | sort -h