ipcclean

Name

ipcclean  --  Cleans shared memory resources left behind by aborted backend processes.

Synopsis

ipcclean
  

Parameters

This program does not accept any parameters.

This program does not return any information.

None.

Description

Use ipcclean to delete all instances of aborted backend processes owned by the postgres user (this helps free up shared memory). Make sure to only run this program during a fairly innocuous time, as runing it during heavy use of the database can cause crashing if there is currently multi-user activity occurring.

NoteShut down postmaster first
 

Shut down postmaster before running ipcclean, as all backend processes running will be using the shared memory that it deletes. Any servers still running when shared memory is deleted will probably fail.

Examples

The following example uses ipcclean to clean up shared resources.

$ ipcclean