1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
4 <!-- lifted from troff+man by doclifter -->
5 <refentry id='dbuscleanupsockets1'>
7 <!-- dbus\-cleanup\-sockets manual page.
8 Copyright (C) 2003 Red Hat, Inc. -->
11 <refentrytitle>dbus-cleanup-sockets</refentrytitle>
12 <manvolnum>1</manvolnum>
15 <refname>dbus-cleanup-sockets</refname>
16 <refpurpose>clean up leftover sockets in a directory</refpurpose>
18 <!-- body begins here -->
19 <refsynopsisdiv id='synopsis'>
21 <command>dbus-cleanup-sockets</command> <arg choice='opt'><replaceable>DIRECTORY</replaceable></arg>
27 <refsect1 id='description'><title>DESCRIPTION</title>
28 <para>The <command>dbus-cleanup-sockets</command> command cleans up unused D-Bus
29 connection sockets. See <ulink url='http://www.freedesktop.org/software/dbus/'>http://www.freedesktop.org/software/dbus/</ulink> for
30 more information about the big picture.</para>
33 <para>If given no arguments, <command>dbus-cleanup-sockets</command> cleans up sockets
34 in the standard default socket directory for the
35 per-user-login-session message bus; this is usually /tmp.
36 Optionally, you can pass a different directory on the command line.</para>
39 <para>On Linux, this program is essentially useless, because D-Bus defaults
40 to using "abstract sockets" that exist only in memory and don't have a
41 corresponding file in /tmp.</para>
44 <para>On most other flavors of UNIX, it's possible for the socket files to
45 leak when programs using D-Bus exit abnormally or without closing
46 their D-Bus connections. Thus, it might be interesting to run
47 dbus-cleanup-sockets in a cron job to mop up any leaked sockets.
48 Or you can just ignore the leaked sockets, they aren't really hurting
49 anything, other than cluttering the output of "ls /tmp"</para>
53 <refsect1 id='author'><title>AUTHOR</title>
54 <para>dbus-cleanup-sockets was adapted by Havoc Pennington from
55 linc-cleanup-sockets written by Michael Meeks.</para>
59 <refsect1 id='bugs'><title>BUGS</title>
60 <para>Please send bug reports to the D-Bus mailing list or bug tracker,
61 see <ulink url='http://www.freedesktop.org/software/dbus/'>http://www.freedesktop.org/software/dbus/</ulink></para>