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


ADVERTISEMENT

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 :: 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

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

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

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 :: 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

Server :: Clear Cache Memory ( RHEL 5.1 ) As It Consumes Almost 100% Physical Memory?

Jan 11, 2010

let me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.

View 3 Replies View Related

OpenSUSE Install :: Virtual Memory / Resident Memory Of Server?

Feb 3, 2010

we found that if we use 'top' to show the memory usage of a server (SuSe Linux 10), we can get virtual memory usage as well as 'Resident memory' usage. For virtual mem or a particular process, it is around 1.1GB, which is large but for resident memory, it only consumes 300MB. Are there anyone who knows what the differences are? I would also like to know whether the difference (1.1GB - 300MB) = 800MB are actually available for use by other applications in the system.

View 1 Replies View Related

Server :: SFTP Memory Error / Getting An Out Of Memory?

Jan 8, 2011

I have been setting up a vps I got out with bhost.net, with CentOS installed. I've been learning and have set up everying I need with the exception of ftp/sftp.

Using yum I installed vsftpd and ran into problems, thinking it was something I might of done I did a fresh install of CentOS and I still recieve the same problem on a fresh install so it is nothing I have done to the server.

The problem is when connecting via a sftp client I get an out of memory error. This error is listed in the putty faq ( url ) under A.7.5, there is a brief explaintion of the cure under A.7.6.

there is mention of a login script but I don't know where this is located. I'm a novice at Linux but by no means incompotent when it comes to computing.

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

Ubuntu :: Npviewer.bin Eating Up CPU?

Apr 30, 2010

since upgrading to 10.04, npviewer.bin has a habit of eating up my cpu (q6600) resources whenever i watch a flash video. this is kinda annoying as i like to play music on videos while browsing the internet

View 4 Replies View Related

Ubuntu :: Firefox Is Eating CPU?

May 11, 2010

I just noticed that Firefox really likes my CPU. I opened the same page in Firefox and in Google Chrome and look at the difference in the attachment.Mind that the 20% is not even the maximum I saw in the list. I even saw around 40% while Chrome (with the same page) although has several processes open they all stay at zero, or very close to it.

View 5 Replies View Related

Fedora :: Kerneloops Eating CPU After Every Boot?

Oct 21, 2009

Since yesterday every time I boot up my F11 install kerneloops starts using 100% of my processor (well, one of them) and never stops (until I kill it, that is). I don't know what's going on. I can post logs, but I'm not sure what are the relevant ones here.

View 9 Replies View Related

Ubuntu :: Java Eating Way More CPU Time

Nov 1, 2010

I'm running Ubuntu 9.10 (I know I'll upgrade this winter). I've started to notice that java is eating way more CPU time then it has any right to, even with a fresh reboot and Firefox closed. I have java version:

[code]...

View 2 Replies View Related

Fedora X86/64bit :: F11 - Plasma-desktop Eating RAM ?

Nov 25, 2009

I have Fedora 11 64bit installed and using KDE with all the updates . I noticed that after a few days of work the plasma-desktop process is eating abnormal quantities of memory - resident size can grow up to 1 GB, by then KDE gets so unresponsive that you have to restart the session anyway.

I don't use desktop effects and no plasmoids either (even got rid of the folder view of desktop), the graphics are Intel 82Q35 Express Integrated Graphics Controller with the default (intel) driver. I have dual monitor setup (1600x1200 and 1024x786), to get them work correctly I had to come up with a custom xorg.conf and xrandr (if someone thinks xorg.conf contents can be relevant, I can post them, too).

I've seen reports of memory leaks in versions 4.2, but none so severe as is my case.

Below is the top command (sorted by RSS) after just 5 days of usage, showing plasma-desktop consuming growing towards 500MB:

How to stop it consuming so much RAM? This is a real annoyance, since it slows down the whole machine because of induced swapping.

View 5 Replies View Related

