General :: Excessive RAM Usage While Running A Limited Set Of Applications And No Obvious Culprit

May 13, 2011

I have run into a problem with my desktop using roughly 50% RAM (w/o buffers or cache) while running a limited set of applications (fbterm, tmux, weechat, ncmpc, rtorrent) on the command line. This usage only increases roughly 5-10% when starting X (an addition of xcompmgr, awesome wm, zim, parcellite, 2x conky (one replacing root-tails functionality), plus firefox and other apps that may or may not be running from time to time). (h)top is reporting programs only using roughly .1-.2% per proccess and roughly 100 processes (current look at top shows 120 processes, only 32 of which are registering any usage over 0.0%) The RAM usage when in the console (which I will add is about 150MB after boot) is totally unreasonable and I need some direction on trying to find out what is using all of this RAM.

System:
Distro: Arch Linux
RAM: 2G
CPU: AMD 64 x2 4800+
HDD: 3x WD Black 750G (RAID 5 on partition 2 (swap) and 3 (root), RAID 1 on partition 1 (boot). LVM over root partition)
GPU: Nvidia 8400 GS

View 12 Replies


ADVERTISEMENT

Server :: Excessive Swap Usage From Setroubleshootd

Jul 21, 2011

Just noticed from the "top" command that one of my least heavily used box is swapping excessivly by a program called setroubleshootd. Following is the top section of the "top" command sorted by Swap used for both boxes. Also tried checking it out to see if there's a "service setroubleshootd restart" but when I checked the status I got the following.

Code:
[root]# service setroubleshootd status
setroubleshootd: unrecognized service
Lightly loaded box with lots of swapping

Code:
Tasks: 85 total, 2 running, 83 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 98.0%id, 1.7%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 1026880k total, 983528k used, 43352k free, 59604k buffers
Swap: 2064376k total, 355692k used, 1708684k free, 121996k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND
3319 root 15 0 1202m 665m 5748 S 0.0 66.3 23:29.99 537m setroubleshootd
3845 root 34 19 253m 14m 2188 S 0.0 1.5 0:34.41 238m yum-updatesd
3841 gdm 16 0 216m 5300 4236 S 0.0 0.5 0:00.15 211m gdmgreeter
3822 root 18 0 190m 2208 1568 S 0.0 0.2 0:00.00 187m gdm-binary
3824 root 15 0 185m 3948 3236 S 0.0 0.4 0:00.11 181m gdm-rh-security
3725 root 16 0 163m 2532 1920 S 0.0 0.2 0:00.00 161m gdm-binary
3500 root 18 0 130m 2140 1240 S 0.0 0.2 0:00.00 128m cupsd
Heavily used box with little swapping

Code:
Tasks: 118 total, 4 running, 113 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.7%us, 0.3%sy, 0.0%ni, 94.7%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 2059580k total, 1928356k used, 131224k free, 162032k buffers
Swap: 4095992k total, 12k used, 4095980k free, 1336632k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND
3842 root 34 19 253m 17m 2196 S 0.0 0.9 0:34.20 235m yum-updatesd
3284 root 15 0 301m 77m 6004 S 0.0 3.9 2:23.30 223m setroubleshootd
3840 gdm 16 0 216m 16m 7064 S 0.0 0.8 0:00.43 199m gdmgreeter
3814 root 18 0 190m 2352 1644 S 0.0 0.1 0:00.00 187m gdm-binary
3816 root 15 0 185m 4112 3384 S 0.0 0.2 0:02.90 181m gdm-rh-security
3724 root 15 0 163m 2588 1976 S 0.0 0.1 0:00.00 161m gdm-binary
3465 root 18 0 141m 14m 1824 S 0.0 0.7 0:00.06 127m cupsd
12799 daemon 18 0 103m 3708 648 S 0.0 0.2 0:00.00 100m httpd
12396 daemon 15 0 112m 13m 3440 S 0.0 0.7 0:00.99 98m httpd
3556 root 18 0 103m 5260 2208 S 0.0 0.3 0:37.68 98m httpd
11778 daemon 15 0 117m 19m 3144 S 2.3 1.0 0:01.76 98m httpd
12750 daemon 15 0 106m 9096 2860 S 0.0 0.4 0:00.04 97m httpd
12673 daemon 15 0 110m 12m 2876 S 0.0 0.6 0:00.23 97m httpd
12693 daemon 15 0 110m 13m 2876 S 0.0 0.7 0:00.18 97m httpd
12666 daemon 15 0 105m 8132 2888 S 0.0 0.4 0:00.19 97m httpd
12729 daemon 15 0 112m 15m 2968 S 0.0 0.8 0:00.11 97m httpd
12588 daemon 15 0 110m 12m 2984 S 0.0 0.6 0:00.54 97m httpd

