In comp.unix.admin tom <tom@e.n.l.u.n.a.com> wrote:
> Hi,
>
> I'm running tomcat-4.0.5 on openbsd 3.2 and if I run the tomcat process
> as user "root" I never get any complaints that there isn't enough memory.
> The problem is if I run another tomcat process (on a different port) as
> another non-root user, tomcat complains that it is out of memory for certain
> applications. This doesn't happen if I run both instances as "root".
>
> Is there somewhere I can configure the amount of memory a user or
> process can use?
Not sure whether it's available on openbsd, but ulimit on Solaris (and
elsewhere?) can set file descriptor limits, data segment sizes, etc.
I've used it to increase resources for a certain Legato Networker
utility that would crap out halfway through until I raised some limits.
--
-- Len Philpot ><> --
--
len@philpot.org http://philpot.org/ --
--
lphilpot01@yahoo.com (alternate email) --