Red Hat / Fedora :: Find Actual Free Memory (RAM)?

May 10, 2011

When we have Oracle 10g in RedHat, the free memory goes down soon after bootup of the system and never increases. I learnt from various forums that Linux does cache the disk files for the better performance. And when any application requires memory they get the memory and the caching does not block any memory. We want to capture the free memory available for one the harware planning activity.

1) When we use vmstat command, it gives very less free memory. since it caches large size files, the free memory is very low.

2) We tried free command, but how do we know how much actual free memory is available. i.e. excluding the cache usage

View 3 Replies


ADVERTISEMENT

General :: Find Actual Used Memory?

Jul 4, 2011

Im trying to find a way in redhat to see if there is a command that could tell me the actual used memory by the system. For example when i do the free command, i want to see the Used minus cached value. Is there a way linux can report the true used memory and not the cached/buffer etc? if there is not specific command for that, can someone tell me a bash script that could calculate used-cached ?

View 5 Replies View Related

Server :: Like To Understand Linux 'free' Command With Respect To Cache And Free Memory

Mar 27, 2010

Was wondering if anyone can explain briefly the relationship of "cache" and free memory in the "free" memory command.

View 2 Replies View Related

Server :: Having A Query Regarding Top And Virtual Memory - VIRT Mem More Than Actual Available VIRT Memory

May 4, 2010

I have a query regarding top & virtual memory. When we run top it show VIRT (Virtual Mem), RES (Resident Mem) & SHR (Shared Memory). The total virtual memory of my machine is 4 GBs (2 GB RAM + 2 GB Swap), but still I am able to see a process showing 4000m virtual memory column. what it means, as its show VIRT Mem more than actual available VIRT memory

View 1 Replies View Related

Fedora Servers :: See Messages In Logwatch Report Then Cannot Find The Actual Log Entry?

Jan 23, 2010

I occasionally see messages in my logwatch report then cannot find the actual log entry. Is there any way I can have logwatch give a clearer report?an example:

vsftpd:
Unknown Entries:
authentication failure; logname= uid=0 euid=0 tty=ftp ruser=a-specific-user

[code]....

View 2 Replies View Related

General :: Application Virtual Address Space Memory Allocation - Memory Does Not Get Free

Apr 20, 2010

I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)

View 4 Replies View Related

Software :: Free Database That Has Low Memory Usage And Innodb And Memory Like Engin

May 3, 2011

I am looking for free database that has low memory usage and innodb and memory like engins that has C API and support trigger and client/server support for using in embedded linux systems.

View 8 Replies View Related

General :: Get The Each Process Actual RAM Memory Usage In 2.6.21 Or Higher Version

Feb 8, 2010

I woukld like to know the kernel command or linux kernel file name where i can get the process actual physical RAM usage in linux version 2.6.21 or hiher version.

View 2 Replies View Related

Programming :: Free-ing Memory - C/C++ - Free()

Jan 29, 2010

Here is the code, which just creates a dynamic array? fills it? and prints.

At the end-point? when doing 'free(digits);' I get a debug messge. But the programm continues to work, or it crashes only on free?

How do I need to change the source-code, not to recieve a message from debugger?

View 6 Replies View Related

Fedora :: Can't Find Free Space After Shrinking The Partition

Apr 26, 2011

I shrinked the /home partition using resize2fs command by 1GB and what had happened to remaining my free space .

View 1 Replies View Related

Fedora Installation :: OS Cannot Find A Free Spot In The Partition Table In MBR

Nov 1, 2010

I have a Toshiba laptop, running Vista Home Premium SP2 with AMD Athlon 64 X2 Dual-Core Processor, 1 gb ram & 150 gb HDD. I just shrunk the c: drive down to 92 gb to free up 43.5 gb so as to load the Fedora Linux OS into this free space & have a dual-boot configur'n. My problem is the partition table in the MBR. It shows 4 partitions there, so the fedora 13 Live CD which I use to install the OS cannot find a free spot in the partition table. I have the Ultimate Boot CD so I took a look at the MBR. Here are the 4 partitions that occupies its table:

1. (no drive letter) - file system: blank - EISA config'n - 1.46 gb - partition type code: x27
2. C: - fs: ntfs - system, boot, active, primary partition - 92.01 gb - code: x07
3. D: - fs: ntfs - primary - 5.98 gb - code: x07
4. (no drive letter) - fs: blank - primary - 5.64 gb - code: x17

c: is 17% free, d: is 99% free, the other two are 100% free Can you explain what is the purpose of D: ? How about the other two (with no drive letter)? I read somewhere that 'x17' code means 'hidden IFS (ex: HPFS)' & 'x27' means a rescue partition... true?

