LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 11-13-2009, 03:53 PM   #1
tuxtutorials
Member
 
Registered: Dec 2008
Location: New York
Distribution: RedHat, Solaris
Posts: 68

Rep: Reputation: 16
Application consuming all available memory causing thrashing question.


Hello peers,

I am currently having an issue with a v480r box that is thrashing because of a memory leak in an app. Can't determine fully which app is causing the leak but we are looking for ways to mediate the issue by preventing the app from crashing the box. My question is if I implement a resource memory cap on this 8GB system to lets say all processes from xuser can only consume up to 6GB of ram the system will still thrash after using up the 6GB right? Since after the 6GB is used up rcap daemon will start utilizing swap as usual right? So I am confused as what other admins would do in this situation. Would you cap swap usage? I think this makes no sense because then the app will crash either way after it runs out of memory and cannot utilize swap. The only fix I can assume is right is to fix the leaking app. But how would we allow the app to leak but not bring the system to a thrashing halt?

Thanks
 
Old 11-14-2009, 05:29 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,157

Rep: Reputation: 238Reputation: 238Reputation: 238
What Solaris release/update are you using ? What prevents you to identify the faulty application ?

You can limit the (virtual) memory used by a process by using the "ulimit -v" command. If you set a limit lower enough than the RAM size, other processes shouldn't be affected and the one leaking memory will eventually crash.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server consuming cache memory vikas027 Linux - Server 10 03-06-2009 01:28 AM
what process is allocating memory and causing oom-kill? thormk Linux - Server 3 04-22-2008 08:40 AM
Consuming Memory problem aloneattack Linux - Server 2 04-08-2008 11:07 PM
GTK causing memory corruption in glibc morph_ind Programming 0 09-08-2005 01:27 AM
identify application causing network traffic maenho Linux - Software 2 03-03-2005 09:24 AM


All times are GMT -5. The time now is 07:12 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration