[erlang-questions] use inet_res:getbyname get timeout when a lot of processes called
lili
chuanshuodelist@REDACTED
Sat Oct 3 12:45:32 CEST 2015
Hi friends:
I write a little program to look up a number of host name's Address.
I create 1W process to lookup a lot of host's address.
case inet_res:getbyname(www.xxx.com, a) of
it return {error, timeout}. but when i one by one call getbyname is ok.
Who know this reason.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151003/b28bf42e/attachment.htm>
More information about the erlang-questions
mailing list