From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: tramp "too many open files" Date: Sun, 26 Mar 2023 20:56:11 +0200 Message-ID: <87jzz3ibp0.fsf_-_@gmx.de> References: <87ttyfzcpf.fsf@gmx.de> <20230321.001721.167098091969271495.enometh@meer.net> <87bkkmsb7b.fsf@gmx.de> <20230326.045312.1258046693066266048.enometh@meer.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38010"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 26 20:57:14 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pgVYI-0009c6-9l for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Mar 2023 20:57:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgVXX-0000W4-DZ; Sun, 26 Mar 2023 14:56:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgVXV-0000Va-RC for emacs-devel@gnu.org; Sun, 26 Mar 2023 14:56:25 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgVXT-0002zm-KL for emacs-devel@gnu.org; Sun, 26 Mar 2023 14:56:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1679856972; i=michael.albinus@gmx.de; bh=VC+pnwwyvHEse4R37H29M5H3knG4O283MvZzSZxxrJg=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=J7V1ffN1lv+j9PR4EZ6kkMlCuxrutPi4y3nsX80i+GtxeqeaHaILsM+ov/yCIWNN4 ZDIceYI4KTo/FkU7Cqs84kqjZ1SigNdQxz4QIKgsP9Txy1gsyeEVjYJjjHEHlVvUg6 pNWdg5/VVWGE4zAI5d3z4i0TfuCbCww6moft+kFJnXtZ4ER5LX/y5GfEtVKm9iX6Is t9zpGkPuK8Kwi4dU1R+NtrDNASO7Fi2I3QulQYBJZVX8WVg2HML1Hidqv8E4PVhzOH em9SCu0oqPhsO7NcL0id2vWVGChqvf+I5PpcCEKwcMQECfzmWpEQE/Hv8wsfOk5087 Tw0fUyn3RGIew== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.19]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MtOKc-1qb5lK35aQ-00usW6; Sun, 26 Mar 2023 20:56:12 +0200 In-Reply-To: <20230326.045312.1258046693066266048.enometh@meer.net> (Madhu's message of "Sun, 26 Mar 2023 04:53:12 +0530 (IST)") X-Provags-ID: V03:K1:Kq53AyCXzJl0kyQz7U6HHMYrFwolCHUUQNCnWIKFj0APJsTzXWp wyvLB5ZceaeR5XVrFAOej8j6PQ5PcMcgdTFPEswmYUG5sNlacF8aUrha4f3pwlkfoGz3fgo GRyKlQCOHZaXhu3supuTfeD3fOsAWv011/MhD7ueng6CZ9HCGjdxA8O+U+dvftuvgJukTaB jBkRUoxZMfnYuAZNg608g== UI-OutboundReport: notjunk:1;M01:P0:0A3p21Er2q8=;di0NAdjjBGhX0+SDH5wvKCi1ESK J8wcCvK3eUbBa+WF3t4RInFlsNr2tTzr0jQDnONQnzZsHolC9W/dPRaYwTYnO6/S9RcDmXzr7 /nxSIXdnRZ+6vUDrzgic6GrW5cVjIBFVqlP5hdhhFMFi9YkkZqm/dcV/PPbzfW0osc9aHUNYS NyS9Z1FkZGl8szaRDtFmhkDB9KBp6iqryKTwuAnhyk9xiHOO8zulrKZlqPVyI5AcyOMk/GghS HpPd3hYlYyQLVy7tIJ3Mz0Ps9vAa9pePxqF9GZbMoXx8JTqQ8A/YkoGt2fSF/FKUVnr4RjEZ3 xe6ZDWTRxvVEIu0wu6UH+1OqlpXKrILcGSRQ+EizE+Z3KumQg1wnhxy8u0LH27qlHoC4qGOKb xOG2uLCjSPdm3Z8w0h2Kk1GGgBrTZDZYxijnPA6gJarGsK6/0IeMUTye7IWHWoP6BlfygU8W0 TPcsKGY5DmUMRCg+V4coyFDXLL8RIzzQa1d/xxQ68t9uCHzOHFohH0pDxRtQcz1rtCdGbfIYR XZl1ZL7DAk3pbAi5+cuxTWsxyJrO7UwdioueDStpWQhlkH75kjX7MdBUdCkt8gRQADiQmAH+N 69WbdqbvsvciiRIcOSAXZ1GHYoo1lg62K0vxM3DS7osqdBP0DmQglv39lR1p6aAb+bfsQdpz5 FBOC3btCdmedjhccviF76XHSFMOaXqBXrry8e1wo65ZXpyYUa1mii90F71MgGG0O3wM2mAGLv 9nBYMvzk5a9IkY4nzjMyWlXp1zRVu7s7HIMxAB04ERwY5t7rzSu69Ruk0CJoHZ/WwCxJX8JI Received-SPF: pass client-ip=212.227.17.21; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304777 Archived-At: Madhu writes: Hi Madhu, > After I posted my message I had upgraded both libarchive and gvfsd > (1.45.3->1.50.4) and tried opening the zip attachment (which was now > saved via mew) with the / suffix and it worked as expected, without > blowing up, so nothing is actionable now. Good. > My previous version of gvfsd did not have /usr/libexec/gvfsd-archive > when I reported the bug[1] I've added a sanity check to tramp-gvfs.el, in order to detect whether the needed GVFS backend is applicable. Pushed to master. Temporarily, I've removed the Fedora package gvfs-archive from my laptop. And indeed, this sanity check did signal the problem. So I guess we're done with this problem. >>> Usually I run without a system dbus (but with a session dbus for >>> emacs). tramp-archive disables itself when it finds it cannot connect >>> to a system dbus, so I was protected from it being triggered. (btw if >>> the situation changes, and a system dbus comes up later, it has to be >>> initialized explicitly with (dbus-init-bus :system)) >> Right, although I'm not sure the system bus is needed. GVFS works over >> the session bus if I'm not mistaken. The system bus is needed for >> zeroconf only. > > [tramp-gvfsd still seems to turn itself if it doesnt find the system > dbus enabled when it is first loaded. If the system bus comes up > later, emacs has to be made aware of it manually and tramp-gvfsd has > to be reloaded, and tramp-register-archive-autoload-file-name-handler > has to be invoked by hand before it can open archive files.] Hmm. I don't know whether this is a common case (running no system bus) we need to handle in Tramp. > ---Best Regards, Madhu Best regards, Michael.