Zones and memory resource control issues


 
Thread Tools Search this Thread
Operating Systems Solaris Zones and memory resource control issues
# 8  
Old 12-10-2010
There must be a reason but I wouldn't spend time to investigate the Total vs Physical values discrepancy. It is unrelated to your issue anyway.
You are confusing RAM and virtual memory in your statement:
Quote:
Solaris doing something like "eager ahead of time allocation", in the anticipation that it might need that memory in the future?
Allocation is done on virtual memory, not RAM. When a process is asking for 2 GB of memory, no RAM is involved. Only when that memory is written to or read from is does it need to be in RAM, and that won't be 2 GB but the memory pages accessed, not more.
Unlike Linux, AIX and others, Solaris doesn't overcommit memory so it is making sure all allocations are backed by either RAM or swap at allocation time.
On the opposite, Gnu/Linux doesn't do it so in case of memory shortage, is just killing otherwise healthy processes to free RAM which might not be what people expect from their OS.
# 9  
Old 12-10-2010
MySQL

I am experiencing the same issues on SPARC systems now. I have two M5000 with 32GB RAM in each and could "boot" more than 3-4 zones. Once 3 zones were running, the amount of available memory would drop to 2-4G and I could not start another zone.

I have increased the swap on one of the M5000's and am going to attempt to boot the other zone.

This thread is a good read. Thanks jlliagre for explaining the memory configurations and ZFS swap file changes.
# 10  
Old 12-10-2010
Have you enabled rcapd - resource capping?
# 11  
Old 12-10-2010
Quote:
Originally Posted by jim mcnamara
Have you enabled rcapd - resource capping?
I tried to configure that before and fubar'd the global zone server and had to rebuild it. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11.2 x86 Local Zones for Oracle RAC database, intermittent Memory corruption of db

Hi, I was wondering if any Solaris fellow out there has dealt with running Solaris 11 x86 on Local Zones for Oracle RAC (which may or may not be relevant to issue), running on HP gen h/w. Every so often could be weeks between issues or some times days, there will be a memory corruption and db... (2 Replies)
Discussion started by: crossmypath
2 Replies

2. AIX

AIX 6.1 Memory Performance issues

Good Day Everyone, Just wonder anyone has encounter AIX 6.1 Memory Performance issues ? What I have in my current scenario is we have 3 datastage servers (Segregate server and EE jobs - for those who know Datastage achitect) and 2 db servers(running HA to load balance 4 nodes partitions for... (3 Replies)
Discussion started by: ckwan
3 Replies

3. Solaris

Check Solaris Zones Processor & Memory allocations

Hi, I am a newbee in the solaris administration. My question is how to 1. Check the total CPU and memory of a global zone. 2. Check the allocated CPU and memory for each of the residing non-global zones. I have already tried prtconf which gives the following output /usr/sbin/prtconf... (4 Replies)
Discussion started by: poga
4 Replies

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

5. Linux

Memory issues iin CentOS release 5.3 (Final)

New to the forum. I am running CentOS release 5.3 (Final) and have run into a unique situation. I have been able to determine that we have a swap memory leak due to an issue with an asterisk server. This specific issue takes approximately 2-3 months for enough of the swap to to be used before... (1 Reply)
Discussion started by: g0neinsane
1 Replies

6. Solaris

resource control in zones

I 'm getting following error while setting deny action for a zone.cpu-shares resource control prctl: unable to enable deny on rctl with global flag 'no-deny' and when i check with rctladm its shows me bash-3.00# rctladm zone.cpu-shares zone.cpu-shares syslog=n/a ... (0 Replies)
Discussion started by: fugitive
0 Replies

7. Solaris

Memory management in zones

whats the difference between setting zone capped-memory from zoncfg and setting rctl: name: zone.max-locked-memory .. if changed the zone.max-locked-memory with prctl it does not change in rcapstat .. but if change with rcapadm it reflects in rcapstat o/p (0 Replies)
Discussion started by: fugitive
0 Replies

8. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

9. AIX

AIX-specific memory issues?

Hi, Does anyone here write cross-platform applications to be run on different Unix variants? For some reason, an application I'm working with, when being run on machines with similar specifications, I run into "cannot allocate" errors (St9bad_alloc) on AIX but not on other platforms. Is it a... (8 Replies)
Discussion started by: wolfier
8 Replies
Login or Register to Ask a Question