Would I be safe in replacing the partition table entry for #1, 3 or 4 with an entry for my Linux? (I have an editor that could modify the MBR). Or would it be better to leave MBR alone, put a boot program on a CD or USB stick, which boots Linux from the unallocated 'partition'? (have to somehow manually install Linux to the 43.5 gb area that I freed up).

View 6 Replies View Related

General :: What Does Free Memory Mean In Top

Aug 5, 2009

I would not exactly consider myself a newbie but this is a bit of a newbie question so here it goes.

When I run top I see used memory and free memory. When I first boot the system there is lots of free memory in about a day or two that memory whittles down from 2GB of Free mem(of 4GB) to 20MB and then maintains 20-50MB of free memory. This seems to be consistent across different servers. At first I thought there had to be some major memory leaks but it just seemed to prevalent to not have been noticed before.

I found a better way to gauge memory usage is the use of the free command. Now I am confused though, what is Free memory as it is defined and monitored in top?

View 3 Replies View Related

Fedora :: Error: Cannot Find A Valid Baseurl For Repo: Rpmfusion-free-updates

Dec 31, 2009

I keep getting the following error when trying to install anything:

Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...d-11&arch=i386 error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot find a valid baseurl for repo: rpmfusion-free-updates

So this tells me the servers are down however if i put the link in FF I don't get 404.I am installing on a new box and I can't get the stuff I need.

View 13 Replies View Related

Ubuntu :: Memory Is Not Occupied By Any Application But Not Free

Apr 15, 2010

I have a very weird memory issue (as you may have guessed from the title). There's a discrepency between the memory accumulated by the various applications (using "ps -eF" to collect that) and the memory reported by system monitor/"free" Basically, I have around 0.5GB of memory that is not occupied by any application, but is not free as well. (It is not used as cache as well)

[Code].....

View 1 Replies View Related

General :: How To Free Up Space - Memory Insufficient Error

Apr 25, 2010

When I use top to see memory usage, I have 65gb ram but only 1.3gb of it free and remaining is shown as used. When I ran my program It gives memory insufficiency error. Although no other program is using the remaining 63.7gb ram it is hold. How can I get free the unused ram?

View 3 Replies View Related

General :: Free - Top And Htop Show Different Memory Usage

Jul 12, 2011

I'm trying to meter my memory usage. When I use these different programs, they all show me using different amounts of RAM.

View 2 Replies View Related

General :: Get Free Memory Stat For The Past Few Days?

Jul 5, 2011

im trying to collect some data. Is there a way to get the free memory stats over the past few days from some file... i looked into the sar log files but they dont have date stamps in them!

View 6 Replies View Related

Server :: Free Physical Memory Available Then Why Swap Space Used

Jun 20, 2010

Why linux uses swap space, even if there are free physical memory available.

View 4 Replies View Related

Software :: Free - Buff - Cache Memory On Debian

Jun 18, 2010

What it's the difference between buff(ered) and cache portions of memory?

Code:

View 3 Replies View Related

Networking :: Superuser Will Get Mail System Memory Free Status

Oct 7, 2010

The superuser will get a mail about the system memory free status every minute after 9pm?

Which is Correct:
1. * 21 * * * free
2. * 21-0 * * * free

View 1 Replies View Related

Server :: 100 Percent Swap Usage With Loads Of Free Memory

Dec 10, 2010