View 3 Replies View Related

Software :: Excessive RAM / Swap Space Usage

Mar 2, 2009

For some reason, if I leave my Linux box running for several days, the swap space and RAM slowly fill up until my system is so slow that it takes around 15 seconds just to open a new tab if Firefox (Iceweasel, specifically). I have 512GB RAM and almost a gig of swap; how on earth does it fill up so much? Even if I close all my programs, there's still over 600MB swap used and all RAM is full. I've included a screenshot of 'top' running just about two minutes after I closed all my running programs.

(Before I closed it, I had only 71MB swap free.) I know that Linux is supposed to make good usage of RAM, but isn't this over the top? Is there a way to force it to use only required memory with no or little extras kept in RAM? Just thought I'd add in the fact that I'm running Xfce as opposed to KDE or GNOME in an attempt to have a smoother running system on my old hardware. Also, what's the "VIRT" column?

View 10 Replies View Related

Hardware :: Excessive CPU Usage With AMD SB750 Southbridge When Copying Files

Dec 3, 2010

I am using a 790FX chipset with SB750 southbridge and running Mandriva 2010.0. The sata controller is running in AHCI mode with several harddisks attached. The problem I am having is that everytime I copy files from harddisk to harddisk or harddisk to usb flash drive, CPU usage goes to 100%. Could there be a problem with the ahci driver in this kernel version, something related to disk cache, or something simple I am overlooking?

View 1 Replies View Related

Ubuntu :: Processes Running In Xubuntu Seem Excessive?

Mar 15, 2011

When I ps -e, I see a whole bunch of processes, many more that when I ran Slackware.Is there a list of processess I can look at to see what they are and what ones I dont need, instead of googling each one and getting some cryptic explanation?

View 2 Replies View Related

Fedora Networking :: Squid Configuration For Limited Data Usage?

Jul 14, 2011

I am working in a office where only one internet connection available. I have configured 5 other client machines to use internet through squid proxy server. Now I want to restrict the total data usage/transfer (upload+download) to say 1 GB during a calender month. How can I achieve this setting.

View 1 Replies View Related

Fedora Servers :: Squid Configuration For Limited Data Usage?

Jul 14, 2011

I am working in a office where only one internet connection available. I have configured 5 other client machines to use internet through squid proxy server. Now I want to restrict the total data usage/transfer (upload+download) to say 1 GB during a calender month. How can I achieve this setting.

View 1 Replies View Related

General :: Decrease The CPU Usage When Running Virtual Box?

May 28, 2011

I am facing an issue with 100% CPU usage under my system when running VirtualBox. Here are some further details:

My System Information:

CPU 1 name: Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz
CPU 1 level 1 cache size: 32K Data cache. 32K Instruction cache.
CPU 1 level 2 cache size: 1024K Unified cache.
CPU 1 Mips: 2926.20

[Code].....

Well, each time I run Windows XP from my VirtualBox, I see the CPU usage at almost 100%. I experience a slow system even if no programs were running on my hosted Windows XP version.

I was wondering if there is a way for me to play with the settings so I can slightly enhance the performance. My PC is relatively fast under my Linux operating system. I need to know if there are some tips that I may follow when configuring the settings of my VirtualBox so i can achieve better results.

View 1 Replies View Related

Ubuntu Servers :: Have SSH Running / But Create A New Login With Limited Access

