06-29-2007
Memory utilization question
Hi All
I have a clarification. I am running a database on CentOS 4.5 final, PostgreSQL version 8.1.9. The question is about memory usage on the system. The memory used statistic has risen consistently over the past few days... by about 2-3% a day. I want to know why this memory is growing. The system has 8 GB of memory... Also I checked the % of user memory used... that remains low.
I want to explain why the memory used is growing? I know that the kernel keeps the memory in buffer and cache. But at what point does this buffer get initialized. Is this memory available for other user processes? Is memory used the right static to track?
sar tells me the following:
%user 0.22
%nice 0.00
%system 0.08
%iowait 0.41
%steal 0
%idle 99.29
kbmemfree 0.37
kbmemused 3.48
buffers 0.18
kbcached 3.06
I want to know when the cache will clear up? What is the logic of cacheing?
Please point me to an article or something.
Regards
Srini
10 More Discussions You Might Find Interesting
1. AIX
All,
The (fre) coloumn of the (vmstat) command, does it report the size of the free list including the swap space or it only report on the RAM (physical memory).
BR, (1 Reply)
Discussion started by: Negm
1 Replies
2. AIX
Hi all
I need command to give me the utilization for memory and cpu,and how can I know if the utilization ok or no?
for example in hp unix #top
it is give me utilize for cpu and memory and also I can know if utilize ok or no.
thanks (2 Replies)
Discussion started by: magasem
2 Replies
3. Shell Programming and Scripting
Hi,
Is it possible to obtain physical memory and swap memory available in HP-UX server.
I tried using "top" command but i'm not able to grep the memory part exclusively...
Thanks.... (4 Replies)
Discussion started by: EmbedUX
4 Replies
4. AIX
Hi friends
i have a query.
we have two p-series machine(p550 & p570) with HACMP 5.3 and AIX 5.3 hosting SAP.
Now i need to now is there a way or a command to check the memory utilization on these machines on daily basis. I have tried vmstat and iostat but still it's not clear.
We have... (3 Replies)
Discussion started by: nathandrake13
3 Replies
5. HP-UX
command for checking memory utilization in HP -UX (2 Replies)
Discussion started by: tushar_spatil
2 Replies
6. Solaris
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
7. SuSE
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. Solaris
Hello Guys,
I have one Solaris server with high memory utilization >90%. As per checking, below is the output for memory usage.
bash-3.00# ps -efo pmem,uid,pid,ppid,pcpu,comm | sort -r
%MEM UID PID PPID %CPU COMMAND
1.7 29496 20668 1 0.0 /opt/app/iw-home/tools/java/bin/java
1.5... (1 Reply)
Discussion started by: myrpthidesis
1 Replies
9. Red Hat
Hi,
i am new to linux/RHEL 6.0 and i have two questions.
1) How to get the CPU utilization and Memory Utilization of all Services running currently?
2) How to get the CPU utilization and Memory Utilization of all Applications running currently?
Please help me to find the script.
... (2 Replies)
Discussion started by: nossam
2 Replies
10. AIX
I have run the utility nmon in aix 6.1, and found memory utilization is 99.9% in physical.
and pressed h key and then t , in that it is not showing single process which is consuming memory resources. please help me how to find out actual memory utilization.
wheather 99% is real memory... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
LEARN ABOUT DEBIAN
dtc_install_centos
dtc_install_centos(8) System Manager's Manual dtc_install_centos(8)
NAME
dtc_install_centos - bootstrap a CentOS install to use in a chroot or VM
SYNOPSIS
dtc_install_centos <install root> <yum environment>
DESCRIPTION
This shell script is part of the dtc-xen package, generally to be used by the dtc panel to install a new a Xen VPS server. This script is
called by dtc_reinstall_os when the user chooses to install the CentOS operating system.
How it works: it generates a temporary yum configuration in the yum environment directory, that directs yum to act inside the install root
instead of in the base system; then it kindly requests yum to install the basesystem, centos-release and yum packages onto it. Yum then
uses the configuration to download the required (usually, security-updated) packages and then perform the RPM installation process under
the install root.
It requires both RPM and yum. It does work under Debian (it was developed in Ubuntu first). It should also work on RPM-based systems
without destroying the system-wide RPM and yum configurations.
OPTION
<install root>
Target directory where CentOS will be deployed. Must exist beforehand.
<yum environment>
Directory where yum will store the repository manifests and configuration. Will be automatically created. Cached RPMs and manifests will
be left, as usual, in a directory var/cache/yum inside the install root.
EXAMPLE
dtc_install_centos /root/yum /xen/13
This will setup the operating system in /xen/13, with the CentOS configuration folder in /root/yum.
BUGS
It's limited to CentOS 5 at the moment.
It must be run as root.
Under some circumstances, the installation process itself may kill processes running on the host machine. The chroot yum does should be
sufficient to avoid this, but we haven't been able, yet, to ascertain why this fails sometimes.
SEE ALSO
dtc_reinstall_os(8)
VERSION
This documentation describes dtc_install_os version 0.3.1.
See http://www.gplhost.com/software-dtc-xen.html for updates.
dtc_install_centos(8)