Nagios had alerted me that the server had a very high load average exceeding the critical level (17+), when logging onto the server I found that all 4GB of the swap was in use despite the fact that there was 15GB+ of free memory (and that's not even including memory from cache and buffers!) Because it seems all heavily used pages were being stored in swap, the I/O wait on the server became very high, and 4 kswapd daemons were taking up nearly 100% available CPU. This did coincide with an error reported by Bacula during a backup job while changing to a bad tape...

From /var/log/bacula.log:
Code:
10-Dec 02:11 bacula-sd JobId 1898: End of medium on Volume "4097" Bytes=434,170,000,000 Blocks=217,084 at 10-Dec-2010 02:11.
10-Dec 02:11 bacula-sd JobId 1898: 3307 Issuing autochanger "unload slot 4097, drive 0" command.
10-Dec 02:12 bacula-sd JobId 1898: 3301 Issuing autochanger "loaded? drive 0" command.
10-Dec 02:12 bacula-sd JobId 1898: 3302 Autochanger "loaded? drive 0", result: nothing loaded.
10-Dec 02:12 bacula-sd JobId 1898: 3304 Issuing autochanger "load slot 4096, drive 0" command.
10-Dec 02:13 bacula-sd JobId 1898: 3305 Autochanger "load slot 4096, drive 0", status is OK.
10-Dec 02:13 bacula-sd JobId 1898: Volume "4096" previously written, moving to end of data.
10-Dec 03:51 bacula-sd JobId 1898: Error: Unable to position to end of data on device "Tape-1" (/dev/IBMtape0n): ERR=dev.c:1384 read e
rror on "Tape-1" (/dev/IBMtape0n). ERR=Input/output error.

10-Dec 03:51 bacula-sd JobId 1898: Marking Volume "4096" in Error in Catalog.
10-Dec 03:51 bacula-sd JobId 1898: 3307 Issuing autochanger "unload slot 4096, drive 0" command.
10-Dec 03:58 bacula-sd JobId 1898: 3301 Issuing autochanger "loaded? drive 0" command.
10-Dec 03:58 bacula-sd JobId 1898: 3302 Autochanger "loaded? drive 0", result: nothing loaded.
10-Dec 03:58 bacula-sd JobId 1898: 3304 Issuing autochanger "load slot 4098, drive 0" command.
10-Dec 03:58 bacula-sd JobId 1898: 3305 Autochanger "load slot 4098, drive 0", status is OK.
10-Dec 03:59 bacula-sd JobId 1898: Wrote label to prelabeled Volume "4098" on device "Tape-1" (/dev/IBMtape0n)
10-Dec 03:59 bacula-sd JobId 1898: New volume "4098" mounted on device "Tape-1" (/dev/IBMtape0n) at 10-Dec-2010 03:59.
At the same time, these messages starting occuring in /var/log/messages:

Code:
Dec 10 03:51:47 07 kernel: Mem-info:
Dec 10 03:51:47 07 kernel: Node 0 DMA per-cpu:
Dec 10 03:51:47 07 kernel: cpu 0 hot: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 0 cold: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 1 hot: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 1 cold: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 2 hot: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 2 cold: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 3 hot: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 3 cold: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 4 hot: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 4 cold: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 5 hot: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 5 cold: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 6 hot: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 6 cold: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 7 hot: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: cpu 7 cold: high 0, batch 1 used:0
Dec 10 03:51:47 07 kernel: Node 0 DMA32 per-cpu:
Dec 10 03:51:47 07 kernel: cpu 0 hot: high 186, batch 31 used:162
Dec 10 03:51:47 07 kernel: cpu 0 cold: high 62, batch 15 used:48
Dec 10 03:51:47 07 kernel: cpu 1 hot: high 186, batch 31 used:0
Dec 10 03:51:47 07 kernel: cpu 1 cold: high 62, batch 15 used:0
Dec 10 03:51:47 07 kernel: cpu 2 hot: high 186, batch 31 used:0
Dec 10 03:51:47 07 kernel: cpu 2 cold: high 62, batch 15 used:0
Dec 10 03:51:47 07 kernel: cpu 3 hot: high 186, batch 31 used:18
Dec 10 03:51:47 07 kernel: cpu 3 cold: high 62, batch 15 used:0
Dec 10 03:51:47 07 kernel: cpu 4 hot: high 186, batch 31 used:159
Dec 10 03:51:47 07 kernel: cpu 4 cold: high 62, batch 15 used:56
...
Dec 10 03:51:47 07 kernel: Node 3 HighMem per-cpu: empty
Dec 10 03:51:47 07 kernel: Free pages: 732052kB (0kB HighMem)
Dec 10 03:51:47 07 kernel: Active:4232128 inactive:3071288 dirty:158210 writeback:0 unstable:0 free:183320 slab:256840 mapped-file:289545 mapped-anon:3805487 pagetables:13063
Dec 10 03:51:47 07 kernel: Node 0 DMA free:10796kB min:4kB low:4kB high:4kB active:0kB inactive:0kB present:10356kB pages_scanned:0 all_unreclaimable? yes
Dec 10 03:51:47 07 kernel: lowmem_reserve[]: 0 3512 9067 9067
Dec 10 03:51:47 07 kernel: Node 0 DMA32 free:213332kB min:2500kB low:3124kB high:3748kB active:1794108kB inactive:1463220kB present:3596296kB pages_scanned:64 all_unreclaimable? no
Dec 10 03:51:47 07 kernel: lowmem_reserve[]: 0 0 5555 5555
Dec 10 03:51:47 07 kernel: Node 0 Normal free:41028kB min:3952kB low:4940kB high:5928kB active:3409444kB inactive:1471120kB present:5688320kB pages_scanned:0 all_unreclaimable? no
Dec 10 03:51:47 07 kernel: lowmem_reserve[]: 0 0 0 0
Dec 10 03:51:47 07 kernel: Node 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Dec 10 03:51:47 07 kernel: lowmem_reserve[]: 0 0 0 0
Dec 10 03:51:47 07 kernel: Node 1 DMA free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
...
Well to cut a long story short, I fixed the problem by disabling the swap partition with 'swapoff'. After about 30 mins all the swap was freed and the server went back to normal. I don't dare reactivate the swap partition and unfortunately as this is a live server which currently has no fail over, I can't reboot either

Server Spec:
4 * Dual-Core AMD Opteron(tm) Processor 8214
32GB DDR2 ECC RAM
RHEL 5.5, 2.6.18-194.11.3.el5 SMP x86_64
Running many KVM VMs (All CentOS x64) and kksmd is used.
bacula-dir Version: 5.0.0
IBM Tape Drive using lin_tape module version 1.34.0 according to modinfo

And before anybody asks
# sysctl vm.swappiness
vm.swappiness = 10

View 5 Replies View Related

Software :: OPENNMS - Can Monitor Disk Space And Free Memory

Jul 16, 2011

i had configured the opennms but i didint able to get the disk space and memory alert by mail... and also i need a plgin gor opennms can u tell me wat plugins suit for opennmms monitoring tool ...

View 2 Replies View Related

Programming :: Quick Measurement Of Free System Memory From Within C Program

Jul 21, 2010

I need to monitor the amount of free physical memory on Linux from within a large C program. The sampling will occur very frequently, so the measurement cannot be performance intensive. The fact that Linux uses much of the theoretically free memory for cache and buffers means that just measuring the free pages is not sufficient. Using free + cache + buffers gives an overestimate as not all cache/buffers can be freed, but I could get a rough idea of how much generally can't and subtract that from the answer.

Possible options that I've come across so far are: Parsing /proc/meminfo - but that involves reading from file which is slow. Extracting the free, cache and buffers values from the output of the Free command - but is there a quick way to do this? Parsing the /proc/freemem file produced by the API here - but this is again reading from file. Is there a way to get that output directly? Speed is an extremely high priority, and the answer it must accurately represent the amount of memory that my program could expand into (to within a few Mb).

View 1 Replies View Related

Fedora :: What Programs Can Be Used To Test And Find Faulty Memory (RAM, Video Adapters, Cache)

Oct 23, 2009

What programs can be used to test and find faulty memory (RAM, Video adapters, cache)?

View 2 Replies View Related

CentOS 5 :: Xmlrpc-c Server Free String Memory Alloc-ed By Xmlrpc_parse_value

Feb 24, 2010

I have the following function on my xmlrpc server side.

The registration of this function is done as follows from the main function:

The above function makes the server segfault some where on the return path and client gets the response:

Here is what GDB shows when server segfaults....

However if I remove the line "xmlrpc_strfree (node_name);" then server does not segfault and client receives the response correctly. In the xmlrpc-c code it clearly says " Return the string in newly malloc'ed storage that Caller must free." in xmlrpc_data.c::xmlrpc_read_string() which is the function that gets called from xmlrpc_parse_value().

View 1 Replies View Related

Fedora :: Installing Free And Non-free Repositories?

Jan 28, 2011

I've just installed Fedora 14 64bit and would like to add new repositories. I read here to do the following command (which as you can see doesn't works) :