Jun 7, 2011

I have SSH running on a computer I use as a server at home and login to it for my own purposes but am needing to share access to this server with someone else, and I'd like to do it in a way so that when they sign in all they see is the contents of one folder and nothing outside of it. So I'd like them to have full access to this folder and do anything they want with it, but not be able to browse outside of it at all via something like WinSCP (they're using Windows). I'm thinking I need to create a new account for them to sign in with but beyond that I'm not sure what I need to do. The only other special thing is that the folder I'd like them to be presented with is actually on an external hard drive. We're going to be doing a lot of online music collaboration and I need to give him lots of free space to drop files and the internal hard drive doesn't have a lot to spare right now.

View 6 Replies View Related

Red Hat :: Running IPmonitor To Monitor The Disk Usage On Our Servers - Running Df -h

Mar 19, 2010

We are running IPmonitor to monitor the disk usage on our Linux servers. It does not seem to coincide with what is reported when running df -h. For example on a Red Hat 5.3 server - our IPmonitor shows that 85% is used on the /usr partition, however when I do a df -h on the server it shows that 91% is used. Why there would be a discrepancy? IPmonitor uses SNMP.

View 5 Replies View Related

General :: Xorg High Cpu Usage System/video Not Running Smoothly?

Feb 18, 2011

I have just started to have a problem with Xorg it is always using at least 30% of my CPU, and the whole system does not run smooth so if I play a video it does not run smooth, it judders, also even if I drag an icon it judders across the screen. Im running Ubuntu 10.10 2.6.35-25-generic x86_64 VGA compatible controller: nVidia Corporation G98M [GeForce G105M] (rev a2)

View 5 Replies View Related

General :: Find Memory Usage Of Shared Library Running In System?

Nov 30, 2010

I need to find the memory usage of a shared library loaded in Linux environment.

I need this information for deciding on whether to make the library part in to application or a seperate application itself.

View 3 Replies View Related

Ubuntu Security :: PHP Is Not Running Under Apache 2 And Limited By The Www-data Filesystem Access?

Jun 30, 2010

I'm about to have a web server at home for the first time. I've always missed having full control and not having to contact my hosting company when I need to do some specific changes - and some changes they won't do for you at all.I've chosen the non-GUI Ubuntu Server with LAMP, and nothing more is installed really except for a couple of command line tools from the repository. The LAMP software has been locked down as good as I can by following some guides on the net and using common sense. Like Apache 2 don't have access to the file system except for the www folder, and setting the headers to Prod. MySQL has skip-networking and I've commented out the listen string to localhost. PHP has a truckload of functions that I've disabled in the php.ini, also by following some guides on the net, among some other security enhancing php.ini editing.

The only thing the server will serve is a well known PHP forum and some html docs, and that's all. Nothing advanced or complicated stuff, and I'm definitely not programming PHP myself or letting anyone do it for me.But I do want to sleep well at night knowing that my server is always on and sitting on the edge of my home network! And can I do that? I've heard that you don't need to be worried about getting your Linux server box hacked, but you should be worried about anyone getting root access to it. But is it really that simple? Ubuntu is shipped without root account and you must have the sudo password, right? What's the odds for anyone to get full access to my system?An issue: I've heard that Apache never must run as root. When I do a ps -ef, I see that there are several www-data processes running apache, but there's one root process running apache too. Is this normal and is it safe?An issue: I've heard that PHP can fail pretty easily. But isn't PHP running under apache 2 and limited by the www-data filesystem access?An issue: MySQL is running as a MySQL user, and I guess that's an unprivileged user right?

View 9 Replies View Related

General :: Installing And Running Downloaded Applications?

Oct 23, 2009

As a long time Windows user, I am stuck on the basics of installing and running downloaded Linux applications. I've tried to read a few tutorials but am still baffled. I am using a Puppy based boot CD and, of course, the applications that come with the Puppy all work fine. It is when I try to add something new that I become lost. Example: I just downloaded a Linux version of the Firefox browser.

I click on the downloaded file in the Download Manager and kinda expect the thing to give me a executable set-up file, but just get a whole bunch of files. One available option is to "extract" them. I create a folder to extract them to and "extract". With Firefox I see nothing in that folder. With a few other applications, I see an extracted list of files but and try to find one file that will magically start and install or boot an application, but nothing ever happens. So, how does one download , extract, install, and then run a basic application? The references I have found on the Internet tend to be rather old or more complex that my brain can handle.

View 9 Replies View Related

OpenSUSE Multimedia :: Limited Internet Connectivity - Errors Due To Library Missing While Running Configure Script

Oct 30, 2010

I am using opensuse 11.3 on a computer with limited internet connectivity.Can anyone provide a list of essential libraries which would be enough for most applications. I get errors due to library missing while running configure script.

View 1 Replies View Related

Applications :: Show Disk Usage Of A Command?

Jan 9, 2010

The command time shows the time taken by a command to complete. Is there a command that shows the change in disk usage caused by a command? I would like to know how large a package is when I install it from source.

View 2 Replies View Related

General :: GNOME Panel Applet That Is Terminating Running Applications

Feb 17, 2011

Do you know the GNOME Panel applet that is terminating running applications after clicking on them with the cursor and confirming the action with a Yes/No dialogue?I know about xkill, but it is not satisfying due to it has not confirmation dialogue.Instead, I would like to use xprop and kill and zenity

View 5 Replies View Related

General :: Postfix Logs Flooded From Excessive Mails / Solution For This?

Apr 13, 2010

I view my /var/log/maillog and see tons of lines like this code...

I think those are some kind of SMTP attacks from this host by I tried to block hit with Iptables but it seemes to peace them off and they keep coming...!

please some kind of postfix-configuration solution?

View 14 Replies View Related

Fedora Networking :: Software For Monitoring Network Usage From Applications?

Jan 21, 2011

I have a home PC which connects through internet via a Zyxel ADSL router. I use Fedora 14 as my one and only operating system and sometimes I am seeing the LEDs of my modem blinking very fast which means that something is downloading. I want to know which application download what on my PC. Is there any tool in Fedora that can show which application uses my network?

View 5 Replies View Related

Ubuntu :: All Disks Spin Up Every 10 Hours / How Do I Find Culprit?

Jul 10, 2011

I'm running 10.10 with about 10 SATA disks attached. If I spin them down with hdparm -Y, every disk that has a filesystem on it (but -not- disks that are partitioned but have no filesystem) spin up, simultaneously, about every 10 hours. How do I find the culprit? The machine is sitting effectively idle---I know it's not something I'm doing that's causing the spinups.Is there some way to monitor -anything- that touches a particular block device?

My suspicion is that this might be the gnome low-disk-space warning daemon statting everything. (This -used- to be gnome-volume-manager, but I'm not sure where that code went when GVM was dropped in 10.10---how do I find that code? What package is it in?)

And if it -is- the disk-space monitor, how do I kill it dead? Not just "don't tell me about disks", but "don't even bother looking". I would -really- like these drives to spin down and -stay- down, possibly for days or weeks, until needed---not spin up every 10 hours until I either manually spin them down or until whatever I've set in hdparm spins them back down.

View 9 Replies View Related

General :: Status Of Memory Usage And Disk Usage Using Sigar In Windows And Ubuntu

Mar 15, 2010

I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.

View 14 Replies View Related

General :: Unix - Monitor Average CPU Usage And RAM Usage On One Process System?

Nov 15, 2010

Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!

View 2 Replies View Related

Debian Configuration :: Boottime Astonishing Short, Is Amd64 The Culprit?

Jan 24, 2011

I ran across something while installing amd64-kernel.I did so cause i wanted to test hadrets xfce-4.8 repo.viewtopic.php?f=16&t=58733#p341988It boots very fast.I usually don't care about such things, cause i am very happy how it is, but i wanted to check if it is a feeling, or for real.I followed gnududes how-to use bootchart:viewtopic.php?f=16&t=38869So, that was the long story, here comes the short version:On i368, but a full installation with all kind of stuff, it takes 20 seconds to boot.On amd64, with only a few basic packages, it takes 8 seconds.Is the fast boot time due to 64, or is it due to the little amount of apps?(that was my question for this thread, in case no one realized).

View 11 Replies View Related

Ubuntu :: RAM Usage 56% Without An Application Running

May 3, 2010

As the thread states, I wonder why my RAM usage is about 56% without any application running. It turns to 58% while opening Firefox (with only one Tab/Page opened) and typing this post. Is there something wrong?

View 9 Replies View Related

Slackware :: Firefox Bin Keeps Running With High CPU Usage

Dec 24, 2010

For some reason after I close firefox , firefox-bin keeps running and it eats more cpu than when firefox was open, a lot more. Same thing with seamonkey, seamonkey-bin keeps running after it is closed.
Attached are two pictures ,
1) While firefox is running: notice the low CPU usage
2) Firefox closed, CPU is almost 50%