Ubuntu Servers :: No X Server And No VNC (old HP Office Pc) At The Moment Memory Usage Is Only 40Mb Without X Server?

Feb 2, 2010

Last weekend i've set up my first headless ubuntu home file server and torrent downloader with ubuntu 9.10.Very cool but CPU is way too fast for a home server: P4 HT 2.8Ghz, unfortunatly it has only 256Mb of ram, so no X server and no VNC (old HP office pc) At the moment memory usage is only 40Mb without X server. Besides SSH works just fine Few questions i can't seem to find answers to on google:What is a good CL network monitoring program?mething similar to htopUbuntu 9.10 has a lot, about 20-30, console-kit deamon instanses running after boot each using some memory that i can't spare.

View 2 Replies View Related

Server :: Memory Peak Caused Server Crash - Data Interpretation?

Dec 16, 2010

Last week my server crashed. I'm trying to diagnose the cause.

This is the relevant error message in /var/log/messages:

Code:

I'm assuming that I can conclude, then, that apache/httpd was the cause of the memory leak?

Next, I've been tracking my memory usage. Using top, this is an average memory load level for my server:

Code:

I'd like to confirm if my understanding of this data is correct, because Plesk indicates that my memory usage is only 50% or less. (Though I have read a number of reports indicating that Plesk's measurements are frequently wrong.)

Top says: Of the 2,073,156K total memory, 1,982,572K (95.63%) is being used, 90,584K (4.37%) is free. Of that sum, 421,948K (20.35%) are being used as buffers. Additionally, of the 2,096,472K of Swap, 60K is used, and 887,700K (42.34%) is cached.

My questions: Is my memory actually being 95% used? Or is the buffered quantity (20.35%) not a use of physical/virtual memory? (i.e. is it disk usage?) Does the amount of cached Swap influence the percentage of physical/virtual memory being used?

In other words, who is correct? Plesk says I'm using 40-50% of my memory, whereas top says 85-95%.

View 6 Replies View Related

Server :: Deadlock In NFS4 / Shared Servers Suddenly Stop Responding And Cant List It From Debian 5 Server?

Jan 4, 2010

I am connecting servers using NFS4 the shared directories are on servers running Debian 4 while the one who read from them is Debian 5.0.3. The problem is one of these shared servers suddenly stop responding and you cannot list it from Debian 5 server, also df hang, and the web application that is using it does not respond to requests that use this shared directory since it is blocked. Then the load on the server start to increase until the server cannot respond (over 90). I have found many entries in the syslog that refer to this like:

ma25555 kernel: [1200285.732919] nfs: server 10.xxx.xxx.xxx not responding, still trying
Dec 31 08:16:33 ma25555 kernel: [1200289.815378] INFO: task java:9702 blocked for more than 120 seconds.
Dec 31 08:16:33 ma25555 kernel: [1200289.835249] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
code....

I have tried the connection between the 2 servers using ping for one day and all are OK (zero lost)

There are 3 other servers that are running Debian 4 and are working fine.

View 1 Replies View Related

Server :: Stop Setting Up An Open Relay Spam Server?

Jul 25, 2011

Because our visitors/customers are short term, and may be configured incorrectly with their own mail servers we automagically redirect all port 25 traffic going to internal IP's to our own mail servers while on our network.(postfix on centos 5.6)While I have taken some measures to prevent it from spamming, I would greatly appreciate some assistance.I will be putting in clamav, but I haven't configured it yet with the mail.I am using postfix, but can also put on procmail or even spam assassin

View 6 Replies View Related

Ubuntu Multimedia :: Flash Eating RAM And Crashing Computer?

Mar 10, 2011

buntu Version: 10.04
System RAM: 2.5Gb
Proc Speed: 1.6Ghz AMD Turon dual core

when I watch Flash based video, more and more of my memory is eaten up until nothing is left and the system crashes. I don't see anything in the logs so I don't know where to start.

This ONLY happens with Flash.

View 8 Replies View Related

Ubuntu :: Log Files Eating Hard Disk Space?

