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 - Remote FS hangs for 5 minites on /ws/emu-patch if /ws/... is in PATH
Summary: Remote FS hangs for 5 minites on /ws/emu-patch if /ws/... is in PATH
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-08 12:32 UTC by Vladimir Kvashin
Modified: 2015-05-09 08:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed fix (48.55 KB, patch)
2015-05-07 18:09 UTC, Vladimir Kvashin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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