Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #270098

Re: Having ten thousands of mount bind causes various processes to go into loops

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Julien Petit <julien@nethik.fr>
Newsgroups linux.debian.user
Subject Re: Having ten thousands of mount bind causes various processes to go into loops
Date Fri, 14 Jun 2024 12:00:02 +0200
Message-ID <IPbSW-2Rkd-9@gated-at.bofh.it> (permalink)
References <IOtfb-2mws-7@gated-at.bofh.it> <IOzDX-2qrU-1@gated-at.bofh.it>
X-Original-To Richard <rrosner5@gmail.com>
X-Mailbox-Line From debian-user-request@lists.debian.org Fri Jun 14 09:57:10 2024
Old-Return-Path <julien@nethik.fr>
X-Amavis-Spam-Status No, score=-2.01 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .nethik. - helo: .mail-lf1-x135.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State AOJu0YxoEhPZKsEtGvSmiUN6N/6K36Dc3HrgiqIv9hzgNqQiq6nQ58L5 8zWIGxut/MMdSbiuZX6Bs9qj5IZaYhAMXnq+iggqCsyyB4as0OI+fPXagpGeFEG5T1jvw0VP+RO t0JnGfxnqojqPh808pLrqPkx3Zdudt/kuilwE
X-Google-SMTP-Source AGHT+IFjdhQ29JnjkD3UWbtvXBdeq0PlEkZ9QlK0LvjAFKFu7pUX5O2aW5cp2mpAj5z0emqGTXFMvoDg8ujrLLNq+TU=
X-Received by 2002:a19:f706:0:b0:52c:98ad:2a99 with SMTP id 2adb3069b0e04-52ca6e56033mr1453249e87.13.1718357949256; Fri, 14 Jun 2024 02:39:09 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-user@lists.debian.org> archive/latest/812155
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/CAGM=svR=mPAWQb4_39LKYBLX-GXEhmVNsVH5-DoYxO1xKP72vQ@mail.gmail.com
Approved robomod@news.nic.it
Lines 21
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-user@lists.debian.org
X-Original-Date Fri, 14 Jun 2024 11:38:57 +0200
X-Original-Message-ID <CAGM=svR=mPAWQb4_39LKYBLX-GXEhmVNsVH5-DoYxO1xKP72vQ@mail.gmail.com>
X-Original-References <CAGM=svS6inUgeX+dPKAnCXh95j67Lme1h2RfZdw9ORAErxhH9w@mail.gmail.com> <CAJdFKOmqmpfHsz1Fpfb0G-MpmMQA1SkQF35P88QmFi6SdWyd1w@mail.gmail.com>
Xref csiph.com linux.debian.user:270098

Show key headers only | View raw


> Best question probably is: what exactly are you needing 14.000 mounts for? Even snaps shouldn't be that ridiculous. So what's your use case? Maybe there's a better solution to what you are doing. If it's just about having a place that is rw only without execution permissions, just crate a separate partition, mount it somewhere - e.g. /home/test/mounts and tell mount/fstab to use the option noexec. No need for for your script. Or if it's a more advanced file system like btrfs you may be able to simply create a subvolume with the same capabilities, no need to tinker around with partitions.

We use the mounts to share an initial folder with either rw or ro
wrights in a user directory. The user directory is then accessible
through a web interface, sftp, webdav and rsync. There is probably
better ways to do that now but that's a legacy app (2009) that we'd
rather leave alone :)

> It's true this issue should be looked into, but it doesn't look urgent as long as there are alternatives.

Yes, not urgent and very specific. I'm going to try to set the mounts
to private as Max suggested and see how it goes.
Thanks for your help.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Having ten thousands of mount bind causes various processes to go  into loops Julien Petit <julien@nethik.fr> - 2024-06-12 12:20 +0200
  Re: Having ten thousands of mount bind causes various processes to go  into loops Max Nikulin <manikulin@gmail.com> - 2024-06-12 18:20 +0200
  Re: Having ten thousands of mount bind causes various processes to go  into loops Richard <rrosner5@gmail.com> - 2024-06-12 19:10 +0200
    Re: Having ten thousands of mount bind causes various processes to go  into loops Julien Petit <julien@nethik.fr> - 2024-06-14 12:00 +0200
      Re: Having ten thousands of mount bind causes various processes to go  into loops Richard <rrosner5@gmail.com> - 2024-06-14 13:00 +0200
        Re: Having ten thousands of mount bind causes various processes to go  into loops Julien Petit <julien@nethik.fr> - 2024-06-19 11:10 +0200

csiph-web