Consider increasing the configuration parameter "max_wal_size"

Were you out of disk space? The wal stuff has to do with postgres streaming its real time log of database changes to disk.