Jan 29, 2009

running ubuntu 8.10 amd64 on my HP intel 2.26ghz dual core processor, 320gb hdd and 4gb ram. My main problem is that when I dual booted ubuntu onto my laptop, I had vista already installed, so I only set aside 20GB of hard disk space for ubuntu, which seems like more than enough to me. What's going on is that it says I have used all my space and only have one GB left, when the only thing I have on my computer are word files and necessary installs like flash player, compiz, avant, etc.When trying to hunt down what was using all my space, first I checked out the disk usage analyzer (some pics from here in):theres my hdd with 1/19 gb remaining here's a breakdown of my home folder, showing that it's not using very much at allhere's my filesystem, now we can see that all the space is being used in the folder: /var

View 9 Replies View Related

Ubuntu :: Ureadahead Debugfs Eating Disk Space?

Jul 28, 2010

#uname -a
Linux box 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/Linux
#df

[code]....

View 1 Replies View Related

Programming :: Show The Top Processes Eating RAM In Human Readable?

Aug 14, 2010

I want to find out which process is eating RAM, I use this command:

Code:

ps -eo size,pid,user,command | sort -k1 -rn | head -10

but it displays with no human readable:

Code:

283364 4644 quanta /usr/lib/mozilla-firefox/firefox --sm-config-prefix /firefox-C3JYUC/ --sm-client-id 1014cd7d2d4000128169799000000044950019 --screen 0
230372 3635 mysql /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/var/lib/mysql --pid-file=/var

[code]....

use 'awk' to convert 'size' column to human readable? I also read this thread but I get stuck in printing from $4 to NR.

View 8 Replies View Related

CentOS 5 Server :: Mail Server Keeps On Hanging / Stop It?

Feb 1, 2010

Our mail server keeps on hanging after a while. This happened after there was a breakdown in electricity supply and the server room air conditioners stopped working for almost half a day. We are not sure whether this is a server hardware problem or a coincidence with a break-in attempt or malware activity.

Following are the message from the server log code...

View 14 Replies View Related

CentOS 5 Server :: Httpd Out Of Memory Crashes Server?

Sep 11, 2009

My server keeps freezing up requiring a hard reboot.

CentOS release 5.3 (Final)

httpd-2.2.3-22.el5.centos.2

Here is the error in /var/log/message

Sep 11 00:16:20 localhost kernel: httpd invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Sep 11 00:19:14 localhost kernel: [<c0459e7d>] out_of_memory+0x72/0x1a5
Sep 11 00:19:14 localhost kernel: [<c045b352>] __alloc_pages+0x216/0x297
Sep 11 00:19:14 localhost kernel: [<c045c5bf>] __do_page_cache_readahead+0xc4/0x1c6
Sep 11 00:19:14 localhost kernel: [<c0436d9a>] ktime_get_ts+0x16/0x44

[Code]...

View 5 Replies View Related

CentOS 5 Server :: Put A MySQL Database In A Server's Memory?

Mar 18, 2010

I'm looking for a way to put a MySQL database in a server's memory. The disks aren't fast enough to keep up with the usage and I don't feel like going for a splitted web&db server yet because of the costs.

Because this involves risks (unless there's a way to read from the memory and write to the memory AND disks?), so I'd prefer that the DB gets copied automatically every hour or so to the local disks.

View 1 Replies View Related

Fedora :: Home Folder Eating Up All Free Disk Space?

Feb 9, 2011

Below you'll see that my home server is currently maxed with something hidden.I noticed that my machine was maxed so i ran a du on / to see where the issue was happening. I freed up 6gbs so far and ~ciaranw keeps eating up any free disk space. But when i look to see what in the folder could be doing this, i get nothing back that accounts for the currently 19gbs thereI've been a long time user of forums but never found the need to actually post seeing as my problem was usually covered, this problem has stumped my googling prowess

[root@mordothebabyeater home]# df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00

[code]....

View 4 Replies View Related







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