The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Monitoring a single process in solaris jayana SUN Solaris 3 05-30-2008 11:35 PM
upper limit of accessible memory space for a single process in Unix/Linux cy163 UNIX for Dummies Questions & Answers 1 04-30-2007 07:09 AM
Process using the most memory janet AIX 5 03-22-2006 03:33 AM
Memory in Use by a process khopdi Shell Programming and Scripting 0 10-18-2005 11:59 AM
Memory used by a process luft UNIX for Dummies Questions & Answers 3 08-18-2005 03:27 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #8  
Old 11-01-2007
Registered User
 

Join Date: Mar 2005
Posts: 76
Quote:
Originally Posted by matrixmadhan View Post
We had a similar kind of issue recently

but not 14.3 GB, that was around 3 GB

where there were construction of too many hash maps.
when drilled down to the solving the problem; we diagnosed that after using the hash components we made sure we deleted the contents in the hash one by one .

Well, that's a quite an easy one to address and resolve.
No these are developers running client circuit testcases thru simulation. They can get quite large. but on this one machine i want it restricted.
Reply With Quote
Forum Sponsor
  #9  
Old 11-04-2007
Registered User
 

Join Date: Nov 2007
Posts: 9
Perhaps what you're looking for is as simple as kernel params

I don't know if these will have the desired effect for you or not, but its worth a try. You can set these with the sysctl command on the fly, and they can also be placed in your /etc/sysctl.conf for persistence. See "man sysctl" for more info than a dullard like me can give you.

Parameters for shared memory
kernel.shmmni: maximum number of shared segments, system wide
kernel.shmall: maximum shared memory, system wide
kernel.shmmax: maximum shared memory segment size

Hope this helps.
Reply With Quote
  #10  
Old 11-06-2007
Registered User
 

Join Date: Mar 2005
Posts: 76
red hat answer......

Currently, there is no possible way to limit rss on a RHEL4/5 system. This is a known issue upstream. The best option would be limit as.

There isn't a good way to implement this, as it opens up for the possiblity of DoS attacks if you set the RSS low enough. Anything that uses glibc will have a good chunk of RSS dedicated to glibc, which is going to hurt them. There is also the question of what to do in NUMA situations.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0