This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251007

Summary: Remote FS hangs for 5 minites on /ws/emu-patch if /ws/... is in PATH
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: RemoteAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: proposed fix

Description Vladimir Kvashin 2015-03-08 12:32:17 UTC
I've added /ws/ntrunk/builds/trunk/biweekly/latest... into my path on remote host. Ater that I noticed that remote host setup hangs for about 5 minutes.

Investigation shows that one fs_server thread is waiting for
access("/ws/emu-patch")
Comment 1 Vladimir Kvashin 2015-04-08 21:46:06 UTC
When using java.io.File on remote machine and calling canRead(), canWrite(), canExecute() - I see the same behavior
Comment 2 Vladimir Kvashin 2015-05-07 18:09:30 UTC
Created attachment 153554 [details]
proposed fix
Comment 3 Vladimir Kvashin 2015-05-08 09:34:57 UTC
This should be probably considered as a workaround rather than fix, but that's a maximum I can do: a check box "Check ACL-based remote file permissions" was added to host setup and host properties dialog. By default it is ON, if you check it OFF, such broken directories won't slow remote file system down (unless somebody is trying to go inside).

http://hg.netbeans.org/cnd-main/rev/f77eb56c598f
http://hg.netbeans.org/cnd-main/rev/6c62fe30b7b8
Comment 4 Quality Engineering 2015-05-09 08:08:54 UTC
Integrated into 'main-silver', will be available in build *201505090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f77eb56c598f
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixing #251007 (Remote FS hangs for 5 minites on /ws/emu-patch if /ws/...) - native part