Solaris memory reported incorrectly by top


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Solaris memory reported incorrectly by top
# 1  
Old 04-14-2013
Solaris memory reported incorrectly by top

Hi guys,

I got an issue today with one of my servers. The guy is reporting by top only 1.8 available Gig for physical memory.

I see my processes and they don't even get to 15Gigs, I have 64 physical Gigs.
Details
Memory: 64G phys mem, 1820M free mem, 32G total swap, 32G free swap

I have tried ps, the ucb ps, prstat, etc. and I don't see where that memory is going ( if it is going some where)

Any help on finding what it could he happening is greatly appreciated. BTW, this is a Solaris 5.10
# 2  
Old 04-14-2013
My guess would be that the system is using most of the "missing" memory as a file cache. If so, that's a good thing.

Regards,
Alister
# 3  
Old 04-14-2013
hmm ... how do I check that? do you know.

Because the problem is, that I need to start another application that will take 2 gigs at once, and it is failing because it is showing memory lower than that.
# 4  
Old 04-14-2013
I am not familiar with Solaris, but a quick search turns up:
Code:
echo ::memstat | mdb -k

I am not familiar with that tool, so use at your own peril.

These days, a lot of systems use free ram as a file cache. Applications that require a given amount of ram should not assume that it is not available just because "free" is low. They should just go ahead and attempt the allocation. Besides, due to the race condition that exists between the time of the check and when the allocation occurs, an interval during which available memory can diminish, a well-coded program will still need to handle an allocation failure.

Regards,
Alister
# 5  
Old 04-15-2013
Maybe the kernel/drivers leak memory.
Get the latest patch for your NIC driver!
Also install a newer kernel patch - it often includes updated drivers.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Kill top 5 memory uses process

Hi All, how to kill 5 top memory used process in my hp-ux. Thanks, Kki (9 Replies)
Discussion started by: kki
9 Replies

2. Red Hat

Memory Reprentation Mismatch In TOP

Hi All I have server of Redhat Enterprise Linux 6.1 with the below configuration OS: RHEL 6.1 Kernel:2.6.32-131.0.15.el6.x86_64 SOCKET:1 CPU:6 Memory 12 GB I am running a tool & after that when i run top command i see the below output. Tasks: 241 total, 2 running, 239... (1 Reply)
Discussion started by: ajaincv
1 Replies

3. Linux

Unkown memory usage, top doesn't know

Hi, Yersterday I started monitoring my homeserver memory consumition due some errors found in the system (network hangs). I've detected almost all the memory used (~10 MB free from 1GB). First I thought it was because of the MySQL configuration, so I monitored it with top and found it wasn't... (6 Replies)
Discussion started by: nefeli
6 Replies

4. Solaris

HELP - memory usage on Solaris : ps -efl and top

Hi all, OS Version: SunOS <hostname> 5.10 Generic_142900-13 sun4v sparc SUNW,Sun-Blade-T6340 I need some expert guidance on investigating memory usage on Solaris. I want to know whether am interpreting the output from ps -efl correctly and whether the command top is showing the right... (3 Replies)
Discussion started by: newbie_01
3 Replies

5. Solaris

Memory usage, free and used, using sar, top and vmstat in Solaris zone/container

Hi all, I have a server running an Oracle database that is part of a Solaris M5000 container. Presumably this is referred to as a zone within a cluster, not sure if I get the terminology right. Anyway, a third-party manages the zone and unfortunately is not "helpful/friendly" to assist me on... (1 Reply)
Discussion started by: newbie_01
1 Replies

6. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

7. Shell Programming and Scripting

how can i extract only the Memory line from top command ?

Hello all i need in csh to extract only the Memory line from the out put of the top command how can it easily done (1 Reply)
Discussion started by: umen
1 Replies

8. UNIX for Dummies Questions & Answers

How to get system memory usage like top

Hello all im working on sunos machine that dont have the top installed and can't be install , now i need to get information similar to what top gives me about the cpu usage and so can it be done somehow else where ? (3 Replies)
Discussion started by: umen
3 Replies

9. Solaris

Top and Prstat display different results for memory

I have a question about the accuracy of prstat. I did a 'prstat -t' and it shows 99% of my memory is occupied by oracle. NPROC USERNAME SIZE RSS MEMORY TIME CPU 194 oracle 343G 340G 99% 86:17.24 56% However, 'top' shows I still have 7762meg of memory free. Memory: 16G real, 7762M... (4 Replies)
Discussion started by: zen03
4 Replies

10. UNIX for Advanced & Expert Users

unix top command (memory usage)

in unix when i use top i get an output like this: load averages: 0.64, 0.57, 0.53 14:04:42 347 processes: 1 running, 1 waiting, 169 sleeping, 172 idle, 4 stopped CPU states: 16.4% user, 2.8% nice, 7.6%... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies
Login or Register to Ask a Question