General :: Find Out What Process Are Eating All Memory

Jul 8, 2011

Im using SUSE, i have 31GB of memory Mem: 31908592k total, 31429632k used, 478960k free, 12176k buffers. How do I find out what process are eating up all my memory.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Memory Leak / Some Process Eating All Memory

Jan 29, 2011

I have had a fresh install of Ubuntu 9.10 and installed some software after that.Since third some, some process is eating half of my memory.I have checked processes running in system manager but everything is normal.Maximum is consumed by compiz which is about 26 mb, seems very normal.I did restarted my computer several times, and in the start for 5 mins, its fine after that again my cpu fans runs at very fast speed and my one cpu is used up 95 % (I have dual core).Please help me out, this invisible thing is driving me crazy.I am attaching my htop screen shot (sorted by cpu %), now the cpu is not used by completely but fan is still struggling hard and fast.

View 9 Replies View Related

CentOS 5 :: Iscsi Process Eating Memory

Apr 30, 2011

Linux 2.6.18-238.9.1.el5
Apache 2.2.3
MySql 5.0.77
PHP 5.3.3
Samba 3.5.4-0.70.el5_6.1

Problem: my server eats up all the memory in the box after a few days. My guess is it has something to do with these processes:

[Code]...

View 7 Replies View Related

General :: Find Memory Leak For Process

Mar 5, 2010

Is there any link where i can get information about below?

Dirty memory
RSS
PSS
One more?

if a set of process are getting executed in a use case say 50 times. How do one know the memory leak for a particular process?

View 1 Replies View Related

Server :: Stop Someone Eating All The Memory?

Apr 17, 2011

If I have a centos linux server, how can I stop a user on the server from eating all the memory and swap space memory, maybe due to a poorly written script, infinite loop etc?

View 4 Replies View Related

General :: Ubuntu - Memory Full, Process Memory Usage Doesn't Add Up In Top?

Mar 18, 2011

I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.

View 1 Replies View Related

Debian Multimedia :: Xserver Eating Memory?

Nov 21, 2010

I have installed Debian Lenny today from netinst cd. It all went good, hen I installed some basic utilities, daemons and libraries like dbus, hal, libgtk2.0, libasound2, alsa-utils, htop (for checking system load). Then I installed X.org with commandaptitude install -R xserver-xorg xserver-xorg-input-mouse xserver-xorg-input-kbd xserver-xorg-video-intel xinit xterm twmI used -R to pull less dependencies. When I ran startx X Server started, and I got on twm. But when I checked on htop, my memory usage was 175MB, and before starting X Server it was only 25MB. Why is X Server using so much memory on Lenny? I also have Debian Sqeeze on a different partition, it uses so much memory with all gnome services running+ iceweasel and amsn.

View 7 Replies View Related

Server :: Can't Figure Out Which Processes Are Eating Memory

Nov 6, 2010

I'm running several SHOUTcast server instances and a WowzaMediaServer instance on a CentOS machine. I'm experiencing a memory leak problem, but I can't figure out which processes are eating memory.

TOP command reports as follows:

[Code]...

Something misterious to me (I'm still a Linux newbie) is that TOP reports a total of 7.5GB used ram but very small percentage for single process (0-1%). Memory consumption starts at 1GB/8GB after reboot and in three days running gradually increases up to 8GB. I'm practising with Linux, but I still miss a lot to understand what's happening on my system. For instance, are there linux kernel logs saved somewhere that I can look at?

View 4 Replies View Related

Ubuntu :: Can't Find Any Process That Consume Such Large Number Of Memory

Feb 23, 2010

I used 9.04 for months and it work fine before restarting my PC. After I restarted my PC, the memory consumption takes up to 4.2 GB after login. However, I cannot find any process that consume such large number of memory.

[code]....

View 3 Replies View Related

Ubuntu :: Xorg Eating A Lot Of Memory / Makes System Freeze

Apr 7, 2011

Xorg takes 700+ mbs of ram, then in matter of hours it fills the swap and then system basically stops responding or whatever. And because its constantly allocating, it degrades perforamce horribly.Interesting thing is I never had this problem before, recently one of my ram modules broke (2+2 GB) and now I have only one, but it still doesnt explain the memory overuse. Windows 7 works perfectly fine.

View 7 Replies View Related

Red Hat / Fedora :: System Is Eating More Memory And The Usage Is Keep On Increasing And At Particular Time

May 5, 2011

My server is keep on hanging So I have rebooted several times in the last couple of weeks, the system is eating more memory and the usage is keep on increasing and at particular time it became saturated and my server hungs. I could not find which process is eating more memory. I have used the below commands to check if any process is eating more memory but no luck. No such process are using high memory.

1) Top
2) ps -eo pcpu,pmem,user,args

