Xpra: Ticket #80: slow when $HOME is served over NFS

xpra evidently creates a largish file under ~/.xpra, and does considerable IO to it. This causes xpra to run very slowly when $HOME is on an NFS file system.

I haven't looked to see what this file is used for, but at a minimum it would be good to be able to specify a different directory for it. As it is, xpra is so slow as to be close to useless for me, and contributes considerable load to the NFS server. I could run xpra on the server, but that would also add load to that machine, when I'd rather put the load on my own workstation.



Sun, 19 Feb 2012 21:08:31 GMT - Antoine Martin: owner, status changed

Hmm, there should not be much traffic to the logfile and my log files are reasonably small, what's the contents of yours?

(I'll add the option of specifying the logfile location)


Mon, 20 Feb 2012 01:02:17 GMT - David Roundy:

I can't see it now, but what made me suspicious was a .nfsXXX file that was over 300 meg in .xpra/, which usually would mean that a file had been created and then deleted while a file handle was still accessing it. I figured you were creating temporary files there.

The log file is just a few hundred k, and I can attach it if you like. I'm starting up xpra to see if I can observe the same behavior.


Mon, 20 Feb 2012 06:43:27 GMT - Antoine Martin:

300MB is suspiciously close to the size of the memory mapped file it used to create in ~/.xpra prior to r390, this now goes in $TMPDIR or /tmp.

This change is part of v0.0.7.33 and later.


Mon, 20 Feb 2012 19:35:58 GMT - Antoine Martin: milestone changed


Wed, 22 Feb 2012 15:16:57 GMT - David Roundy:

Good news, thanks! I'm indeed using the xpra 0.0.7.31 that is packaged in Debian testing and backported to Debian stable. I see that 0.0.7.26 is already packaged for sid, so expect to get the fix soon that way.


Wed, 22 Feb 2012 15:34:11 GMT - Antoine Martin: status, milestone changed; version, resolution set

OK, closing - feel free to re-open if it still occurs with 0.0.7.36 or later.

(I'll assume you meant 36 not 26..)


Sat, 23 Jan 2021 04:44:58 GMT - migration script:

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