View 4 Replies View Related

Fedora :: List All PCI Devices Apart From The Obvious Lspci Command?

Mar 15, 2011

Is there any way to list all PCI devices apart from the obvious lspci command? In other words what is an alternative to lspci....

View 1 Replies View Related

Server :: Running Apache 2.2.3 - High Swap Usage

Oct 2, 2009

I am running Apache 2.2.3 on a CentOS release 5.3 (Final) with 100 Sites. I've notice that Apache is making my server Swap around 200 MBs.
"http://www.xxx.yyy.zzz/server-status" doesn't show me too much to, so I am looking the behavior of specific httpd process.
ProcessID "18753" is the one for "http://www.xxx.yyy.zzz/server-status" in my browser.

This command show me (In KBs) how much virtual memory is that specific process using:
# /etc/init.d/httpd start
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
3012
... Running this command a lot of times it gives me the same output, but suddenly...
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
21708

Something make that process (and all the others httpd process too) to use a lot more memory!

Part of my httpd.conf:
# Timeout 120
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3

<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 100
</IfModule>

<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule> #

My server is running Mysql 5.1.34, vsftpd 2.0.5, BIND 9.3.4-P1 (as slave). I couldn't found anything running in the specific time that httpd processes start to use that much memory.

View 7 Replies View Related

Fedora Networking :: Random Wireless Dropouts With No Obvious Reasons

May 23, 2010

Has anyone experienced random wireless dropouts? Like one minute, you are connected and then not, with no obvious reason as to why it happened, just network manager popping up requesting a password to reconnect.

View 3 Replies View Related

Fedora Hardware :: Processors Are Not Active And There Is No An Obvious Process That Captures Cpu?

Apr 25, 2011

I just install fedora 15 (64bit) on my Toshiba Satellite L550 laptop.I realise a problem with my fan. It is ON almost allways (90% of the time my laptop is on).My processors are not active and there is no an obvious process that captures my cpu.I had the same problem on fedora 13 and 14 too. I hoped that they solved it in 15.... but... this was not true . When I run it from inside Windows 7 (from a Virtual Machine) it works fine! I was searching to the internet to find a solution (for days) with no luck!Is it a compatibility problem between my CPU and Linux kernel?The problem is very annoying indeed and prevents me for using fedora as my default OS with or w/o A/C.I must say that the same problem exists in ubuntu 10 too

View 3 Replies View Related

Debian Programming :: Memory Usage When Running Java Program

Jun 28, 2013

I have a java program that runs on Debian as a background processor. Yesterday the Java program stopped running. I looked at the memory usage, the system only had 5MB memory left, so my guess is that the java program ran out of memory to use.

However, after we restarted the java program, we could see that the free memory count started to go up. It kept going up from 5MB to over 400MB. The increase of memory happened slowly, when I measured it, I could see that with each minute passing by, there were a bit more memory added into the free memory pool, and meanwhile, the java background process was running.

I wonder why this would ever happen. It's as if our java program first brought the machine done because it consumed all the memories, then after restart, it starts to give back memories.

View 2 Replies View Related







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