/var/lib

It is necessary to determine which process is occupying space. To do this, run the command:

sudo du -hs /var/lib/* | sort -rh | head -n 10

If the bulk of the partition is occupied by the postgres folder, check which tables in PostgreSQL are taking up space using the following commands.

sudo -u waf psql
\d+

To clean up space, you can delete partitions of tables with old data (tables http_transaction and anomaly) and reduce the depth of data storage (see paragraph section 6.3).