Unix Technical Forum

Solaris 9 user memory limit

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 09:42 AM
Joao
 
Posts: n/a
Default Solaris 9 user memory limit

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 09:42 AM
Dave (from the UK)
 
Posts: n/a
Default Re: Solaris 9 user memory limit

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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:07 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com