This is a discussion on Solaris 9 user memory limit within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Hello all, We are running Solaris 9 on a V880 with 32 GB of memory and 70GB swap. Recently ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello all, We are running Solaris 9 on a V880 with 32 GB of memory and 70GB swap. Recently the system was very very slow, with a user process taking almost all the main memory plus 60 GB of swap. I want to limit the ammount of memory a user process can take, to prevent that problem. I tried to use "limit" to limit the memory size a user can take, but above 4 GB solaris 9 sets limit to unlimited, and I was thinking to limit the memory usage on a higher level. Any hints? Thanks, Joao |
| ||||
| Joao wrote: > Hello all, > > We are running Solaris 9 on a V880 with 32 GB of memory > and 70GB swap. > > Recently the system was very very slow, with a user process > taking almost all the main memory plus 60 GB of swap. > > I want to limit the ammount of memory a user process > can take, to prevent that problem. > > I tried to use "limit" to limit the memory size a user > can take, but above 4 GB solaris 9 sets limit to unlimited, > and I was thinking to limit the memory usage on a higher > level. > > Any hints? > > Thanks, > > Joao > I don't know how (if) it can be done, but one way is a script run from cron that kills off user processes using too much memory. Not very eligant I must admit, but it would work. -- Dave (from the UK) Please note my email address changes periodically to avoid spam. It is always of the form: month-year@southminster-branch-line.org.uk Hitting reply will work for a few months only - later set it manually. http://witm.sourceforge.net/ (Web based Mathematica front end) |