This is a discussion on configuring amount of memory a process can use? within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> Hi, I'm running tomcat-4.0.5 on openbsd 3.2 and if I run the tomcat process as user "root" I never ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| * tom <tom@e.n.l.u.n.a.com>: > 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? I don't know about openbsd, but in FreeBSD /etc/login.conf sounds like what you're looking for. You might try the man pages for login.conf(5). -- Kelly D. Grills kdgrills@the-grills.com |
| ||||
| 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) -- |