Getting a PSQLException Error 'An IO error occured while sending to the backend' Due to Corrupt Postgres Database

Still need help?

The Atlassian Community is here for you.

Ask the community


Postgres database seems to go up and down, leading to the following exceptions in confluence:

org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.
at org.postgresql.core.v3.QueryExecutorImpl.execute(
at org.postgresql.jdbc2.AbstractJdbc2Connection.executeTransactionCommand(
at org.postgresql.jdbc2.AbstractJdbc2Connection.commit(
at org.postgresql.jdbc2.AbstractJdbc2Connection.setAutoCommit(
at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.setAutoCommit(
at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setAutoCommit(
at net.sf.hibernate.transaction.JDBCTransaction.toggleAutoCommit(
at net.sf.hibernate.transaction.JDBCTransaction.rollback(
at org.springframework.orm.hibernate.HibernateTransactionManager.doRollback(
Caused by: Stream closed
at sun.nio.cs.StreamEncoder.ensureOpen(
at sun.nio.cs.StreamEncoder.flush(
at org.postgresql.core.PGStream.flush(
at org.postgresql.core.v3.QueryExecutorImpl.sendSync(
at org.postgresql.core.v3.QueryExecutorImpl.execute(
... 89 more


Obtain the Postgres logs. They contain:

2008-06-22 12:40:45 CEST LOG: transaction ID wrap limit is 2147484146, limited by database "postgres"
2008-06-22 12:42:46 CEST LOG: autovacuum: processing database "confluencedb"
2008-06-22 12:43:09 CEST LOG: server process (PID 12352) was terminated by signal 11
2008-06-22 12:43:09 CEST LOG: terminating any other active server processes
2008-06-22 12:43:09 CEST WARNING: terminating connection because of crash of another server process


Signal 11 indicates that the Postgres database server is crashing due to bad hardware.


Move your Postgres database to another server or identify the faulty hardware. Refer to this third party forum for more information:

Last modified on Aug 9, 2022

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.