Code:

$ su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

[code]....

View 12 Replies View Related

Fedora :: Can't Install Rpmfusion Free And Non-free

Jan 28, 2011

I have installed F14 yesterday but i can not install rpmfusion repository, the problem is that i can not access the url [URL] so i cant download the files:

rpmfusion-free-release-stable.noarch.rpm
rpmfusion-nonfree-release-stable.noarch.rpm

View 6 Replies View Related

General :: Windows - Free Up Memory "fully Hibernating" A Process?

May 25, 2011

Similar to this: How to "hibernate a process" under Linux/Windows? Are there any methods to hibernate a process in a way that it doesn't stay in memory? E.g.: If I don't want to use Firefox, and don't want to close the process of it, and I need free memory, then how can I really hibernate the process so the memory reserved by Firefox is freed up? I need solution for both Windows and Linux!

View 6 Replies View Related

Fedora :: Update Vlc To The Actual 1.1.10?

Jun 10, 2011

I'm running mythdora based on FC12. There is available at the reposities version 1.0.6 of vlc. How can I update vlc to the actual 1.1.10?

Code:
# yum --releasever=14 distro-sync
Could not retrieve mirrorlist http://mythdora.com/mirrorlist/14/release-i386 error was 14

That's okay - mythdora has not the FC14. Where can I change it and point the mirrorlist from mythdora to fedora?

View 5 Replies View Related

Server :: Apache On :443 Only Or Find Another Free Port?

Jul 13, 2011

I want to run these services on these ports:- ssh:8080- shellinabox:80- squirrelmail via apache2 and SSL:443These appear to be the only ports I can generally connect to through various firewalls I encounter. If I try to get apache2 to not run on 80 shellinxabox appears to bind to it ok, but when I visit my site at port 80 via firefox I get apache instead. 1) How do I stop this and get shellinabox and apache2 working at the same time?2) How do I find another free port that isn't firewalled? All I have been trying is starting shellinabox on various ports and trying to connect and this is a very slow process

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved