From: Brian A. <ss...@br...> - 2006-11-04 14:20:11
|
Miklos Szeredi <miklos <at> szeredi.hu> writes: > > > Sorry to bother you guys. > > I've just tryed using sshfs on my ubuntu box (dapper) and I'm having > > truble with it since it is very slow. > > Every time I do a "ls" it hangs for about 3 seconds. > > > > That's the command I tryed: > > sshfs user <at> server: mnt_point -o cache=yes -o cache_dir_timeout=1000 -o > > cache_timeout=1000 > > > > I've tryed this big cache, but it's still slow. > > Any help is welcome. > > Can you please try with debugging turned on: > > sshfs -d -osshfs_debug ... > > I can't imagine why it's slow. > > Thanks, > Miklos > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > I've got the same problem, and using debug output I get the following information when I do an ls in any directory on my local computer (not even inside the mounted path) Server version: 3 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.7 INIT: 7.5 unique: 1, error: 0 (Success), outsize: 40 unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 48 LOOKUP /somalia [00000] LSTAT [00000] ATTRS 41bytes (27ms) NODEID: 2 unique: 2, error: 0 (Success), outsize: 136 unique: 3, opcode: LOOKUP (1), nodeid: 2, insize: 49 LOOKUP /somalia/bschroed [00001] LSTAT [00001] ATTRS 41bytes (28ms) NODEID: 3 unique: 3, error: 0 (Success), outsize: 136 unique: 4, opcode: LOOKUP (1), nodeid: 3, insize: 47 LOOKUP /somalia/bschroed/rqueue [00002] LSTAT [00002] ATTRS 41bytes (25ms) NODEID: 4 unique: 4, error: 0 (Success), outsize: 136 unique: 5, opcode: LOOKUP (1), nodeid: 4, insize: 44. : : : LOOKUP /somalia/bschroed/rqueue/lib/cmov [00032] LSTAT [00032] STATUS 33bytes (28ms) unique: 34, error: -2 (No such file or directory), outsize: 16 unique: 35, opcode: LOOKUP (1), nodeid: 5, insize: 45 LOOKUP /somalia/bschroed/rqueue/lib/cmov [00033] LSTAT [00033] STATUS 33bytes (27ms) unique: 35, error: -2 (No such file or directory), outsize: 16 unique: 36, opcode: LOOKUP (1), nodeid: 5, insize: 51 LOOKUP /somalia/bschroed/rqueue/lib/librt.so.1 [00034] LSTAT [00034] STATUS 33bytes (28ms) unique: 36, error: -2 (No such file or directory), outsize: 16 unique: 37, opcode: LOOKUP (1), nodeid: 5, insize: 52 LOOKUP /somalia/bschroed/rqueue/lib/libacl.so.1 [00035] LSTAT [00035] STATUS 33bytes (27ms) unique: 37, error: -2 (No such file or directory), outsize: 16 unique: 38, opcode: LOOKUP (1), nodeid: 5, insize: 56 LOOKUP /somalia/bschroed/rqueue/lib/libselinux.so.1 |