[Code]....

View 3 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

May 4, 2010

How do you find the parent process of zombie processes?

When the child process is something where the parent is not entirely obvious...

Is there some way to list processes in tree format or something?

View 3 Replies View Related

General :: Get Process Memory Consumption?

Apr 2, 2011

I need a command that can get the memory consumption of a process called "job_runner_o".

Running ubuntu 10.10

View 2 Replies View Related

General :: Display The Memory Usage Of Each Process If I Do A 'ps -ef'?

Jan 29, 2010

In linux, how can I display memory usage of each process if i do a 'ps -ef'?I would like to the 'virtual memory', 'res memory', 'shared memory' of each progress. I can get that via 'top', but I want the same info in 'ps -ef ' so that I can pipe the output to 'grep {my process name}'.

View 3 Replies View Related

General :: Force A Process To Run In Virtual Memory?

Dec 9, 2010

I am running a series of tests for an implementation of a remote pager that sends page faults to other computers in a network. Long story short, I was wondering if there is an easy way to force a process to use virtual memory as oppose to physical RAM so that I can better measure the performance of my implementation against how the system would perform while swapping to the hard drive.

View 4 Replies View Related

General :: Memory - Preventing A Process Being Swapped Out?

Aug 30, 2011

Does anyone know of a linux utility which will prevent all memory in a forked process from being swapped out to disk? I've seen the 'mlockall' call, but hacking the app sounds like overkill.My reason for needing this is that I'm running Windows XP under VirtualBox on my linux netbook, and I'm concerned there are basically two levels of swapping going on, which on a single dinky netbook hard disk isn't

View 3 Replies View Related

General :: Calculating Process Memory Usage?

May 13, 2010

What originally seemed like an easy thing to calculate has given me a big headache. Perhaps someone can help me with my issue. I am trying to find, in particular, how much memory certain application processes are taking. The process always is the same name, main_server, but with an argument to tell it what to do when running as a daemon.

When running the following command against all "main_server" processes, it produces a result in megabytes based on the output of the rss field in 'ps'.

