HI,

On Thu, Mar 11, 2021 at 01:12:04PM -0500, Selva Nair wrote:
> prlimit on Linux is handy as it can change the limits of a running process
> as well.

Yes :-) - my week is full of exciting discoveries.

> On FreeBSD probably "limits -P pid ... " can do the same?

Indeed!  Thanks, didn't follow the right references, it seems...

g...@chekov.greenie.muc.de:/tmp$ limits -P 13222
Resource limits (current):
[..]
  memorylocked           102400 kB

... so, the claim of OpenVPN pid 13222 "I have set this to 100M" is true :-)

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to