How To Know Which Process Is Consuming The Most Memory

May 11, 2008

how to know which processes are consuming the most memory?

View 1 Replies


ADVERTISEMENT

Limiting Process Memory Usage

Feb 28, 2007

I've been unable to limit the size of a process to keep it from hosing a system. I've tried the following methods:

- RLimitMEM for just Apache (although I'd like this to apply to any process in the system)
- ulimit
- PAM limits.conf (/etc/security/limits.conf)

In theory, either ulimit or limits.conf should do the trick, but when I start up Apache and run a test script to build up some memory, it doesn't get killed off. Is there any way to do what I want? I'll even take kernel modification as an option. We're running CentOS 4.4, but I don't have a problem with swapping out for another kernel.

View 7 Replies View Related

How Do Find The Memory Usage For Process ID

Feb 22, 2007

Few of the processes are getting more meory usage and I checked by using top command.

It is displaying as 0.6% for each process. Does it mean that it is using 0.6% of the total memory?

How can I find exact memory usage?

View 2 Replies View Related

Yet Another Topic About Process/memory Management

Oct 23, 2007

Yet another topic about process/memory management : )

I have a 256 RAM VPS and I need to free up more memory, Im using cpanel and when i use the "top" command, those are the major memory consumers!

PS.: I removed some of the list cause I know i really need them

21635 root 16 0 20888 10m 1316 S 0 1.0 0:01.73 cpsrvd-ssl
13983 root 20 0 14644 8780 348 S 0 0.8 0:00.00 cpdavd
13994 root 34 19 9956 7376 1876 S 0 0.7 0:01.04 cpanellogd
3835 root 15 0 6592 5028 1192 S 0 0.5 0:00.01 chkservd
26595 root 17 0 6652 5020 2816 S 0 0.5 0:00.18 authProg
13911 mailnull 16 0 7664 4972 1544 S 0 0.5 0:00.14 eximstats
13993 root 15 0 6228 4436 1112 S 0 0.4 0:00.03 cpbandwd
13764 root 16 0 3524 1496 628 S 0 0.1 0:00.35 antirelayd
13692 mailnull 16 0 7404 1204 808 S 0 0.1 0:00.22 exim
13698 mailnull 20 0 7404 1144 756 S 0 0.1 0:00.00 exim
18140 mailnull 20 0 7404 1140 752 S 0 0.1 0:00.00 exim

So, my basic question is, which of them I donīt need? SOme of them I know what is it but still have some questions...

1-cpsrvd-ssl , i know this means someone(me) is connected to cpanel, but even if I log out the process stills there, is that normal ?

2-authProg , sometimes there are a lot of those process running, what is that? is that normal ?

3-exim, 3 process running, is that normal ? exim is better than sendmail ?

4-After those questions, which process am I able to drop(and how?) - I only need email forwarding(that is already working), smtp, mysql(already working too), and tomcat server.

View 6 Replies View Related

IPs Consuming Bandwidth

May 20, 2009

My client's site's allocated 10GB/month bandwidth got over run to 12GB so far for this month. Our monthly bandwidth doesnt hit even 2GB.
Fortunately, my host, medialayer, hasnt pulled down the site for overusage of bandwidth.

Looking at awstats,
114.80.100.206 consumed 4.57 GB on May 14th and
114.80.100.207 consumed 5.18 GB on May 15th.
I was told to block the IPs using .htaccess, but this can go on daily from different IPs and I cant simply sit and monitor and block IPs everyday.

Is there some solution to this ? Auto-block when an IP consumes 500MB in day or something similar?

View 1 Replies View Related

VMWare ESXi 4.0 Network Started Consuming Up To 100 Mbps

Oct 20, 2009

I have 4 VMs running on a VMWare ESXi 4.0 server and it was running fine until yesterday when suddenly the network started consuming up to 100 mbps and making everything slow.

I have checked through vSphere and I dont see any VM consuming that much, it only show that the host is using that much.

I am attaching the picture from vSphere.

View 9 Replies View Related

Consuming Heavy Bandwith Upto 2000 US$+ Per Month

Jun 14, 2008

We are facing a very problematic situation since last several months due to accessive bandwith usage. But we are sure this is only local traffic.

We have 2 Servers with our hosting provider
Server A - this is a VPS
all our webfiles/domains/dns/nameservers reside on this server

Server B - this is a dedicated server
contains only databases

(we are actively running vbulletin based forums on this servers)

Since last several months we are facing huge bandwith increase since we have transferred only our databases to Server B. (earlier database + everything was on Server A) We never ever consumed even 50% of the entire allocated bandwith in past when we were on Server A.

But only after moving the database from Server A to Server B we have found this tremendous increase,

Can we do something about same ? as both the servers belong to same hosting provider.
We are not sure but expect that this is only local network traffic between 2 servers.

