Why mkfile decreases available memory?


 
Thread Tools Search this Thread
Operating Systems Solaris Why mkfile decreases available memory?
# 1  
Old 09-08-2011
Why mkfile decreases available memory?

Hi,

we are experiencing very odd behavior. After "mkfile 1g <somefile>" the available memory seen through vmstat memory free column decreases by the same ammount. It doesn't matter where the <somefile> is located, even when the file is on NAS, the available memory decreases. When the file is removed, the memory returns to its original. The mpstat shows another odd behaviour, one of the processors goes on 100% sys time usage. We can replicate this on several Solaris 10 SPARC machines but we cannot replicate it on Solaris 10 x86 machines. What's going on? The mkfile is used only to replicate the problem, we have found this problem during our regular backup procedure that almost nocks down Oracle server.

SunOS 5.10 SUNW,SPARC-Enterprise
32G RAM
Sparc Enterprice M4000 Server

Thanks, Jan

Last edited by jan_bar; 09-08-2011 at 09:20 AM..
# 2  
Old 09-08-2011
Do you have enough swap space ?
I looked for a moment in man page and says

Quote:
On the 32-bit operating system, only the first 2 Gbytes -1 are used for swap devices greater than or equal to 2 Gbytes in size. On the 64-bit operating system, a block device larger than 2 Gbytes can be fully utilized for swap up to 2^63 -1 bytes.
# 3  
Old 09-08-2011
Code:
oracle@ldr-orc ~ $ vmstat 2
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr m1 2m m1 m1 in sy cs us sy id
0 0 0 43853416 28854664 76 351 281 3 3 0 514 22 446 14 14 1115 10023 1417 0 2 98
0 0 0 42814872 27580328 0 33 128 0 0 0 0 0 668 0 0 1250 11827 541 0 2 98

---------- Post updated at 05:24 PM ---------- Previous update was at 05:23 PM ----------

The issue with 100% sys utilization was identified as bug 6886536

Last edited by pludi; 09-09-2011 at 04:44 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

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

mkfile -n question

Hi, I made an ldom with 160 GB of disk space (makefile -n 160g ldg1). Inside the ldom I have a slice, say /mount1 of size 30G. Assuming that I keep the /mount1 unmounted, i-e, it will never be used, is it safe to say that the file ldg1 will never grow past 130G? (6 Replies)
Discussion started by: Mack1982
6 Replies

3. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

4. Solaris

restrcit physical memory with zone.max-locked-memory

Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies

5. Programming

How to deal with lots of data in memory in order not to run out of memory

Hi, I'm trying to learn how to manage memory when I have to deal with lots of data. Basically I'm indexing a huge file (5GB, but it can be bigger), by creating tables that holds offset <-> startOfSomeData information. Currently I'm mapping the whole file at once (yep!) but of course the... (1 Reply)
Discussion started by: emitrax
1 Replies

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

7. Linux

Linux Server free memory decreases

Hi, I am facing one problem, On our Linux server Free memory decreases gradually but my java process memory does not increase. Please any one tell, why free memory decreases gradually (1MB in approx 15 minutes). kernel details:- Linux linux4 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT... (13 Replies)
Discussion started by: Vaibhav Agarwal
13 Replies

8. HP-UX

How can I get memory usage or anything that show memory used from sar file?

Refer from title: How can i get memory used or anything that can show memory from sar file example on solaris:- we can use sar with option to show memory used at time that sar crontab run. on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some... (1 Reply)
Discussion started by: panithat
1 Replies

9. UNIX for Advanced & Expert Users

Shared memory shortage but lots of unused memory

I am running HP-UX B.11.11. I'm increasing a parameter for a database engine so that it uses more memory to buffer the disk drive (to speed up performance). I have over 5GB of memory not being used. But when I try to start the DB with the increased buffer parameter I get told. "Not... (1 Reply)
Discussion started by: cjcamaro
1 Replies
Login or Register to Ask a Question