[erlang-questions] locking caveats in file module

Max Lapshin max.lapshin@REDACTED
Wed May 18 11:57:19 CEST 2016


async thread pool cannot help filelib:ensure_dir, because this library
method is using only global singleton file server.

Customer has mounted NFS and thus file_server_1 is blocked waiting for lost
UDP packet.


We have moved almost all file:read_file_info to explicit opening port and
calling not via singleton, but via separate port, but filelib:ensure_dir is
using singleton process.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160518/50d4e6e5/attachment.htm>


More information about the erlang-questions mailing list