Charlie Kravetz | 3 Apr 22:10 2010

An introduction

Allow me to introduce myself. I am a bug triager for Ubuntu bugs. I
have been using Ubuntu/Xubuntu since version 5.10, and, while not
employed by Canonical, volunteer time working with bugs. I have
forwarded a couple of bugs upstream to you. I hope this is the proper
method of sending bugs in. If it is wrong, please correct me and let me
know where to file these bugs.

I would like the opportunity to work with you as laison to Ubuntu, if
possible. I realize this may be something new to you. It sometimes
makes it easier for a single contact to keep track of bugs and forward
them rather than having several people doing so. I do post responses to
these bug messages on Ubuntu Launchpad, which is used to track bugs in
Ubuntu. I also forward comments from the bug reporters to questions
asked by upstream. Is there an easier method to do this for you?

Thanks for your time involved in making fuse-sshfs the application it
is.

--

-- 
Charlie Kravetz 
Linux Registered User Number 425914          [http://counter.li.org/]
Never let anyone steal your DREAM.           [http://keepingdreams.com]

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
(Continue reading)

Charlie Kravetz | 3 Apr 22:15 2010

Bug 554749 in fuse-sshfs

I am forwarding this bug report. Please feel free to email any response
or questions to: charlie-tca <at> ubuntu.com or the above email address.
Thanks for your assistance.

This bug has been reported on Ubuntu Launchpad as: 
https://launchpad.net/bugs/554749

Forwarded from the launchpad report: 

I have several disks on a headless server, and I mount them on my
desktop using SSHfs. The server runs Karmic, the desktop Lucid.

The problem is that every now and then one (or more) of the sshfs
mounts lock up. What this means depends on the program using the
mountpoint. If Amarok is playing a song, it stops generating sound, but
I can press “stop” and play some local files. If it’s Nautilus or even
a “ls” in a terminal, it freezes until killed. I’ve had a few cases of
programs turning zombie, too (I had to reboot to release the
mountpoints).

It’s not deterministic, but it seems to happen more often (but not
exclusively) when the mount is used more intensely, ie when several
programs access it at the same time.

Most frequently it’s the mountpoint with music that does this (simply
because I have music playing almost all the time); in those cases I can
stop Amarok and try to unmount everything. This tends not to work:

$ unmount-all [a script that unmounts every SSHfs mount]
umount: /media/corum: device is busy.
(Continue reading)

Charlie Kravetz | 3 Apr 22:00 2010

single-thread option for fuse-sshfs

I am forwarding this bug report. Please feel free to email any response
or questions to: charlie-tca <at> ubuntu.com or the above email address.
Thanks for your assistance.

This was reported on Ubuntu Launchpad as: 
https://launchpad.net/bugs/213644

Forwarded from the launchpad report:

Fuse allows mounting fuse filesystems through fstab. Various options
can be passed through to the mount application. In the case of SSHFS,
this is /sbin/mount.sshfs.

The problem is that it's not possible to give the option to start in
single-threaded mode. This can be started manually through the sshfs
binary using the "-s" option; however, fstab-usable options can only
be given through the "-o option_name" method. SSHFS has many such
options, but none for single-threaded mode.

Since multi-threaded execution causes some serious bugs (e.g. bug
#137514) it would be very useful to be able to give this option in
fstab.

Observe that you can call, eg, “sshfs -s -o some_option server:path
local/path”. The “-s” tells sshfs to disable multi-threaded
operation, and the “-o some_option” are what it calls “mount options”. 
The latter can be specified in fstab, the former can’t.

--

-- 
Charlie Kravetz 
(Continue reading)

Jelle de Jong | 5 Apr 23:09 2010
Picon

Re: Bug 554749 in fuse-sshfs

Hi Charlie,

Thanks for the introduction, I am not a fuse-devel but I still welcome
you. We have done some discussions in the early days of xubuntu. I now
use Debian with XFCE.

Charlie Kravetz wrote, on 03-04-10 22:15:
> The problem is that every now and then one (or more) of the sshfs
> mounts lock up. What this means depends on the program using the
> mountpoint.

This sounded so familiar from something I had almost a year back and I
started to wonder what the solution was. I looked up my thread:

http://sourceforge.net/mailarchive/message.php?msg_name=48837B13.70206%40powercraft.nl

I know I contributed to Debian and possible Ubuntu to add the debug
package for the fuse sshfs system. I don't remember what the actual
solution became for the freezing. I think the freezings stopped when
the server-side got a update to a newer version of the openssh-server.

The only freezes I get are now temporary when I use all the bandwidth
when transferring large files over gigabit LAN connections. sshfs
stops responding to parallel actions until the transfer is completed.

Best regards,

Jelle de Jong

------------------------------------------------------------------------------
(Continue reading)

Markus Feldmann | 6 Apr 09:39 2010
Picon
Picon

unkonw user

Hi All,

i am using sshfs, but on my linux-server-system i have different 
user-is's than on my linux-client.

How can i solve this? Is there a software who manage this? I do not want 
to set up all user-id's on server- and client-system.

regards Markus

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Markus Feldmann | 6 Apr 09:55 2010
Picon
Picon

Re: unkonw user

Hi All,

i am using sshfs, but on my linux-server-system i have different
user-id's than on my linux-client.

How can i solve this? Is there a software who manage this? I do not want
to set up all user-id's on server- and client-system.

is this where ldap and kerberos take place?

regards Markus

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
rhn | 5 Apr 21:51 2010

Suspend

Hi

I use sshfs on a daily basis to keep my data synced between my desktop and my laptop. It works pretty well, but
I'm forced to close all my apps whenever I want to hibernate the laptop and unmount all sshfs shares, or
otherwise the X session stays. This is pointless, since the network connection is already down and I have
to sudo umount -f $share && fusermount -u $share.

Can anything be done about it? Can sshfs detect going asleep and close the network connection, then try to reconnect?

Cheers,
rhn

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Miklos Szeredi | 6 Apr 12:06 2010
Picon

Re: Bug 554749 in fuse-sshfs

On Mon, 05 Apr 2010, Jelle de Jong wrote:
> Hi Charlie,
> 
> Thanks for the introduction, I am not a fuse-devel but I still welcome
> you. We have done some discussions in the early days of xubuntu. I now
> use Debian with XFCE.
> 
> Charlie Kravetz wrote, on 03-04-10 22:15:
> > The problem is that every now and then one (or more) of the sshfs
> > mounts lock up. What this means depends on the program using the
> > mountpoint.
> 
> This sounded so familiar from something I had almost a year back and I
> started to wonder what the solution was. I looked up my thread:
> 
> http://sourceforge.net/mailarchive/message.php?msg_name=48837B13.70206%40powercraft.nl
> 
> I know I contributed to Debian and possible Ubuntu to add the debug
> package for the fuse sshfs system. I don't remember what the actual
> solution became for the freezing. I think the freezings stopped when
> the server-side got a update to a newer version of the openssh-server.

I've seen a freeze recently with an openssh server version 5.1.

> The only freezes I get are now temporary when I use all the bandwidth
> when transferring large files over gigabit LAN connections. sshfs
> stops responding to parallel actions until the transfer is completed.

Does it stop responding completely, or is the response time just
slowed down?
(Continue reading)

Miklos Szeredi | 6 Apr 12:18 2010
Picon

Re: Suspend

On Mon, 5 Apr 2010, rhn wrote:
> Hi
> 
> I use sshfs on a daily basis to keep my data synced between my
> desktop and my laptop. It works pretty well, but I'm forced to close
> all my apps whenever I want to hibernate the laptop and unmount all
> sshfs shares, or otherwise the X session stays. This is pointless,
> since the network connection is already down and I have to sudo
> umount -f $share && fusermount -u $share.
> 
> Can anything be done about it? Can sshfs detect going asleep and
> close the network connection, then try to reconnect?

Possibly.  sshfs vs. suspend/hibernate is on my todo list.

Thanks,
Miklos

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Kirby Zhou | 27 Apr 08:32 2010

Why fuse-sshfs performance is so poor?

fuse-sshfs performance is poor? It can only reach 10M/s over the
gigabits-ethernet.
On the both endpoint, ssh and sshd processes take the CPU usage less than
20% with a single core of Inteal-E5520.
It seems the speed should be at least 40M/s.

]# dd if=olddata/diskdata count=100000 bs=64k skip=8000 | md5sum 
316211200 bytes (316 MB) copied, 32.2354 seconds, 9.8 MB/s

]# dd if=olddata/diskdata count=100000 bs=4k skip=8000 | md5sum   
28954624 bytes (29 MB) copied, 3.80448 seconds, 7.6 MB/s

]# dd if=olddata/diskdata count=100000 bs=512k skip=8000 | md5sum  
30408704 bytes (30 MB) copied, 4.33369 seconds, 7.0 MB/s

Regards,
   Kirby Zhou    
   from   SOHU-RD   +86-10-6277-8261

Gmane