Re: POSIX shared memory and dying jails

2021-06-26 Thread Mark Johnston
On Fri, Jun 25, 2021 at 08:08:31PM -0700, James Gritton wrote: > On 2021-06-25 09:58, Michael Gmelin wrote: > > On Fri, 25 Jun 2021 09:19:05 -0700 > > James Gritton wrote: > > > >> On 2021-06-25 07:41, Michael Gmelin wrote: > >> > It seems like non-anonymous POSIX shared memory is not freed > >>

Re: POSIX shared memory, jails, and (lack of) limits

2021-08-02 Thread Mark Johnston
On Mon, Aug 02, 2021 at 10:03:27PM +0300, Konstantin Belousov wrote: > On Mon, Aug 02, 2021 at 05:06:43PM +0200, Michael Gmelin wrote: > > > > > > > On 2. Aug 2021, at 15:56, Konstantin Belousov wrote: > > > > > > On Mon, Aug 02, 2021 at 02:19:00PM +0200, Michael Gmelin wrote: > > >> Hi, > > >

Re: POSIX shared memory, jails, and (lack of) limits

2021-08-03 Thread Mark Johnston
On Mon, Aug 02, 2021 at 09:58:08PM +0200, Thomas Steen Rasmussen wrote: > On 8/2/21 9:40 PM, Mark Johnston wrote: > > Cyril has written a few patches for racct, including one which includes > > POSIX shared memory objects in rctl's "nshm" and "shmsize" reso

Re: What's going on with vnets and epairs w/ addresses?

2022-12-20 Thread Mark Johnston
On Sun, Dec 18, 2022 at 10:52:58AM -0600, Kyle Evans wrote: > On Sat, Dec 17, 2022 at 11:22 AM Gleb Smirnoff wrote: > > > > Zhenlei, > > > > On Fri, Dec 16, 2022 at 06:30:57PM +0800, Zhenlei Huang wrote: > > Z> I managed to repeat this issue on CURRENT/14 with this small snip: > > Z> > > Z>

Re: prison_flag() check in hot path of in_pcblookup()

2022-12-20 Thread Mark Johnston
On Tue, Dec 13, 2022 at 11:54:17PM +, Bjoern A. Zeeb wrote: > On Tue, 13 Dec 2022, Andrew Gallatin wrote: > > > [ I added pjd, since the original patch came from him ] > > > > Just to make sure I understand, I have a simple yes/no question: > > > > Can jails and the host ever share the same (

Re: What's going on with vnets and epairs w/ addresses?

2023-01-17 Thread Mark Johnston
On Tue, Dec 20, 2022 at 08:50:09PM +, Bjoern A. Zeeb wrote: > On Tue, 20 Dec 2022, Mark Johnston wrote: > > > On Sun, Dec 18, 2022 at 10:52:58AM -0600, Kyle Evans wrote: > >> On Sat, Dec 17, 2022 at 11:22 AM Gleb Smirnoff wrote: > >>> > >>> Zh

setting VNET tunables in a new jail

2024-12-17 Thread Mark Johnston
We have a number of sysctls which are defined as tunables, whose values cannot be changed after boot. Some of these sysctls, such as net.fibs, are per-VNET so could in principle be changed at jail creation time. I'd find it useful to be able to pass a set of tunables to jail_set(2), so that corres

Re: setting VNET tunables in a new jail

2024-12-17 Thread Mark Johnston
On Tue, Dec 17, 2024 at 10:41:15PM +0100, Kristof Provost wrote: > On 17 Dec 2024, at 22:19, Mark Johnston wrote: > > We have a number of sysctls which are defined as tunables, whose values > > cannot be changed after boot. Some of these sysctls, such as net.fibs, > > are

Re: setting VNET tunables in a new jail

2024-12-17 Thread Mark Johnston
On Tue, Dec 17, 2024 at 03:46:53PM -0600, Kyle Evans wrote: > On 12/17/24 15:19, Mark Johnston wrote: > > We have a number of sysctls which are defined as tunables, whose values > > cannot be changed after boot. Some of these sysctls, such as net.fibs, > > are per-VNET so

Re: setting VNET tunables in a new jail

2024-12-18 Thread Mark Johnston
On Wed, Dec 18, 2024 at 11:05:46AM +0800, Zhenlei Huang wrote: > > > > On Dec 18, 2024, at 5:19 AM, Mark Johnston wrote: > > > > We have a number of sysctls which are defined as tunables, whose values > > cannot be changed after boot. Some of these sysctls, such

Re: setting VNET tunables in a new jail

2024-12-19 Thread Mark Johnston
On Thu, Dec 19, 2024 at 11:07:09AM +0800, Zhenlei Huang wrote: > > > > On Dec 19, 2024, at 12:43 AM, Mark Johnston wrote: > > > > On Wed, Dec 18, 2024 at 11:05:46AM +0800, Zhenlei Huang wrote: > >> > >> > >>> On Dec 18, 2024, at 5:19 AM