GNU bug report logs - #70669
30.0.50; tramp-archive.elc opened too many times

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Madhu <enometh@HIDDEN>; dated Tue, 30 Apr 2024 11:25:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 70669 <at> debbugs.gnu.org:


Received: (at 70669) by debbugs.gnu.org; 1 Mar 2025 16:33:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 01 11:33:27 2025
Received: from localhost ([127.0.0.1]:42116 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toPmJ-0001UY-C2
	for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 11:33:27 -0500
Received: from smtp5.ctinetworks.com ([205.166.61.198]:56426)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <enometh@HIDDEN>) id 1toPmG-0001UL-Uy
 for 70669 <at> debbugs.gnu.org; Sat, 01 Mar 2025 11:33:25 -0500
X-ctinetworks-Watermark: 1741710804.60078@LxZmKBW2+1Deai9wzK1bcA
X-ctinetworks-Envelope-From: enometh@HIDDEN
X-ctinetworks-SpamCheck: 
X-ctinetworks-VirusCheck: Found to be clean
X-ctinetworks-Message-ID: 7D0EE2064EFD.A4CC2
Received: from localhost (unknown [117.254.37.20])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 (Authenticated sender: enometh@HIDDEN)
 by smtp5.ctinetworks.com (Postfix) with ESMTPSA id 7D0EE2064EFD;
 Sat,  1 Mar 2025 11:33:22 -0500 (EST)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp5.ctinetworks.com 7D0EE2064EFD
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meer.net;
 s=ctidkims1; t=1740846803;
 bh=hH/nNZ2sW6wuH0Fz7VlhaavKHSohULin0Ugnhdueb7Q=;
 h=Date:To:Cc:Subject:From:In-Reply-To:References:From;
 b=uiRyBNQi6P31FyDR0+54XtXDEJwR4qHyk+l8ggLTjlytKzekN3+Lfj5t6z7ymD30y
 6GCtzz0jMRbU3M0ADUm6PTydIX7gy6op8jPGadcI08x/VoEUSAkCP3oVoyqeX7vMZt
 /3ROzjRXczw6lmY43aXzDoaLwooZo/mhh8sbuJd8=
Date: Sat, 01 Mar 2025 22:03:32 +0530 (IST)
Message-Id: <20250301.220332.534925759450010530.enometh@HIDDEN>
To: stefankangas@HIDDEN
Subject: Re: bug#70669: 30.0.50; tramp-archive.elc opened too many times
From: Madhu <enometh@HIDDEN>
In-Reply-To: <CADwFkmn4FH+dmheK-dBD9W25swtxcSj0FyjSqkMV34hkmDygLQ@HIDDEN>
References: <87cyq7hz5q.fsf@HIDDEN> <871q6nhyp9.fsf@HIDDEN>
 <CADwFkmn4FH+dmheK-dBD9W25swtxcSj0FyjSqkMV34hkmDygLQ@HIDDEN>
X-Mailer: Mew version 6.9 on Emacs 31.0.50
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70669
Cc: 70669 <at> debbugs.gnu.org, michael.albinus@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

*  Stefan Kangas <stefankangas@HIDDEN> <CADwFkmn4FH+dmheK-dBD9W25swtxcSj0FyjSqkMV34hkmDygLQ@HIDDEN>
Wrote on Fri, 28 Feb 2025 18:39:13 -0800
> Michael Albinus <michael.albinus@HIDDEN> writes:
>> Michael Albinus <michael.albinus@HIDDEN> writes:
>>> Hello, I am getting DoSed with "Too many open files", and they all
>>> seem to be tramp-archive.elc
>>>
>>> I have  tramp-archive-enabled => nil
>>> (featurep 'tramp-gvfs) => nil
>>>
>>> The only "weird" buffer I have is a file in Zip-Archive mode.
>>>
>>> $ lsof -n | grep tramp-archive | wc -l => 5015
>>> of these 1003 entries are from the main emacs process
>>> and 1003 entries are from 4 pthread tasks each as below
>>>
>>> ```
>>> emacs     10143 10267 gdbus        madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
[7 similar lines snipped]
>>> ```
>>
>> This looks like a usual result for one Emacs instance. In my case, I get
>>
>> # lsof -n | grep tramp-archive
>> emacs     120407                          albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
[5 lines snipped]
>> Are all reported results for pid 10143 (the Emacs pid) in your case?

Yes it was

>>> Any ideas why this might be happening or if it is a solved problem,
>>> and if I can isolate myself from it?
>>>
>>> problems with dbus tend to be fatal, once you get into a situaion the
>>> design of dbus prevents recovery and forces the removal of all
>>> evidence which might have caused the attack...
>>
>> What makes you think it is a D-Bus problem?

Why are there so many open files to tramp-archive.eln in the first
place? perhaps the files are mapped for each " thread (named "gdbus"
by glib) which are spawned to handle something that tramp-archive is
doing via dbus?

