From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mail.openembedded.org (Postfix) with ESMTP id 0B99D7826D for ; Mon, 28 Aug 2017 10:41:46 +0000 (UTC) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2017 03:41:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,441,1498546800"; d="scan'208";a="1211356256" Received: from kanavin-desktop.fi.intel.com (HELO [10.237.68.161]) ([10.237.68.161]) by fmsmga002.fm.intel.com with ESMTP; 28 Aug 2017 03:41:46 -0700 To: Richard Purdie , Trevor Woerner , seebs@seebs.net References: <1503423645.32591.120.camel@linuxfoundation.org> <96bce0e3-a699-4993-3748-a0fc19684ffa@linux.intel.com> <1503849667.32591.272.camel@linuxfoundation.org> <1503850064.32591.275.camel@linuxfoundation.org> From: Alexander Kanavin Message-ID: Date: Mon, 28 Aug 2017 13:38:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1503850064.32591.275.camel@linuxfoundation.org> Cc: Patches and discussions about the oe-core layer Subject: Re: long (never ending?) do_install for adwaita-icon-theme X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 10:41:47 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 08/27/2017 07:07 PM, Richard Purdie wrote: >>> On 08/22/2017 09:46 PM, Trevor Woerner wrote: >>>> $ strace -p 43675 >> Process 43675 attached >> read(1025, > > And the answer is staring me in the face. select() only supports FDs up > to 1024. 1025 > 1024 which is > FD_SETSIZE. > > Therefore pseudo hangs when we run into large numbers of fds :/. > > https://access.redhat.com/solutions/488623 > > So I think we might at least understand what is breaking. It may be > using poll/epoll would work instead? What I don't understand is how exceeding the fd limit in select() leads to read() that never finishes. Can you clarify the sequence please? Alex