View 5 Replies View Related

Consuming Heavy Bandwidth Upto 2000 US$+ Per Month

Jun 14, 2008

We are facing a very problematic situation since last several months due to accessive bandwith usage. But we are sure this is only local traffic.

We have 2 Servers with our hosting provider
Server A - this is a VPS
all our webfiles/domains/dns/nameservers reside on this server

Server B - this is a dedicated server
contains only databases

(we are actively running vbulletin based forums on this servers)

Since last several months we are facing huge bandwith increase since we have transferred only our databases to Server B. (earlier database + everything was on Server A) We never ever consumed even 50% of the entire allocated bandwith in past when we were on Server A.

But only after moving the database from Server A to Server B we have found this tremendous increase,

Can we do something about same ? as both the servers belong to same hosting provider.
We are not sure but expect that this is only local network traffic between 2 servers.

View 3 Replies View Related

Cpanel VPS - Plenty Of Free Memory, But 'committed' Memory Exceeds VPS RAM

Jun 12, 2009

I have a VPS. And have had an issue both when it was 1Gig and now I recently downgraded it to 768m, because I am moving some sites to a dedicated.

However, the part I am having trouble grasping is that when I look at graphs from Munin, it will typically always show 200-400MB free memory (and free -m and top agrees with munin), but Munin shows 'committed' memory that is above the total Ram on the VPS and once the 'committed' ram exceeds the VPS limit, processes start failing.

So, why is 'committed' memory exceeding the RAM on my VPS, when Munin, free -m and top all show there is free memory available?

Code:
root@server [~]# free -m
total used free shared buffers cached
Mem: 768 449 318 0 0 0
-/+ buffers/cache: 449 318
Swap: 0 0 0
Here's a graph that munin produces that shows the 'committed' memory exceeding the total memory.
[url]

View 3 Replies View Related

Memory Usage :: Put More Content Into Memory?

Jul 16, 2009

I just got a new server Dual E5520 with 6GB RAM, SAS 15k rpm raid10. It's running well. However, the memory usage is just around 2.5GB, even when I have more traffic. Here is the kernel info

Quote:

# uname -a
Linux server2.[url]2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Any idea that we can put more content into memory?

View 11 Replies View Related

I'm Missing 7 GB Of Ram: Installed Physical Memory 8 GB / Total Physical Memory 1 GB

Apr 4, 2009

I just ordered a server from serverbeach that should have come with 2 GB but I see that this one comes with 8 GB

Unfortunately, I seem to be missing 7 GB of ram.
Installed Physical Memory: 8 GB
Total Physical Memory: 1 GB

Windows 2008 Server Web 32-bit

Now, being a 32-bit system, I should see 3-4 GB of ram right?

Any idea why only 1 GB is available for the OS?

[url]

View 14 Replies View Related

512MB Memory VPS... Out Of Memory Already

Oct 1, 2009

I have a 512mb DV server with Mediatemple, which I am running 24 (ish) domains off (most of them static websites) and a teamspeak server. I would say MAX theres 10 users online at a time)

Now, I know its running out of memory because i get frequent QoS Alerts in plesk (kmemsize is apparently the memory size):

Oct 01, 2009 11:52:57 AMBlack zonekmemsize

I have attached my results (when I did top).

My questions are:

1. Should I be expecting to be out of memory running what I am?

2. Is there a way to see the problem domains (memory wise)?

