mamimum memory single process


 
Thread Tools Search this Thread
Operating Systems Linux mamimum memory single process
# 1  
Old 10-29-2007
mamimum memory single process

How can i Globally set the maximum core memory a single process can take. IE, i want to set that no single process may get more than 11GB.

I am running red hat enterprise unix 4.
# 2  
Old 10-29-2007
Don't know if Red Hat has this command, but see if it has "ulimit"

On solaris, it is the -v parameter

-v maximum size of virtual memory (in kbytes)
# 3  
Old 10-31-2007
max memory

ulimit is specific to bash on red hat linux. and i don't need to limit virtual memory i need to limit actual memory usage by a task. And i also need to limit it globally, not on a task by task basis. Red hat has so far responded with the following:

There is an option to limit the rss usage by a process for a given user using /etc/security/limits.conf, but I found references that it does not work as expected.

I am escalating this to a senior engineer for further investigation, you should get an update soon.
# 4  
Old 10-31-2007
Quote:
Originally Posted by frankkahle
core memory
Do you mean physical silicon memory rather than virtual spilled over into swap?

How big is your machine?
# 5  
Old 10-31-2007
equipment

Quote:
Originally Posted by porter
Do you mean physical silicon memory rather than virtual spilled over into swap?

How big is your machine?
The machine is a dual opteron system with 12GB of ram and 20GB of swap configured. I want to prevent a single process from getting more than lets say 90% of ram. (maybe max around 10GB). I have one user running a development progrm which has grown to 14.3Gb on this machine which really killed the machines ability to do stuff.
# 6  
Old 10-31-2007
Quote:
Originally Posted by frankkahle
I have one user running a development progrm which has grown to 14.3Gb on this machine which really killed the machines ability to do stuff.
14.3Gb Smilie

Is it a Java environment that is not running a garbage collector?
# 7  
Old 11-01-2007
Quote:
Originally Posted by porter
14.3Gb Smilie

Is it a Java environment that is not running a garbage collector?
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. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

2. Red Hat

How to Check Memory if Single/Dual/Quad Rank

What command in redhat linux to know your memory if it is single, dual or quad rank. Anyone? (2 Replies)
Discussion started by: Mujakol
2 Replies

3. HP-UX

Single Process Memory Allocation HP-UX 11i v3

Hi, I have HP-UX 11i v3 running on ia64. One of my application is 32-bit and I want to increase the memory allocation of this file upto 2GB. I am contentiously receiving an error message of Out of Memory. Can you please explain the procedure what kernel configuration( like maxdsize or... (1 Reply)
Discussion started by: ahmadamin416
1 Replies

4. Emergency UNIX and Linux Support

CPU and memory utilization of a process, by process name

Can someone please help me with a script that will help in identifying the CPU & memory usage by a process name, rather than a process id.This is to primarily analyze the consumption of resources, for performance tweaking. G (4 Replies)
Discussion started by: ggayathri
4 Replies

5. Solaris

Monitoring a single process in solaris

Hi All, I need help to monitor a single process in solaris to identify if it leaks memory or is using up too much system resources. I need to collect data over a period of time and plot graph for that single process I tried using SAR & GNOME-perfmeter but both of them give me performance... (3 Replies)
Discussion started by: jayana
3 Replies

6. UNIX for Dummies Questions & Answers

upper limit of accessible memory space for a single process in Unix/Linux

Hellp all, if there is 3G memory in my Unix server I want to know if all the 3G space can be used by ong sigle process. As i know, in Windows, one process can only access at most 1G memory despite there is probably more than 1G memory is equipped. (1 Reply)
Discussion started by: cy163
1 Replies

7. AIX

Process using the most memory

Hi:- Is there an easy way to find out which process is consuming the most memory on an AIX server? Thanks, (5 Replies)
Discussion started by: janet
5 Replies

8. Shell Programming and Scripting

Memory in Use by a process

How do I find the amount of memory being consumed by a particular process on AIX 5L.. Thank you (0 Replies)
Discussion started by: khopdi
0 Replies

9. UNIX for Dummies Questions & Answers

Memory used by a process

Hello all 'top' command shows the top 15 processes in terms of CPU usage. Is there any other command in UNIX ,that will show the top processes in terms of memory usage ? or is there a command, that will give me the memory usage of a particular process ,if I pass the process id as a... (3 Replies)
Discussion started by: luft
3 Replies

10. UNIX for Dummies Questions & Answers

Memory used by a particular process

how to get memory used by a particular process in unix? (3 Replies)
Discussion started by: superprogrammer
3 Replies
Login or Register to Ask a Question