Issue 3089 - Open file: lockups, slowness, possibly related to NFS symlink dereferencing
Summary: Open file: lockups, slowness, possibly related to NFS symlink dereferencing
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 641
Hardware: PC Linux, all
: P5 (lowest) Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-13 23:44 UTC by Unknown
Modified: 2003-05-20 16:28 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-02-13 23:44:06 UTC
Start up OpenOffice from home directory (/h/users/krisa mounted over NFS).  Word
Processor opens with empty document.  Click "Open File" button in toolbar. 
OOffice locks up for 51 seconds, then the open dialog appears.

Current site design:

Hosts use amd for mounting NFS filesystems.  /h is a link to /net/phobos/h where
/net/phobos/h is a directory of symlinks to the proper /net/phobos/<filesystem>.

Under /h/users (/h/users -> /net/phobos/u) there are real directories and also
symlinks for users who exist at other sites.  You can have one user "krisa" who
has a real /h/users/krisa directory, and another user "foo" who's /h/users/foo
-> /net/otherlocationhost/h/foo.

My findings:

After the 51 seconds of lockup, I issue a "df" and notice amd has mounted a lot
of remote hosts.  It seems as if OOffice (even though starting in
/h/users/krisa) is dereferencing all the symlinks in /h/users, which is causing
amd to go out and mount the servers where these symlinks point to.

After opening up a .ppt file in /tmp, I have wanted to save it to
/h/users/krisa/doc and specified it by exact filename
(/h/users/krisa/doc/file.ppt) using "Save As", and it goes out and dereferences
everything under /h/users.  Sometimes this causes the system to freeze and lock
up due to the nature of NFS confusion, timeouts, and stale symlinks.

Tested systems are on RH7.2, amd v6.0.6, nfs-utils v0.3.1.  I tried this one two
hosts, similar configurations.
Comment 1 thorsten.martens 2002-02-14 09:35:20 UTC
This one was a know bug and has already been fixed to staroffice6.0
final and the latest available internal OO-version.
Comment 2 thorsten.ziehm 2003-05-20 16:12:31 UTC
This task is fixed or worked in OOo 1.1 beta2.
Comment 3 thorsten.ziehm 2003-05-20 16:28:47 UTC
closed ...