3. Are there any ways I can reduce the memory? (I have followed this already:
[url]

4. Where is the memory usage coming from (I am finding it very hard to understand TOP)

View 14 Replies View Related

Nobody Process

Apr 13, 2009

We have many process under nobody user, so our server load is Very high and its not good.
Here is our server log about one of this process:

Code:

Time: Mon Apr 13 11:36:33 2009 +0430

PID: 4415

Account: nobody

Uptime: 25532 seconds

Executable:

/usr/local/lsws/bin/lshttpd.4.0

Command Line (often faked in exploits):

View 1 Replies View Related

What Does This Process Mean

Jul 9, 2007

i have always this process in my server ;

Code:
2 root RT 0 0 0 0 S 0 0.0 0:00.02 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.08 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:06.43 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:00.31 ksoftirqd/1
6 root RT 0 0 0 0 S 0 0.0 0:05.22 migration/2
7 root 34 19 0 0 0 S 0 0.0 0:00.82 ksoftirqd/2
8 root RT 0 0 0 0 S 0 0.0 0:01.41 migration/3
9 root 34 19 0 0 0 S 0 0.0 0:00.08 ksoftirqd/3

what doeas mean , and for wich application are this proccess

View 2 Replies View Related

Process Tracking

May 18, 2009

How can track and follow a process id.

For example i need to know what is following process:

14764 root 39 15 11712 9.8m 1668 R 20 0.1 0:14.22 perl

I need to know wich/where file used perl with process id 14764

View 6 Replies View Related

What Is Kacpid Process

Oct 30, 2009

I am noticing that the kacpid process causing high cpu load.

What does kacpid do? Is there a way to fix for this problem?

Quote:

# ps aux|grep kacpid
root 29 59.6 0.2 0 0 ? S< 22:13 42:20 [kacpid]

Quote:

# lsof -p 29
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
kacpid 29 root cwd DIR 8,2 4096 2 /
kacpid 29 root rtd DIR 8,2 4096 2 /
kacpid 29 root txt unknown /proc/29/exe

Quote:

# ls -l /proc/29/exe
/bin/ls: cannot read symbolic link /proc/29/exe: No such file or directory
lrwxrwxrwx 1 root root 0 Oct 30 22:13 /proc/29/exe

Quote:

# uname -r
2.6.18-164.el5PAE

View 2 Replies View Related

8 Apache Process

Mar 17, 2008

Ive recently installed installed and configured stuff on my new box but after, I realised abnormal memory usage.

Mysql server is taking 256mb, there are somewhere between 6 and 10 apache process taking up at least 40mb each.

Furthermore, when I do: top, I see that the memory usage is increasing by about 120ko each 3 sec.

I am running centos 5.1 and have a load of 0. Basically, there is no one on the server appart from me.

On the server I have at home running debian, I run all thoose thing and it take up 200mb
max.

View 3 Replies View Related

Process Restarter

Jan 16, 2008

write me a daemon that will run every 10 seconds.
If <process> has failed or run into issues, restart the process and then email me with details.

After installing LiteSpeed on my server with cPanel, a few processes have been having issues.

<process> = /opt/lsws/bin/lshttpd, pureftpd, named

View 1 Replies View Related

Business Process

May 13, 2008

I'd like to put up here a base question which I hope some will have the goodwill to answer even though it might touch some business secrecies.

We're a gameserver hoster since around ten years, running also vserver products since over two years now. Renting a few Racks in Europe since some time we're a bit in a question mark how rootserver companies deal with the initial hardware costs for every new customer.

Rackspace and today specially power costs are huge cash eaters here in Europe. Dedicated Rootservers are huge space & power consumers per customer ratio. The initial Hw costs for every new rootserver customer might be covered after 4-6 months (if the machine has to be bought newly), adding the bandwidth and power costs it might take up to 8-9 months until a benefit might come in.

Is this the business normality in the rootserver market (waiting 9 months for any benefit, or counting only on the benefit of the 2nd customer using the older Hw), or are the better ways to handle those "initial" costs or keep them affordably low?

View 1 Replies View Related

What Is This Running Process

Feb 19, 2008

I am showing hundreds of running processes for:
/usr/local/apache/bin/httpd -DSSL

View 3 Replies View Related

Httpd Process

Apr 16, 2008

In My server i Can see lotz of /usr/local/apache/bin/httpd -k start -DSSL Process also some time it lead to crash of my server,is this caused to improper httpd.con file iam have 200-250 online users here i will give my apachi cofig file

KeepAlive Off
MaxKeepAliveRequests 200
KeepAliveTimeout 15
StartServers 20
MinSpareServers 30
MaxSpareServers 40
MaxClients 600
MaxRequestsPerChild 250

in correct optimization for my apachi also my processer is dual xenon

View 14 Replies View Related

Loop0 Process

Aug 12, 2008

Whats is following peocess?

2011 root 0 -20 0 0 0 S 1 0.0 0:38.52 loop0

View 6 Replies View Related

Php Process Cpu Spike

Mar 24, 2008

Is it normal for PHP to spike in cpu usage often? Which setting in php.ini can affect the cpu usage?

View 6 Replies View Related

Top Process - Zend

Nov 1, 2007

how to sort this?

Top Process %CPU 98.9 ./dialog --clear --backtitle Zend Optimizer Installation --title Zend Optimizer 3.2.2 --msgbox ?Welcome to the Zend Optimizer 3.2.2 Installation!??For more information regarding this procedure, please see the?Zend Optimizer Installation Guide.? 0 0

Top Process %CPU 98.8 ./dialog --clear --backtitle Zend Optimizer Installation --title Zend Optimizer 3.2.2 --msgbox ?Welcome to the Zend Optimizer 3.2.2 Installation!??For more information regarding this procedure, please see the?Zend Optimizer Installation Guide.? 0 0

View 4 Replies View Related

Frozen Process

Nov 15, 2007

My hosting company is telling me that I have getting frozen processes on my VPS that is causing apache to stop responding.

My VPS is CentOS, with 512 megs of memory and my website is a Vbulletin forum. I have several add-ons installed on vbulletin, and if one of those are causing the problem, how do I figure it out?

When http stops responding, I can access the server with putty on ssh. Running the "top" command, it shows that I still have 100+ megs of memory free and the processor is barely being used.

This has happened twice in just 2 - 3 days. This morning, I asked my hosting company what can be causing this, but no answer so far.

View 1 Replies View Related

Process Using High CPU

Sep 4, 2007

I run a dedicated server, Running

CentOS 4.5 final
Apache 2.0.59
php 4.3.11
MySQL 4.1.20

I have a user who has been importing large sql databases and this causes the cpu to run at 80% - 90% this in turn causes high loads and sometimes causing the server to crash.

Is there a way to automatically limit or control how much the process can use or stop the process to allow the server to recover.

Just trying to put some sort of safe guard in place

View 6 Replies View Related

Perl Process

Feb 14, 2007

How do I trace what user this is?

Code:
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 9488 nobody 25 0 1612 1280 1108 S 21.1 0.2 619:37 1 perl bodyb3 200.101.193.42 0 5000
I also ran netstat -n and found this:
Code:
udp 15184 0 server.host.com:55936 ns1.datacenter.net:domain ESTABLISHED

View 3 Replies View Related

Httpd Process

Mar 15, 2007

I am having only 14 connections, but having many httpd processes.

root@server [~]# pidof httpd
1544 1498 1475 1239 835 686 684 572 570 535 478 32602 32601 32597 32544 32106 32 085 32082 30538 30536 29612 28981 28980 28978 28785 28778 28775 28759 28741 2843 4 28431 28428 28420 28394 28192 28116 27782 27694 27693 27692 27442 27399 27299 27288 27276 27262 27257 27252 27248 27146 27043 26970 26486 26385 26049 26023 25 703 25679 25621 24603 24602 24600 24526 22025 21963 21950 21915 21870 21858 2179 4 21697 21673 21525 21223 21211 21001 20784 20783 20780 20721 20713 20704 20696 20613 20605 20603 20179 19909 19718 19711 19530 19463 19462 19460 19456 19424 19 346 19283 19258 19232 19140 19123 19088 17926 17925 17924 17421 17420 17419 1505 4 15053 15052 14854 14676 14458 14457 14439 14343 14342 14340 14336 14267 14189 13899 13880 10021 10016 10014 10012 10011 10000 9999 9992 9991 9990 9989 9988 99 86 9979 9978 9977 9976 9973 9972 9970 9962 9961 9960 9959 9957 10293
root@server [~]# netstat -n | grep :80 | wc -l
14

View 8 Replies View Related

Perl Process

Oct 24, 2007

We are using FreeBsd with Cpanel.

Some one has upload some scripts,they are running and attacking
to other systems.

last pid: 64017; load averages: 59.59, 60.75, 63.04 up 19+22:52:28 12:03:45
457 processes: 61 running, 315 sleeping, 81 zombie
CPU states: 52.4% user, 0.0% nice, 47.6% system, 0.0% interrupt, 0.0% idle
Mem: 465M Active, 212M Inact, 236M Wired, 22M Cache, 111M Buf, 62M Free
Swap: 2048M Total, 458M Used, 1590M Free, 22% Inuse

PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
3282 root 128 0 37536K 30520K RUN 3:49 4.79% 4.79% perl
62953 root 128 0 30284K 25248K RUN 0:05 1.90% 1.90% perl
49249 root 128 0 33720K 28876K RUN 0:46 1.86% 1.86% perl
2981 root 128 0 40928K 30724K RUN 3:56 1.56% 1.56% perl
76809 nobody 127 0 4148K 2080K RUN 13:52 1.42% 1.42% perl5.8.8
19633 nobody 127 0 4148K 2128K RUN 2:34 1.42% 1.42% perl5.8.8
57451 nobody 126 0 4148K 2072K RUN 39:24 1.22% 1.22% perl5.8.8
76599 nobody 126 0 4148K 2080K RUN 13:53 1.22% 1.22% perl5.8.8
76966 nobody 126 0 4148K 2080K RUN 14:01 1.17% 1.17% perl5.8.8
60286 nobody 126 0 4148K 2072K RUN 38:42 1.12% 1.12% perl5.8.8
77488 nobody 126 0 4148K 2080K RUN 13:48 1.12% 1.12% perl5.8.8
77697 nobody 126 0 4148K 2080K RUN 13:47 1.12% 1.12% perl5.8.8
56573 nobody 126 0 4148K 2096K RUN 39:55 1.07% 1.07% perl5.8.8
58126 nobody 126 0 4148K 2072K RUN 39:11 1.07% 1.07% perl5.8.8
76513 nobody 126 0 4148K 2080K RUN 13:58 1.07% 1.07% perl5.8.8
76807 nobody 126 0 4148K 2080K RUN 13:57 1.07% 1.07% perl5.

View 6 Replies View Related







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