Hi Kirill,
I don't include a swap partition on the routers  in the field as I
don't want them swapping to disk, we over specify the hardware so that
memory exhaustion is (should be anyway)  not a concern.

so im assuming the lack of a swap partition means that this would not
be an issue (in my deployment scenario)


Thanks
Tom Smyth

On Wed, 10 Jul 2024 at 18:39, Kirill A. Korinsky <kir...@korins.ky> wrote:
>
> On Wed, 10 Jul 2024 17:40:17 +0100,
> Tom Smyth <tom.sm...@wirelessconnect.eu> wrote:
> >
> > swap /tmp mfs rw,nosuid,noexec,nodev,-s=262144 0 0
> > swap /var/log mfs rw,nosuid,noexec,nodev,-s=524288,-P=/persist-fs/var/log 0 > > 0
> > swap /var/run mfs rw,nosuid,noexec,nodev,-s=262144,-P=/persist-fs/var/run 0 > > 0
> > swap /dev mfs rw,nosuid,noexec,-P=/persist-fs/dev,-i=2048,-s=32768 0 0
> >
>
> I'd like to share https://marc.info/?l=openbsd-bugs&m=171959901216119&w=2
>
> Here I have a pretty simple way to block mfs when the system starts to use 
> swap.
>
> Not sure if it is achievable by you, but still worth mentioning
>
> --
> wbr, Kirill



-- 
Kindest regards,
Tom Smyth.

Reply via email to