Sponsored Content
Full Discussion: Memory Issue
Operating Systems Linux Red Hat Memory Issue Post 302878090 by rsheikh01 on Wednesday 4th of December 2013 02:16:08 PM
Old 12-04-2013
Memory Issue

I could not find what is consuming the memory, generated DSET reports and NO hardware wise memory issue. 64 GB RAM on a server yet all I could see is a very limited memory available. I am not sure if I am reading this correct or not. I have used free -t -m and cat /proc/meminfo (results below)

- No users on this server yet
-One instance of an application running its owner ID is app_1
Code:
top output
top - 13:08:39 up 100 days, 14:44,  1 user,  load average: 0.33, 0.30, 0.23
Tasks: 695 total,   2 running, 692 sleeping,   0 stopped,   1 zombie
Cpu(s):  0.4%us,  0.3%sy,  0.0%ni, 99.0%id,  0.4%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  65923324k total, 62353432k used,  3569892k free,  1057088k buffers
Swap: 33554424k total,     7652k used, 33546772k free, 49536116k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
27025 app_1      20   0 14.0g 4.3g  14m S  3.6  6.9 107:44.25 java
30791 app_1      20   0 7200m 305m  16m S  1.6  0.5  31:18.50 java
 2329 app_1       20   0 15528 1744  952 R  1.3  0.0   0:00.24 top
26885 app_1       20   0 6669m 505m  13m S  1.3  0.8  37:45.53 java
28084 app_1       20   0 10.7g 1.2g  11m S  1.3  1.9  23:36.21 java
 3187 root      20   0  246m  25m 6764 S  0.7  0.0 423:33.62 kdm_greet
14876 app_1       20   0 19.9g 351m  10m S  0.3  0.5   5:05.44 java
25519 app_1       20   0  626m  11m 3140 S  0.3  0.0   2:08.21 python
25552 app_1       20   0 1003m  13m 3360 S  0.3  0.0   7:34.87 python
27089 app_1       20   0  419m  29m  25m S  0.3  0.0   3:35.61 postgres
27984 app_1       20   0 2491m 203m  14m S  0.3  0.3   1:56.11 java
    1 root      20   0 19356 1380 1144 S  0.0  0.0   0:54.37 init

Code:
OS = 2.6.32-358.6.2.el6.x86_64 #1 SMP  x86_64 x86_64 x86_64 GNU/Linux
cmd used:
free -t -m
             total       used       free     shared    buffers     cached
Mem:         64378      60887       3490          0       1032      48374
-/+ buffers/cache:      11480      52897
Swap:        32767          7      32760
Total:       97146      60894      36251

$ cat /proc/meminfo
MemTotal:       65923324 kB
MemFree:         3573696 kB
Buffers:         1056912 kB
Cached:         49535124 kB
SwapCached:          696 kB
Active:         30934280 kB
Inactive:       27772724 kB
Active(anon):    8099696 kB
Inactive(anon):   177692 kB
Active(file):   22834584 kB
Inactive(file): 27595032 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:      33554424 kB
SwapFree:       33546772 kB
Dirty:               492 kB
Writeback:             0 kB
AnonPages:       8114300 kB
Mapped:           225212 kB
Shmem:            162420 kB
Slab:            3065196 kB
SReclaimable:    2793860 kB
SUnreclaim:       271336 kB
KernelStack:       17736 kB
PageTables:        45400 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    66516084 kB
Committed_AS:   16511580 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      387288 kB
VmallocChunk:   34359312380 kB
HardwareCorrupted:     0 kB
AnonHugePages:   7522304 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        5056 kB
DirectMap2M:     2045952 kB
DirectMap1G:    65011712 kB

Any insight is deeply appreciated.
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Memory Issue

Hi There, I have upgraded the DELL poweredge 2600 server memory from 2GB to 4GB. However, the memory only showed at 2GB of utilization. How to make sure that the server is full utilize of 4GB of memory. Is there the Virtual memory need to be reconfigure as this server is run on windows 2000 and... (2 Replies)
Discussion started by: vestro
2 Replies

2. AIX

Shared memory issue

