Comment 16 for bug 137514

Revision history for this message
Geoffrey (geoffrey-dommett) wrote :

I wish the -o reconnect would work at all for me. unfortunately the file handles for open files become invalid which causes all kinds of problems for me, including the program in question to crash, or in your case Amarok to skip to the next song. not really any kind of a workaround at all.

I think I tried all the sync_cache and read ahead options that I could think of that made any sense. though I will confirm suggestions.
Ironically, turning on the debug output with the -d switch is the only thing that makes the problem go away, though it cripples the execution speed, so debugging this is rather difficult.

I am 99% sure that it must be some kind of stack or buffer overflow as:

 trickle -s -u 150 -d 150 sshfs -f Geoffrey@xxxxxxxxxxx: xxxxxxxxxxxx/

executes successfully, albeit with the program executing at a quarter the speed it should.

(trickle limits the network bandwidth available to the process)

This would indicate a problem with outstanding requests, but before anyone asks, setting -o max_read=1 and / or -o max_write=1 does not solve this, or make any discernible difference whatsoever.