From: akr@... Date: 2014-02-17T11:52:35+00:00 Subject: [ruby-core:60804] [ruby-trunk - Bug #9525] Stuck with Socket.pack_sockaddr_in Issue #9525 has been updated by Akira Tanaka. I think it is very difficult to add timeout to getaddrinfo() function in C. ---------------------------------------- Bug #9525: Stuck with Socket.pack_sockaddr_in https://bugs.ruby-lang.org/issues/9525#change-45219 * Author: Naotoshi Seo * Status: Feedback * 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/