List Info

Thread: rc.subr: $_ulimit




rc.subr: $_ulimit
country flaguser name
Germany
2007-08-14 10:07:04
May I humbly ask what happened to bin/35530?

I would like to have a means in rc.subr by which an rc.d
script can
give ulimits the command is to be run with.
I.e., just set foobar_ulimit="-m 999" in
rc.d/foobar.


Re: rc.subr: $_ulimit
country flaguser name
United States
2007-08-14 15:13:19
  May I humbly ask what happened to bin/35530?

  I would like to have a means in rc.subr by which an rc.d
script can
  give ulimits the command is to be run with.
  I.e., just set foobar_ulimit="-m 999" in
rc.d/foobar.

I suspect the lack of response is a combination of:

  While every new spiffy feature, like the one you ask for,
is
  interesting and possibly useful, there's also a
countervailing
  complexity argument, both in terms of impact on system
speed, and
  difficulty of future maintenance.  I think the ulimit
feature is
  reasonable, personally.

  There was no patch to implement the variable and properly
document it
  in your PR.


Re: rc.subr: $_ulimit
country flaguser name
United States
2007-08-14 17:29:30
On Tue, 14 Aug 2007, Edgar Fuß wrote:

> May I humbly ask what happened to bin/35530?
> 
> I would like to have a means in rc.subr by which an
rc.d script can
> give ulimits the command is to be run with.
> I.e., just set foobar_ulimit="-m 999" in
rc.d/foobar.

I didn't check the PR to read about it yet. But what about
...

Using /etc/rc.conf.d/foobar to place the actual ulimit
command you want?

It seems like it is rarely needed, so just doing it
/etc/rc.conf.d/foobar 
would be fine.

  Jeremy C. Reed
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )