Sponsored Content
Full Discussion: RHEL Memory issue
Operating Systems Linux Red Hat RHEL Memory issue Post 302977028 by bakunin on Monday 11th of July 2016 10:10:12 AM
Old 07-11-2016
Quote:
Originally Posted by baluchen
But i can clearly notice performance issue when the "free" memory on first line goes down.
I don't believe that the performance degradation has anything to do with the "free" (which in fact is: unused) memory going down. The reason for it going down is simply because at start time the system has no idea what to put into the cache. Over time it "learns", by loading disk content to memory, which contents are used more often and therefore puts them into cache. This does not slow down operations but in fact speeds them up!

Your problem may come from several reasons: most likely is a "memory sink", which is a pure application problem. The application requests memory dynamically from the system and the system fulfills this request. But the application (being written poorly) doesn't keep track of this memory, so, instead of reusing it or giving it back it requests another chunk of memory from the system - and so on, ad infinitum. Because the systems memory is limited this can't go on forever and over time the systems resources are exhausted. A prominent instance for this happening was/is Firefox. If you run it for several weeks you will notice that it has allocated several GB of memory even if you have only one (empty) window open.

The only rememdy for this (if you can't fire the programmer for sloppy work and then get another one to change the application, which would be the best course of action) is to restart the application (not the system!) at certain intervals. Which these intervals are depends on the application and how rapidly it gobbles up the memory.

I hope this helps.

bakunin
 

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. Red Hat

RHEL Installation issue.

Hi Gurus I am trying to install RHEL linux enterprise Edition v5 on a Dell Optiplex 320 desktop. After the Grub menu,i get the error,Kernel could not be loaded. I am a newbie in linux and would appreciate any help in moving forward. Thanks HG (1 Reply)
Discussion started by: Hari_Ganesh
1 Replies

3. Red Hat

Time Sync issue on RHEL 5.3

Hi, My Linux VMs are running on citrix XEN.Somehow the time drift is too high (going very fast). Even if the correct time configured using date -s command, for every 1 hr it is differing almost 5 - 10 mins. Tried configuring ntpd (local NTP server) and still it is not synchronized. Machine... (2 Replies)
Discussion started by: uday123
2 Replies

4. Red Hat

iSCSI issue on RHEL 5

Hello Friends, I am facing issue with the iSCSI configuration on some of our RHEL 5 servers, When I restart the iSCSI service, it triggers the RHEL server reboot. Could you please help me with this issue. Below are the system details : uname -a : Linux za-rac-prd-01.abc.local... (2 Replies)
Discussion started by: Jeevanm
2 Replies

5. Red Hat

Best way to monitor use of memory resources for an RHEL instance

I wanted to know what is the best way to monitor use of memory on an RHEL server. We have 16 GB of memory for the RHEL instance but the usage at any time is more than 99%. I use /proc/meminfo on the server to check memory. I hope, my question is clear that what is the best way to monitor use of... (2 Replies)
Discussion started by: RHCE
2 Replies

6. Red Hat

Logrotate issue in RHEL

Hi, I have a requirement to compress logs that generate daily. Below is the logrotate configuration for this But for some kind of reason the logs are not getting compressed daily. When tried to execute the logrotate manually with -d it says "log does not need rotating." The path... (0 Replies)
Discussion started by: EmbedUX
0 Replies

7. Red Hat

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)... (3 Replies)
Discussion started by: rsheikh01
3 Replies

8. Linux

Installation issue RHEL 6.5 on SAN

HI All I am facing issue in installation of Red Hat 6.5 on SAN.. i am having a partion of 2 TB in my SAN and i am installing the operating system after completed the installation it not booting and giving the error. (2 Replies)
Discussion started by: deviltech
2 Replies

9. Shell Programming and Scripting

AIX to RHEL migration - awk treating 0e[0-9]+ as 0 instead of string issue

Greetings Experts, We are migrating from AIX to RHEL Linux. I have created a script to verify and report the NULLs and SPACEs in the key columns and duplicates on key combination of "|" delimited set of big files. Following is the code that was successfully running in AIX. awk -F "|" 'BEGIN {... (5 Replies)
Discussion started by: chill3chee
5 Replies

10. UNIX for Advanced & Expert Users

RHEL 5.11 - gid issue

Hello folks, I am facing a weird issue on one of the red hat linux 5 box. There is an oracle id which i want to change the primary group. Currently the primary group id is 16600, I did changed it to 16601 using below command: usermod -g 16601 oracle But it did not changed. I have tried... (3 Replies)
Discussion started by: snchaudhari2
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 05:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy