On 2022-11-23, Otto Moerbeek <o...@drijf.net> wrote: > Did you re-login after the channge? Check with ulimit -a, it > shoud show the new value. Also: login.conf is pretty strict about > syntax and generally shows no erro message if it is wrong.
Re-login isn't needed for this, it's an rc.d daemon so it's effectively run as a fresh login. To check the effect of changes, you can run either of these: $ sudo -c opensearch sh -c 'ulimit -a' # su -c opensearch root -c 'ulimit -a' (I find the first easier to remember but it needs sudo, doas doesn't support this).