Issue #9525 has been updated by Akira Tanaka. Motohiro KOSAKI wrote: > I'm not an expert this area. But I guess we don't need to call getaddrinfo() in this case > because the name was already resolved. > How about bypass to call getaddrinfo when 'host' is given by IP address? Yes. It is the workaround I said. ---------------------------------------- Bug #9525: Stuck with Socket.pack_sockaddr_in https://bugs.ruby-lang.org/issues/9525#change-45261 * Author: Naotoshi Seo * Status: Third Party's Issue * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: 1.9.3p194 * Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- We met this trouble with Fluentd https://github.com/fluent/fluentd. Fluentd is sometimes stuck at `Socket.pack_sockaddr_in` line on shutdown. Here is the gist https://gist.github.com/sonots/9047653 to explain details. -- http://bugs.ruby-lang.org/