xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 3 years ago

Closed 3 years ago

Last modified 9 months ago

#1889 closed enhancement (fixed)

make it easier to spot dead sockets

Reported by: Antoine Martin Owned by: J. Max Mena
Priority: major Milestone: 2.4
Component: server Version: 2.3.x
Keywords: Cc:


As per XDG Base Directory Specification: Files in this directory MAY be subjected to periodic clean-up. To ensure that your files are not removed, they should have their access time timestamp modified at least once every 6 hours of monotonic time or the 'sticky' bit should be set on the file.

Let's use this to also make dead socket probing faster: if the socket is likely to be live then it will have a recent timestamp.

Change History (3)

comment:1 Changed 3 years ago by Antoine Martin

Owner: changed from Antoine Martin to J. Max Mena
  • r19745: touch the socket files every minute
  • r19746: don't poll for very long if the server socket is old, assume it is dead

@maxmylyn: just a FYI, feel free to close.

comment:2 Changed 3 years ago by J. Max Mena

Resolution: fixed
Status: newclosed

comment:3 Changed 9 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1889

Note: See TracTickets for help on using tickets.