On Fri, 25 Jun 2021 20:18:39 -0700
James Gritton wrote:
> On 2021-06-25 09:58, Michael Gmelin wrote:
> > Another problem caused by the lack of jail ownership is that access
> > semantics are a bit strange. E.g., a jail based on / can easily list
> > (and remove) all memory allocations in the s
Hi,
I've been playing a bit with POSIX shared memory and, unlike for SysV
shared memory, I couldn't find any way to limit its use by jails.
First, I looked at racct/rctl, but there is no resource for POSIX shared
memory and memoryuse/vmemoryuse don't seem to have an effect (which
makes sense).
T
On Mon, Aug 02, 2021 at 02:19:00PM +0200, Michael Gmelin wrote:
> Hi,
>
> I've been playing a bit with POSIX shared memory and, unlike for SysV
> shared memory, I couldn't find any way to limit its use by jails.
>
> First, I looked at racct/rctl, but there is no resource for POSIX shared
> memory
> On 2. Aug 2021, at 15:56, Konstantin Belousov wrote:
>
> On Mon, Aug 02, 2021 at 02:19:00PM +0200, Michael Gmelin wrote:
>> Hi,
>>
>> I've been playing a bit with POSIX shared memory and, unlike for SysV
>> shared memory, I couldn't find any way to limit its use by jails.
>>
>> First, I l
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,
> >>
> >> I've been playing a bit with POSIX shared memory and, unlike for SysV
> >> sh
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,
> > >
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" resources,
which currently only apply to SysV shm objects:
https://reviews.freebsd.org/D30775
We plan to get them committed in
> On 2. Aug 2021, at 21:40, Mark Johnston wrote:
>
> 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 a