> Ping.  Madhu, could you answer Michael's questions above?

Locally I made that tramp-archive is never loaded so I haven't
triggered this problem again.  Sorry that's not of much help.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70669; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 70669 <at> debbugs.gnu.org:


Received: (at 70669) by debbugs.gnu.org; 1 Mar 2025 02:39:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 21:39:22 2025
Received: from localhost ([127.0.0.1]:56447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toCl8-0003C8-7j
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 21:39:22 -0500
Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:49203)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1toCl6-0003Bb-0c
 for 70669 <at> debbugs.gnu.org; Fri, 28 Feb 2025 21:39:20 -0500
Received: by mail-ed1-x536.google.com with SMTP id
 4fb4d7f45d1cf-5deb1266031so4749257a12.2
 for <70669 <at> debbugs.gnu.org>; Fri, 28 Feb 2025 18:39:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740796754; x=1741401554; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=lAFOWhdoe8eT8jP9dlZ4p2xJsX5up9hhAbEFD/yMUVY=;
 b=jprxhmP+zrT7bl6l9BEgBSqB1A/EK00fDPphvb0UePXNCvPVL05uwIteJBtZ9G4XVX
 kjZ2f5m/NyUGw/FuyuNS7457mVasF3+YZUytE1lsH/SyeuKh7QtoClz6U4ffJaKqjvnM
 wadSvBGpKigmxOYyzSXJu60Qn/GfNGFDLTetmR+wHRiDbxbvcczyuFJGBhf0iVofNgy/
 oKO5D5yDkoLpdGtArIpuBlykv+PvWETfjWYHDGOG6ue72vcOCeDX+6e2XbK+C2QubIWm
 FLeLduGobvVHV8LdFi1PRx3vVmETgPM3Q/pI+6cDP55wn/RIKclAkOTz+Wxw3whFvA8p
 apUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740796754; x=1741401554;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=lAFOWhdoe8eT8jP9dlZ4p2xJsX5up9hhAbEFD/yMUVY=;
 b=VLnXubVLMDy6pnB4TFnhQDMw7tOVBiE2vz8dFiZAxMyDoJvkQJndEtyhSkz9FcM8ZQ
 EhDbyPgr3CR2p18VtpIOLVjgqC2ZXVfvTk2iXoM1Pa0K7ftVEcNXEAd2LYbGjWJdYNbN
 10sXzkTVfjVrYiJ6Yc3MdnOcRWUd9AeD2vVCAGSiKuZFoAJhVOlpb6rcoSZIaehR57Re
 +YZGIN86RkByeRY3M47JdGl+UdF4KXS5y/XVENXF1V1YvEZ++l5/h1/ZJzE8KKiksRSX
 hP4nszHN6XlTSMkNJUKacW3Br2GMKUEpTcbNFtv728625P1Q34/4YnfQ7qPYSCf42gLc
 zJgA==
X-Gm-Message-State: AOJu0Yx95nOfPEmNbpX03z8DvSw8Q8YqoLZ+IgEeXA1+ytdRrEgIwtx0
 rU7bz9BNADRgaQSKu4WJwn/tHmBrOMgAWpIZaZk7ZgfoTYuTCH9x0EMChjq1AYWrweywgtq56Aj
 4OvjoLGhlNTVQncv3GlSHwQJg35Q=
X-Gm-Gg: ASbGncsDEKlSuJhTX/lOt5TDMTHxQNxTqYl740OHGn9HKW/ZEIu2JIjlYvIw0pNgJ1W
 VXJG5ls7LtbnC+Hu8VqJoo9KGGxPDQCgHjtBgZaKO65SCzxevS2bwqIuxSE1GkZFf9EnhasQeJX
 DgOCPB4z5uB177uUIcu8AixXTOdP8=