Hi friends.. Help to solve this issue... Is there any parameter setting to control or limit the size of the shared memory a process can attach for the below specified environment? The man pages says it can attach upto segments of size 2GB. But when our process (which also connects to... (0 Replies)
Discussion started by: sdspawankumar
0 Replies

3. Linux

Virtual Memory issue

Hi all, I was compiling my glibc 2.6.1 source files on a new kernel 2.66.22.6 and it seems that i am running into issues with the Virtual Memory. It displays the error message: virtual memory exhausted: Cannot allocate memory‏ I saw an article on how to adjust the parameters but i can't... (5 Replies)
Discussion started by: scriptingmani
5 Replies

4. Solaris

Locked memory issue

One of our project has exceeded its assigned max-memory-locked by 3 times .. The said project is using around 9 gigs as described by rss parameter in prstat -J .. and the max-project-memory parameter has been defined as 3gigs .. is it normal or we are monitoring the project memory usage in wrong... (2 Replies)
Discussion started by: fugitive
2 Replies

5. AIX

AIX memory issue

Currently server have load while there is no heavy things running, just oracle database/ application server oracle. I don't understand why server have heavy load, 22GB is under buffer, how to clean buffer/memory in AIX load averages: 9.42, 9.43, 9.68; 05:25:08 141 processes: 125 idle, 16... (12 Replies)
Discussion started by: learnbash
12 Replies

6. Solaris

Zone memory issue

We have a zone configured in our X4600 machine with memory capped to 16GB. Most of the time zone is running with high physical memory utilization. It seems from "top" command shows that the command "kernel" is locks 15GB phy. memory and not using swap memory. Whenever we restart the application... (2 Replies)
Discussion started by: rock123
2 Replies

7. SuSE

Memory utilization issue

I have parallels container running on Suse. From top command, I am not able to see, what is eating up so big amount of memory. top - 07:44:24 up 172 days, 18:52, 1 user, load average: 0.01, 0.02, 0.00 Tasks: 44 total, 1 running, 43 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, ... (1 Reply)
Discussion started by: solaris_1977
1 Replies

8. AIX

Memory issue

I have a server with 300Gb allocated to it. Some times I observed in topas Comp% 73 and Non comp 35% and client is also 35% and my paging is showing 92%. If my physical memory utilized only 70% then why paging is so high. And what is relation between Comp, noncomp and client? If the memory... (1 Reply)
Discussion started by: powerAIX
1 Replies

9. Linux

Swap memory issue

Hi, In our production box i can see the Swap space using the below command free total used free shared buffers cached Mem: 65963232 41041084 24922148 0 877160 35936292 -/+ buffers/cache: 4227632 61735600 Swap: 4192880 ... (6 Replies)
Discussion started by: ratheeshjulk
6 Replies

10. Shell Programming and Scripting

Out of memory issue in perl

I am getting a out of memory issue while executing the perl program. Per version : /opt/acc_perl/lib/site_perl/5.14.2 Read in 54973 total records Read in 54973 table records from table. Out of memory! so the job get failed due to out of memory. need to get rid of the out of memory... (3 Replies)
Discussion started by: ramkumar15
3 Replies
curs_memleaks(3X)														 curs_memleaks(3X)

NAME
_nc_freeall _nc_free_and_exit - curses memory-leak checking SYNOPSIS
#include <curses.h> void _nc_freeall(void); void _nc_free_and_exit(int); DESCRIPTION
These functions are used to simplify analysis of memory leaks in the ncurses library. They are normally not available; they must be con- figured into the library at build time using the --disable-leaks option. That compiles-in code that frees memory that normally would not be freed. Any implementation of curses must not free the memory associated with a screen, since (even after calling endwin), it must be available for use in the next call to refresh. There are also chunks of memory held for performance reasons. That makes it hard to analyze curses ap- plications for memory leaks. To work around this, one can build a debugging version of the ncurses library which frees those chunks which it can, and provides these functions to free all of the memory allocated by the ncurses library. The _nc_free_and_exit function is the preferred one since some of the memory which is freed may be required for the application to continue running. Its parameter is the code to pass to the exit routine. RETURN VALUE
These functions do not return a value. PORTABILITY
These functions are not part of the XSI interface. SEE ALSO
curses(3X). curs_memleaks(3X)
All times are GMT -4. The time now is 04:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy