Postgresql may crash when disk full, server goes down and hard to recover. I monitor database and found due to one database schema makes trouble. One table increase large size.

Try to delete data inside table.

delete from tablename;

This don’t works, as I try to delete it keep fail server and postgresql crash. but truncate immediate works.

truncate tablename;

In case same issue found, use truncate tablename, helps a lot.

than restart postgresql database;