Tech Support > Operating Systems > UNIX / Variants > configuring amount of memory a process can use?
configuring amount of memory a process can use?
Posted by tom on July 11th, 2003


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?

Thanks,

-Tom


Posted by Len Philpot on July 12th, 2003


In comp.unix.admin tom <tom@e.n.l.u.n.a.com> wrote:
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) --