xpra icon
Bug tracker and wiki

Opened 6 months ago

Closed 6 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:

Description

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 (2)

comment:1 Changed 6 months 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 6 months ago by J. Max Mena

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.