X-Google-Smtp-Source: AGHT+IEGEzj06r0CojCPsrbF8qzFzxOxEJ56IWIRYRm9QglXHb7tI6nw320lGk54lpX69Ic41YJtVKXqZhMmJUeQDkg=
X-Received: by 2002:a05:6402:1e94:b0:5e0:9ffa:1348 with SMTP id
 4fb4d7f45d1cf-5e4d6ad51a4mr4374312a12.2.1740796753795; Fri, 28 Feb 2025
 18:39:13 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 28 Feb 2025 18:39:13 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <871q6nhyp9.fsf@HIDDEN>
References: <87cyq7hz5q.fsf@HIDDEN> <871q6nhyp9.fsf@HIDDEN>
MIME-Version: 1.0
Date: Fri, 28 Feb 2025 18:39:13 -0800
X-Gm-Features: AQ5f1JoYC6jhgpzIvKzRfswfTKAtMFjHmq4qSoeQ-cDg2gh0lNFXXlnPDoMcglI
Message-ID: <CADwFkmn4FH+dmheK-dBD9W25swtxcSj0FyjSqkMV34hkmDygLQ@HIDDEN>
Subject: Re: bug#70669: 30.0.50; tramp-archive.elc opened too many times
To: Michael Albinus <michael.albinus@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70669
Cc: 70669 <at> debbugs.gnu.org, Madhu <enometh@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Michael Albinus <michael.albinus@HIDDEN> writes:

> Michael Albinus <michael.albinus@HIDDEN> writes:
>
>> Hello, I am getting DoSed with "Too many open files", and they all
>> seem to be tramp-archive.elc
>>
>> I have  tramp-archive-enabled => nil
>> (featurep 'tramp-gvfs) => nil
>>
>> The only "weird" buffer I have is a file in Zip-Archive mode.
>>
>> $ lsof -n | grep tramp-archive | wc -l => 5015
>> of these 1003 entries are from the main emacs process
>> and 1003 entries are from 4 pthread tasks each as below
>>
>> ```
>> emacs     10143                 madhu   16r      REG               8,14     27080    1401209 /14/build/emacs/lisp/net/tramp-archive.elc
>> emacs     10143 10264 pool-spaw    madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
>> emacs     10143 10265 gmain        madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
>> emacs     10143 10266 dconf\x20    madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
>> emacs     10143 10267 gdbus        madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
>> ```
>
> This looks like a usual result for one Emacs instance. In my case, I get
>
> # lsof -n | grep tramp-archive
> emacs     120407                          albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
> emacs     120407 120412 pool-spaw         albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
> emacs     120407 120413 gmain             albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
> emacs     120407 120414 gdbus             albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
> emacs     120407 120416 emacs             albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
> emacs     120407 120417 dconf\x20         albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
>
> Are all reported results for pid 10143 (the Emacs pid) in your case?
>
>> Any ideas why this might be happening or if it is a solved problem,
>> and if I can isolate myself from it?
>>
>> problems with dbus tend to be fatal, once you get into a situaion the
>> design of dbus prevents recovery and forces the removal of all
>> evidence which might have caused the attack...
>
> What makes you think it is a D-Bus problem?

Ping.  Madhu, could you answer Michael's questions above?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70669; Package emacs. Full text available.

Message received at 70669 <at> debbugs.gnu.org:


Received: (at 70669) by debbugs.gnu.org; 30 Apr 2024 11:34:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 30 07:34:13 2024
Received: from localhost ([127.0.0.1]:59399 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s1lkS-0007jX-J5
	for submit <at> debbugs.gnu.org; Tue, 30 Apr 2024 07:34:12 -0400
Received: from mout.gmx.net ([212.227.15.15]:49583)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1s1lkP-0007jG-ON
 for 70669 <at> debbugs.gnu.org; Tue, 30 Apr 2024 07:34:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de;
 s=s31663417; t=1714476819; x=1715081619; i=michael.albinus@HIDDEN;
 bh=/stvg67f7LElMtO2k7GUmFSMuDvA2sBt8s0eo1iCw2A=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=YxEQLnnwISopwElduXVLmjG7okwQxkDzsxaZO7WOMivtTlLxUlKVsbOhpe22vRux
 rPdCPQU6hXqkEQ3VDahKTGoLND/XB+ItIvl1Sx3orw9jAWX03/Hg3HnShf3IBiLrB
 2kMD2e9qbYVxH1J5XzN7oVSiKxIY/0ic1RJ9eZjLo10z9mYw5u/CfWojiaqbaSSSA
 h6KJIs2XqgKBTvoMMN9G5EnGrXLfHond+kD4p2m/0JK8NFHC7QRmjVqBauNzW/GRA
 CWc1oK88eUEh8IkcXidGCbp2fL64g+7AGkulT06ICqAnT9a+A2P4m4/EZiBFuYD95
 DAMd8yTn+pU6/no8BQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([185.89.39.16]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N3se2-1sjay312SO-011YYX; Tue, 30
 Apr 2024 13:33:39 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: 70669 <at> debbugs.gnu.org
Subject: Re: bug#70669: 30.0.50; tramp-archive.elc opened too many times
In-Reply-To: <87cyq7hz5q.fsf@HIDDEN> (Michael Albinus's message of "Tue, 30
 Apr 2024 13:23:45 +0200")
References: <87cyq7hz5q.fsf@HIDDEN>
Date: Tue, 30 Apr 2024 13:33:38 +0200
Message-ID: <871q6nhyp9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:ci2D5r6DHa8yTQLhdXdtT+z2rBTs4osQFJcgp+9zkvZP8GTFKO7
 dANNYEBz0oz3Kuwp8L19LwLm0FvRQFEIAqPTqibRVrChyUo6vY3LJ7/UczxJjogqbddyL1T
 JWCKqy5ujgS4J7hfgQ3Bcz68eLthLbwRgVrzqrLk5y2ALJTswQ8vg3dGZAKNl27gHfEr+ov
 X4GsMv4VcIYtsMgGfAh2g==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:5IIz83YVkL0=;JDTi73BjhGIpTr882ePwKhatD4n
 H8ocizqF9mA7awSKHJ+nLlC4wd/1gi283o8/qXfKwk3ksyedtqUCLB11TDB+sJUqqFD00NKif
 8qEvBamI5V3WqqanQ3XIF2cWTwQb31bBntOl+9WGFFyRa+6R9RiV+LfV2WLmJODP9ROmaUax4
 8FV+KyV09e+wLuvnmPDM9XqB+HngL2ltWbOiW9D28mcdHubilvsJwFNT6P8kffoU2kvwutHVn
 YyQUOV70Ju7E41NmGH6hnAp3NJ992b9Hje4FzBmcLp/vpUquSS6OcT+clx+E9WnnZCPwTric/
 ddyE6mCca+rPFV13TMQu2qBgRmGOCXQCQh4sy8zC2UN5DHTWjjuo/Hcgl7KfEUSrw3Zd5SOYf
 PwPfpOpPlwfxqH9jYwe7e3N7eNTzbyieaKmNf05gxDvfXNTGrxpPH5av+QZHLVaD2zOJj59Ol
 Mp2wYSyis/4FA9nnIFYSd3lJUCmVkKyPR3Flh1hzyjh2IKwF4TV3XwMse/WRHYNb+UMsGI2qS
 kaZO4i83iR5iJ+EnlGWF1cNNVijs3fFamAnRX/n5yHt2xCLE96Cjft49pi6Vin3EKII7r5oco
 1Bsf+vaoUfu9nVYRzpdtOEuXjCUO620IrdfcfvFZ/tG9ymfsPrsa45vMsbFkc8aEspjWdyuDs
 Bot2EHKUcDLegsRQi1e7VQFbaKFR2VlfaVf+8y1NbQwbF4XBrrk74mYJnpVNDqEpjyNqHR8QV
 zMkUwwyIFNA7e8PNJTIoS+4SPghGLyQCkUdoi72d3W7nPcYWGLsFXZiaIMA4CjuIpmf2V/9Ng
 96S7PGF4XkJ4AgN+teregHm6sRXMICpFDB3WJy3AJE56E=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 70669
Cc: Madhu <enometh@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Michael Albinus <michael.albinus@HIDDEN> writes:

> Hello, I am getting DoSed with "Too many open files", and they all
> seem to be tramp-archive.elc
>
> I have  tramp-archive-enabled => nil
> (featurep 'tramp-gvfs) => nil
>
> The only "weird" buffer I have is a file in Zip-Archive mode.
>
> $ lsof -n | grep tramp-archive | wc -l => 5015
> of these 1003 entries are from the main emacs process
> and 1003 entries are from 4 pthread tasks each as below
>
> ```
> emacs     10143                 madhu   16r      REG               8,14     27080    1401209 /14/build/emacs/lisp/net/tramp-archive.elc
> emacs     10143 10264 pool-spaw    madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
> emacs     10143 10265 gmain        madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
> emacs     10143 10266 dconf\x20    madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
> emacs     10143 10267 gdbus        madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
> ```

This looks like a usual result for one Emacs instance. In my case, I get

--8<---------------cut here---------------start------------->8---
# lsof -n | grep tramp-archive
emacs     120407                          albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
emacs     120407 120412 pool-spaw         albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
emacs     120407 120413 gmain             albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
emacs     120407 120414 gdbus             albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
emacs     120407 120416 emacs             albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
emacs     120407 120417 dconf\x20         albinus  mem       REG              253,2       91864   17328088 /home/albinus/.emacs.d/eln-cache/30.0.50-d9979fcc/tramp-archive-abf83eef-1bdedebd.eln
--8<---------------cut here---------------end--------------->8---

Are all reported results for pid 10143 (the Emacs pid) in your case?

> Any ideas why this might be happening or if it is a solved problem,
> and if I can isolate myself from it?
>
> problems with dbus tend to be fatal, once you get into a situaion the
> design of dbus prevents recovery and forces the removal of all
> evidence which might have caused the attack...

What makes you think it is a D-Bus problem?

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70669; Package emacs. Full text available.
Changed bug submitter to 'Madhu <enometh@HIDDEN>' from 'Michael Albinus <michael.albinus@HIDDEN>' Request was from Michael Albinus <michael.albinus@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Apr 2024 11:24:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 30 07:24:21 2024
Received: from localhost ([127.0.0.1]:59381 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s1lav-0004lm-7F
	for submit <at> debbugs.gnu.org; Tue, 30 Apr 2024 07:24:21 -0400
Received: from lists.gnu.org ([2001:470:142::17]:37208)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1s1laq-0004lc-Ud
 for submit <at> debbugs.gnu.org; Tue, 30 Apr 2024 07:24:19 -0400
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 <michael.albinus@HIDDEN>)
 id 1s1laQ-0002v3-EW
 for bug-gnu-emacs@HIDDEN; Tue, 30 Apr 2024 07:23:50 -0400
Received: from mout.gmx.net ([212.227.15.15])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael.albinus@HIDDEN>)
 id 1s1laO-0006eC-23
 for bug-gnu-emacs@HIDDEN; Tue, 30 Apr 2024 07:23:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de;
 s=s31663417; t=1714476226; x=1715081026; i=michael.albinus@HIDDEN;
 bh=kL9wgvrhz+ap2MlmaF2kxHMmIrLLJTezO4KYJHWC8a4=;
 h=X-UI-Sender-Class:From:To:Subject:Date:Message-ID:MIME-Version:
 Content-Type:cc:content-transfer-encoding:content-type:date:from:
 message-id:mime-version:reply-to:subject:to;
 b=emcQa2Ig6xoefhdNlyt3xnB6uD+tUGKzvAh5NGphOyB+cyO43Kmm+We2qEWs/twx
 bV7OQP2di47u4ZJE8gqjhcJLfRbZ+Y8+FnAQdruaAlN5vvwh7S+y5m4pVBtWix+NZ
 qvWeJCqJYP5Zt4Mo4og4rhR75YnRv76WO2cGqm9ssyuaF1d7IQtJBe697fVFCUXvG
 9C+MNGGCIs+xzbae1OxtgF0ZxYoQBc5jAvjV9m5NPqQj+nat3wtzdEwaH4GxexMll
 0qutI5I5AFhWME6Qpy8aE0gPgQiytkSBJ68+3/F/VbHaj5ipvsE7SBuUoxj9KbH4g
 WqLblEKWCrzl4PI4LQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([185.89.39.16]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWzk3-1s8bD10jFZ-00Yqhr for
 <bug-gnu-emacs@HIDDEN>; Tue, 30 Apr 2024 13:23:46 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; tramp-archive.elc opened too many times
X-Debbugs-Cc: Madhu <enometh@HIDDEN>
Date: Tue, 30 Apr 2024 13:23:45 +0200
Message-ID: <87cyq7hz5q.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:xfqHHzvXmf/3F4JOo3WY0Qc4QeBZxNUNXYPUq2tm1mHGzwv+nad
 gXnflFgabgp1BRwXW/NtMMHgOgvZMUXT7LzPREdnn6cdVGDEvyKWDGFJRV+6mETuKI7ZLqc
 xYQ4zc1OGaknX05WzPUKjju6JFmsjTLTuIlFX/1hGc7eiM/QuYHmJIz3xOnm5nKZ/6bEETs
 L23+hHwe2/PdWEw0fr4cg==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:NbRo6e1kPnA=;BH6BzfoeVqpfbPA+QbQzDU5DI5I
 PsAnKJ75O8ESZmIgJZNZab9v3uh31twBzOBkHOKhVzmNGsYfbd75NVW5TnSQY6HkPrcdLtjkO
 SwABQrxm5xrTKEOiWB0iyrhshh4uvesSRfiQUl+AVUylaDs3gQUI8COPvuXOTwFDYE4Otza80
 TufZaxgfy3/U9ZPOLYWT1MLFQTVdoFD2hiPR8WDd+2tf2vDdMKdwhFpejOMKPZQzg3oGFBI2N
 UGswoZNHDFTdYt/KPRkENuEJRUQCMIUqPAyFFmQ0wif/7qnWfF1Q/a9OrNjL7r/f3/xxKsTdT
 JiJjVDmvgVqLpXaNGLxW6w7EbOl1EZAB0CLMK8Gg2tSgSNxbM6T0mklFAeAbPJPaWAZXGcnsz
 iraUXpf/J0GuqNZwFUx7w6rdQ8XIlcM1Na6gx8cbLcCZhLxnZiE5AdYbio3QtTS00sUbs/Cer
 +9KDYqeIPu6l5XPHYp0bmYRCarCjmRSgapjrCniB/r4oW7uYRRstttcHMKkB+/TpmZz3zaLUD
 nCyGDoYzr1ONB6LjoQhMi1n3Cic3+pLMxUe8riDZK2yhByRiMPts9+ftZ7dGRNsp3aCkSKB+h
 /Zm/8FyLqRQDIuv6tDhenosVc3t0CWU6qYZSIXp7WnwfV8/BSs94w4uwBECust1xAlLtxXd+L
 Oq97UIEuQaHKSoyG8l7s0ypmJJlZ3F+sHbe4bJ+KVKU/p2dULQ4RDOSG9ClWojRy+DulqjnQI
 yJ76TWGUVC+1gfIroobY1rWOVyQOxuQ7DCfsqZfgK+wyakL43A7unWPvaa8AljnFqJOLRLY6T
 GOs1RCwFHKthmAyIbiTxS1+uoEQ/tiQMrH3i3QRQ1ZbWg=
Received-SPF: pass client-ip=212.227.15.15;
 envelope-from=michael.albinus@HIDDEN; 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is forwarded from emacs-devel@HIDDEN

-------------------- Start of forwarded message --------------------
From: Madhu <enometh@HIDDEN>
Subject: tramp-archive.elc opened too many times
Date: Sun, 28 Apr 2024 08:30:01 +0530 (IST)
To: emacs-devel@HIDDEN

Hello, I am getting DoSed with "Too many open files", and they all
seem to be tramp-archive.elc

I have  tramp-archive-enabled => nil
(featurep 'tramp-gvfs) => nil

The only "weird" buffer I have is a file in Zip-Archive mode.

$ lsof -n | grep tramp-archive | wc -l => 5015
of these 1003 entries are from the main emacs process
and 1003 entries are from 4 pthread tasks each as below

```
emacs     10143                 madhu   16r      REG               8,14     27080    1401209 /14/build/emacs/lisp/net/tramp-archive.elc
emacs     10143 10264 pool-spaw    madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
emacs     10143 10265 gmain        madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
emacs     10143 10266 dconf\x20    madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
emacs     10143 10267 gdbus        madhu   16r      REG               8,14    27080 1401209 /14/build/emacs/lisp/net/tramp-archive.elc
```

Any ideas why this might be happening or if it is a solved problem,
and if I can isolate myself from it?

problems with dbus tend to be fatal, once you get into a situaion the
design of dbus prevents recovery and forces the removal of all
evidence which might have caused the attack...


-------------------- End of forwarded message --------------------




Acknowledgement sent to Michael Albinus <michael.albinus@HIDDEN>:
New bug report received and forwarded. Copy sent to enometh@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to enometh@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#70669; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 2 Mar 2025 04:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.