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


Groups > linux.debian.user > #270101

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

From Toni Mas Soler <antomassol@gmail.com>
Newsgroups linux.debian.user
Subject Re: Having ten thousands of mount bind causes various processes to go into loops
Date 2024-06-14 17:50 +0200
Message-ID <IPhlD-2UFF-1@gated-at.bofh.it> (permalink)
References <IPbJf-2Rgv-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


El Fri, 14 Jun 2024 11:30:50 +0200
Julien Petit <julien@nethik.fr> va escriure el següent:

> > What processes are CPU hungry?  
> 
> On a vanilla debian 11 : udisksd, gvfs-udisks2-vo, (fstrim), find
> 
> > Perhaps it is not a Debian-specific bug, just more active usage of
> > sandboxing in systemd. If some applications have troubles parsing
> > /proc/mounts then bugs should be filed against them.  
> 
> It seems to happen with all processes accessing mounts. And since
> disabling sandboxing with php fixed the problem for the php process,
> it looks like it is linked to sandboxing.
> 
> > However do you need shared subtrees? It may cause exponential
> > growth of number of moutpoints, see  
> 
> We only use mount bind to share an initial folder with other users
> with different access rights (rw or ro). So we probably don't need
> shared subtrees (as long as mount bind doesn't rely on it). I'm not
> really familiar with subtrees though. In my understanding, it is used
> for chroot or containers and that's something we don't use. When i
> list our mounts, it seems they are by default in shared mode. If the
> default before was "private", it might be why it used to work and it
> stopped.
> I'm gonna test the effect of setting them to private.
> 
> Thanks for your help
> 

Just to learn about it.
What about using acl rather than bind mounts? What should be the
problem in this solution?

Thanks.

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


Thread

Re: Re: Having ten thousands of mount bind causes various processes  to go into loops Julien Petit <julien@nethik.fr> - 2024-06-14 11:50 +0200
  Re: Having ten thousands of mount bind causes various processes to  go into loops Toni Mas Soler <antomassol@gmail.com> - 2024-06-14 17:50 +0200
  Re: Having ten thousands of mount bind causes various processes to go  into loops Max Nikulin <manikulin@gmail.com> - 2024-06-15 14:40 +0200

csiph-web