1IPCCLEAN(1)             PostgreSQL Server Applications             IPCCLEAN(1)
2
3
4

NAME

6       ipcclean - remove shared memory and semaphores from a failed PostgreSQL
7       server
8
9

SYNOPSIS

11       ipcclean
12

DESCRIPTION

14       ipcclean removes all shared memory segments and semaphore sets owned by
15       the  current  user.  It  is intended to be used for cleaning up after a
16       crashed PostgreSQL server (postgres(1)). Note that immediately restart‐
17       ing the server will also clean up shared memory and semaphores, so this
18       command is of little real utility.
19
20       Only the database administrator should execute this program as  it  can
21       cause  bizarre  behavior (i.e., crashes) if run during multiuser execu‐
22       tion. If this command is executed while a server is running, the shared
23       memory  and  semaphores allocated by that server will be deleted, which
24       would have rather severe consequences for that server.
25

NOTES

27       This script is a hack, but in the many years since it was  written,  no
28       one has come up with an equally effective and portable solution.  Since
29       postgres can now clean up by itself, it is unlikely that ipcclean  will
30       be improved upon in the future.
31
32       The  script makes assumptions about the output format of the ipcs util‐
33       ity which may not be true across different operating  systems.   There‐
34       fore,  it  may not work on your particular OS. It's wise to look at the
35       script before trying it.
36
37
38
39Application                       2008-06-08                       IPCCLEAN(1)
Impressum