2 $Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/ipcclean.sgml,v 1.3 2000/11/11 23:01:45 petere Exp $
6 <refentry id="APP-IPCCLEAN">
8 <date>2000-11-11</date>
12 <refentrytitle id="APP-IPCCLEAN-TITLE"><application>ipcclean</application></refentrytitle>
13 <manvolnum>1</manvolnum>
14 <refmiscinfo>Application</refmiscinfo>
18 <refname>ipcclean</refname>
19 <refpurpose>Clean up shared memory and semaphores from aborted backends</refpurpose>
24 <command>ipcclean</command>
28 <refsect1 id="R1-APP-IPCCLEAN-1">
29 <title>Description</title>
31 <application>ipcclean</application>
32 cleans up shared memory and semaphore space from aborted backends by
33 deleting all instances owned by user <literal>postgres</literal>.
35 should execute this program as it can cause bizarre behavior (i.e.,
36 crashes) if run during multi-user execution. This program should be
37 executed if messages such as
40 semget: No space left on device
43 are encountered when starting up the
44 <application>postmaster</application> or the backend server.
48 If this command is executed while <application>postmaster</application>
49 is running, the shared memory and semaphores allocated by the
50 <application>postmaster</application>
51 will be deleted. This will result in a general failure of the
52 backend servers started by that
53 <application>postmaster</application>.
57 This script is a hack, but in the many years since it was written, no
58 one has come up with an equally effective and portable solution.
59 Suggestions are welcome.
63 The script makes assumption about the format of output of the
64 <application>ipcs</application>
65 utility which may not be true across different operating systems.
66 Therefore, it may not work on your particular OS.
71 <!-- Keep this comment at the end of the file
76 sgml-minimize-attributes:nil
77 sgml-always-quote-attributes:t
80 sgml-parent-document:nil
81 sgml-default-dtd-file:"../reference.ced"
83 sgml-local-catalogs:"/usr/lib/sgml/catalog"
84 sgml-local-ecat-files:nil