1DBUS-CLEANUP-SOCKE(1)            User Commands           DBUS-CLEANUP-SOCKE(1)
2
3
4

NAME

6       dbus-cleanup-sockets - clean up leftover sockets in a directory
7

SYNOPSIS

9       dbus-cleanup-sockets [DIRECTORY]
10
11

DESCRIPTION

13       The dbus-cleanup-sockets command cleans up unused D-Bus connection
14       sockets. See http://www.freedesktop.org/software/dbus/ for more
15       information about the big picture.
16
17       If given no arguments, dbus-cleanup-sockets cleans up sockets in the
18       standard default socket directory for the per-user-login-session
19       message bus; this is usually /tmp. Optionally, you can pass a different
20       directory on the command line.
21
22       On Linux, this program is essentially useless, because D-Bus defaults
23       to using "abstract sockets" that exist only in memory and don't have a
24       corresponding file in /tmp.
25
26       On most other flavors of UNIX, it's possible for the socket files to
27       leak when programs using D-Bus exit abnormally or without closing their
28       D-Bus connections. Thus, it might be interesting to run
29       dbus-cleanup-sockets in a cron job to mop up any leaked sockets. Or you
30       can just ignore the leaked sockets, they aren't really hurting
31       anything, other than cluttering the output of "ls /tmp"
32

AUTHOR

34       dbus-cleanup-sockets was adapted by Havoc Pennington from
35       linc-cleanup-sockets written by Michael Meeks.
36

BUGS

38       Please send bug reports to the D-Bus mailing list or bug tracker, see
39       http://www.freedesktop.org/software/dbus/
40
41
42
43D-Bus 1.12.20                     01/26/2021             DBUS-CLEANUP-SOCKE(1)
Impressum