File: ipcclean.1.html

package info (click to toggle)
mpsql 2.0-2
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 2,912 kB
  • ctags: 5,665
  • sloc: ansic: 34,322; makefile: 3,525; sh: 17
file content (44 lines) | stat: -rw-r--r-- 1,919 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!-- manual page source format generated by PolyglotMan v3.0.4, -->
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->

<HTML>
<HEAD>
<TITLE>IPCCLEAN(UNIX) manual page</TITLE>
</HEAD>
<BODY>
<A HREF="pgsql.html">PostgreSQL Contents</A>
 
<H2><A NAME="sect0" HREF="#toc0">NAME </A></H2>
ipcclean - clean up shared memory and semaphores from aborted backends 
 
<H2><A NAME="sect1" HREF="#toc1">SYNOPSIS </A></H2>
<B>ipcclean</B>  
<H2><A NAME="sect2" HREF="#toc2">DESCRIPTION </A></H2>
<I>Ipcclean</I> cleans up shared memory and semaphore 
space from aborted backends by deleting all instances owned by user `postgres'. 
 Only the DBA should execute this program as it can cause bizarre behavior 
(i.e., crashes) if run during multi-user execution.  This program should be 
executed if messages such as <B>semget: No space left on device</B> are encountered 
when starting up the  <I>postmaster</I> or the backend server.  
<H2><A NAME="sect3" HREF="#toc3">BUGS </A></H2>
If this command 
is executed while a  <I>postmaster</I> is running, the shared memory and semaphores 
allocated by the <I>postmaster</I> will be deleted.  This will result in a general 
failure of the backends servers started by that <I>postmaster</I>. <P>
This script 
is a hack, but in the many years since it was written, no one has come 
up with an equally effective and portable solution. Suggestions are welcome. 
<P>
The script makes assumption about the format of output of the <B>ipcs</B> utility 
which may not be true across different operating systems. Therefore, it 
may not work on your particular OS. <P>

<HR><P>
<A NAME="toc"><B>Table of Contents</B></A><P>
<UL>
<LI><A NAME="toc0" HREF="#sect0">NAME</A></LI>
<LI><A NAME="toc1" HREF="#sect1">SYNOPSIS</A></LI>
<LI><A NAME="toc2" HREF="#sect2">DESCRIPTION</A></LI>
<LI><A NAME="toc3" HREF="#sect3">BUGS</A></LI>
</UL>
</BODY></HTML>