Code:
CALC=0
for ea in
`ps -e -orss=,args= |
sort -b -k1,1n |
pr -TW$COLUMNS |
grep main_server |
grep -v "grep main_server" |

[Code]...

Currently I am left scratching my head. For capacity planning purposes, it would be nice to know how many more 'main_server' processes could run on the system without causing it to swap. Knowing the buffer and cache usage will go down as running processes demand more memory, I prefer to look at the free memory excluding cache and buffers. However, since 'ps' is reporting the processes are using more memory than free reports is in use without those things, I have no way to know how many more processes the system can support. I played around with different fields in 'ps', such as vsize, size, etc, but with no luck in matching up any numbers.

View 7 Replies View Related

General :: Limit The Memory Usage Of A Specific Process?

Apr 24, 2010

I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the execution in a low memory environment without creating a virtual machine?

View 1 Replies View Related

General :: Testing - Stop OS From Allocating More Memory To A Process

Dec 2, 2010

I want to test that a process properly kills itself and restarts when it can't allocate needed memory. One idea I had was to start other memory-consuming processes and hope that OOM killer kills the process being tested, but 1) this isn't quite the same; 2) it may kill other processes instead; 3) since this is an embedded system, I don't have any programs available except for the system under test and BusyBox.Is there a more direct way to ensure that Linux won't allocate memory to a process?

View 1 Replies View Related

General :: Explicitly Swap Out Main Memory Of A Suspended Process?

Apr 7, 2010

I run a memory-hungry process (mkcromfs) which consumes more memory than I have physical memory on my latop, so it is paging and swappin and thrashing all the time and loadavg is about 2 (compcache is already in use with usual swap partition as well), but slowly moving forward (Although I afraid it will finally try to allocate >2GB and crash draining 2 days of thrashing).

When I want to use the laptop for something else, I stop the process, start X server, firefox and other programs. The problem is that when I start Firefox the loadavg jumps to 10 and the system becomes almost unresponsive at all (long time to turn on/off caps lock, slow mouse cursor position updates, slow switching from X server to Linux console, slow login).

The stopped mkcromfs still holds a lot of memory (464.8 MiB and slowly falling) and moves it to swap only when more memory is needed for some other program, which results in a great slowdown.

How to tell the Linux to swap out this process entirely (e.g. I'm not intending to resume it in short term), possibly waking from swap other data? Also it will be useful to be able to specify the exact swap device to swap the given process out (for example, mkcromfs's memory is useless in ramzswap).

Update: Now I just write a 400-600M of data from /dev/erandom to tmpfs and it makes mkcromfs to shrink. Is there more proper way?

View 1 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

General :: Script That Names The Process In The System That Consumes The Most Memory?

Dec 31, 2010

I am writing a script that tells me which process consumes the most memory in the system this is what I have but I keep getting an error:

#! /bin/bash
# Autor: Jose miguel Colella
# Descripcion: Que proceso consume mas memoria

ps -e -o %mem -o args | sort -k 1 | tail -n2 | head -n1 | cut -d -f 3

I keep getting this message: cut: delimiter mist be a single character

View 4 Replies View Related

General :: Java Process Without Memory Detail In Proc File System?

May 13, 2010

To get the kernel messages of new java process, i refer the details from /proc/<java pid>/stat and /proc/<java pid>/statm files. For some java processes, I didn't find any details in the /proc/<java pid>/statm file. It has only 7 number of 0s. But /proc/<java pid>/stat file has the details. And also this kind of process will have the life time of nearly 1 minute.

Kernel version using: Linux-2.6.18-8.1.8.el5 Is there any possibility of java process without the memory details in the /proc/<java pid>/statm file? If it is possible, how to know the memory related details of that processes?

View 1 Replies View Related

General :: Child Processes Of A Parent Process Occupying Socket Memory?

Jul 22, 2010

I am facing an issue where the process starts hanging. When I closely look at the logs I come to know that some of the child processes that are forked by the parent process are not finished.

1) Is it possible that the child processes that are not finished occupy the socket memory of the parent process and ultimately a point is reached where no socket memory is available to fork new child processes.

2) What is the standard limit of socket memory in linux?

3) What is the fate of such child processes (as I have mentioned above)?

4) How to debug such cases so that the exact problematic area is identified?

View 2 Replies View Related

General :: Process Billions Of Small Files Using Bash Shell Commands With Limited Memory?

May 26, 2010

I need to process billions of small files using bash shell commands with limited memory size (256MB). If any of those files contain certain "keywords", the file will be removed. I tried with command:

find . -type f -exec grep -i -l -H "keyword" '{}' + | xargs rm -rf

where all files are located within the current directory. But the command above failed in "out of memory".

View 1 Replies View Related

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

General :: Find Out How Much Memory My Server Has?

Aug 15, 2010

how can i find out how much memory my server has?

i am running centOS 5

View 2 Replies View Related

General :: Find The Pid Of A Certain Process?

Feb 4, 2011

I know that this command
"pid aux | less"

displays all the processes and their pid but it would be too time consuming to search for the pid of one specific process is there a way to use "grep" to find pid of a certain process?

i tried "grep process-name pid aux"

View 3 Replies View Related

General :: Find The Only Particular User (usage) Of Memory Information?

Mar 29, 2011

how to find the only particular user (usage) of memory information

View 6 Replies View Related

General :: Find Total Memory Usage Of A Program?

Sep 22, 2010

I wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs?

View 3 Replies View Related







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