all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#70669: 30.0.50; tramp-archive.elc opened too many times
@ 2024-04-30 11:23 Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-04-30 11:33 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-30 11:23 UTC (permalink / raw)
  To: 70669; +Cc: Madhu

This is forwarded from emacs-devel@gnu.org

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

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 --------------------





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#70669: 30.0.50; tramp-archive.elc opened too many times
  2024-04-30 11:23 bug#70669: 30.0.50; tramp-archive.elc opened too many times Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-04-30 11:33 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-30 11:33 UTC (permalink / raw)
  To: 70669; +Cc: Madhu

Michael Albinus <michael.albinus@gmx.de> 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-30 11:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 11:23 bug#70669: 30.0.50; tramp-archive.elc opened too many times Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-30 11:33 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.