2 $Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/ipcclean.sgml,v 1.2 2000/10/05 19:48:18 momjian Exp $
6 <refentry id="APP-IPCCLEAN">
8 <refentrytitle id="APP-IPCCLEAN-TITLE">
9 <application>ipcclean</application>
11 <refmiscinfo>Application</refmiscinfo>
15 <application>ipcclean</application>
18 Clean up shared memory and semaphores from aborted backends
23 <date>1999-07-20</date>
29 <refsect2 id="R2-APP-IPCCLEAN-1">
31 <date>1999-07-20</date>
41 <refsect2 id="R2-APP-IPCCLEAN-2">
43 <date>1999-07-30</date>
54 <refsect1 id="R1-APP-IPCCLEAN-1">
56 <date>1999-07-20</date>
62 <application>ipcclean</application>
63 cleans up shared memory and semaphore space from aborted backends by
64 deleting all instances owned by user <literal>postgres</literal>.
66 should execute this program as it can cause bizarre behavior (i.e.,
67 crashes) if run during multi-user execution. This program should be
68 executed if messages such as
71 semget: No space left on device
74 are encountered when starting up the
75 <application>postmaster</application> or the backend server.
79 If this command is executed while <application>postmaster</application>
80 is running, the shared memory and semaphores allocated by the
81 <application>postmaster</application>
82 will be deleted. This will result in a general failure of the
83 backend servers started by that
84 <application>postmaster</application>.
88 This script is a hack, but in the many years since it was written, no
89 one has come up with an equally effective and portable solution.
90 Suggestions are welcome.
94 The script makes assumption about the format of output of the
95 <application>ipcs</application>
96 utility which may not be true across different operating systems.
97 Therefore, it may not work on your particular OS.
102 <!-- Keep this comment at the end of the file
107 sgml-minimize-attributes:nil
108 sgml-always-quote-attributes:t
111 sgml-parent-document:nil
112 sgml-default-dtd-file:"../reference.ced"
113 sgml-exposed-tags:nil
114 sgml-local-catalogs:"/usr/lib/sgml/catalog"
115 sgml-local-ecat-files:nil