'\" t .\" Title: dbus-cleanup-sockets .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 01/05/2024 .\" Manual: User Commands .\" Source: D-Bus 1.14.10 .\" Language: English .\" .TH "DBUS\-CLEANUP\-SOCKE" "1" "01/05/2024" "D\-Bus 1\&.14\&.10" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" dbus-cleanup-sockets \- clean up leftover sockets in a directory .SH "SYNOPSIS" .HP \w'\fBdbus\-cleanup\-sockets\fR\ 'u \fBdbus\-cleanup\-sockets\fR [\fIDIRECTORY\fR] .br .SH "DESCRIPTION" .PP The \fBdbus\-cleanup\-sockets\fR command cleans up unused D\-Bus connection sockets\&. See \m[blue]\fBhttp://www\&.freedesktop\&.org/software/dbus/\fR\m[] for more information about the big picture\&. .PP If given no arguments, \fBdbus\-cleanup\-sockets\fR cleans up sockets in the standard default socket directory for the per\-user\-login\-session message bus; this is usually /tmp\&. Optionally, you can pass a different directory on the command line\&. .PP On Linux, this program is essentially useless, because D\-Bus defaults to using "abstract sockets" that exist only in memory and don\*(Aqt have a corresponding file in /tmp\&. .PP On most other flavors of UNIX, it\*(Aqs possible for the socket files to leak when programs using D\-Bus exit abnormally or without closing their D\-Bus connections\&. Thus, it might be interesting to run dbus\-cleanup\-sockets in a cron job to mop up any leaked sockets\&. Or you can just ignore the leaked sockets, they aren\*(Aqt really hurting anything, other than cluttering the output of "ls /tmp" .SH "AUTHOR" .PP dbus\-cleanup\-sockets was adapted by Havoc Pennington from linc\-cleanup\-sockets written by Michael Meeks\&. .SH "BUGS" .PP Please send bug reports to the D\-Bus mailing list or bug tracker, see \m[blue]\fBhttp://www\&.freedesktop\&.org/software/dbus/\fR\m[]