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


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 To Find File Process Which Is Using Bandwidth

Jul 18, 2008

How can I find which file or process is using/eating up the bandwidth?

I have a server which is using lots of bandwidth 8GB/hour.

View 1 Replies View Related

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

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

Program To Monitor Process Cpu Usage

Mar 20, 2008

I have been looking everywhere for a program that can monitor a process's CPU usage and if it exceeds a certain percentage for a given amount of time, kill the process.

Everywhere I look, it's either doesn't kill automatically, or is for Linux. Can anyone recommend me a program that can do this for Windows 2003?

View 6 Replies View Related

Mysql Usage: High CPU %, How Do I Find Out Who's Using What

Aug 3, 2008

just noticed mysql cpu usage has shot up from its usual 5-10% cpu to 30%+. domains are as normal and no extraordinary php processes.

any way i can tell what users are most heavily running mysql? (as in number queries / slow queries etc?) i know mysqladmin processlist but that only gives me a snapshot, whereas i want to see over 24 hours, who used mysql the most...

View 6 Replies View Related

Memory Usage For XEN Vs. VOZ

Jun 23, 2009

It seems that a user may get more percentage of memory purchased for real use. I've got a xen VPS which has access to all 8 CPU cores. Guess this is a good thing to be able to burst CPU resources

[xwu@atom ~]$ cat /proc/cpuinfo | grep processor | awk '{a++} END {print a}'
8

But this requires lots of kthread running to be able to access all CPU resources, which in turn consumes quite some memory, a valuable, limited resource on a small VPS instance.

[xwu@atom ~]$ cat /proc/meminfo | grep Mem
MemTotal: 524288 kB
MemFree: 276128 kB

The output above is grathered when almost no other services are running except sshd.

While XEN VPS surely consumes more memory than OVZ VPS, I would suggest the Xen VPS can be built in such a way less memory is required to just do the housekeeping.

Of course, that would imply careful provisioning, maybe less "overselling" for the sake of lack of a term. The bottom line is how we can reduce the memory usage, while ensure individual VPS instance can still have fair share of CPU if needed.

Is there anyway in the VPS kernel config which can disable access to certain CPU core, thus reducing the number of kthreads and etc?

View 0 Replies View Related

Memory Usage On VPS

Dec 1, 2008

I do not know if i have problems with my vps but "top" output looks strange for me. It looks like apache processes have huge VIRT parameter and all processes have huge SWAP param.

My VPS 712 guaranteed and 1024 burstable. I'm running 10 virt hosts with very small traffic. Totally not more than 500 visits/day. Most of sites are static and only two are PHP.

Apache and PHP configuration are very standard.

Here is top output: ...

View 14 Replies View Related

Memory Usage

Jul 30, 2007

this is my machine's vmstat result

procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
1 1 0 1864 16352 34576 146252 0 3 541 106 146 142 6 23 71

I want to free some space

How can I do that?

View 3 Replies View Related

Php Memory Usage

Nov 1, 2007

how much adding php to apache will increase memory usage on a VPS? This would be php5.

I need it to use phpMyAdmin to manage my MySQL database (actual site is running off tomcat but jspmyadmin won't work for some reason).

Or can someone recommend a database design tool (I've used toad data modeler before) which I can use on my home pc to generate SQL statements for execution on the server (and please don't say notepad).

View 4 Replies View Related

Memory Usage

Mar 10, 2007

We have a server that is rebooting, we saw that free memory reaches almost 0 before the server reboot.

iīm running a cpanel server on P4 3.6HT / 1GB RAM / load always under 1.0:

Apache
46.6 to 80 requests/sec - 183.7 kB/second - 4034 B/request

top - 11:07:15 up 21 min, 1 user, load average: 0.29, 0.38, 0.46
Mem: 1026348k total, 529632k used, 496716k free, 31148k buffers

Most processes are:
12239 nobody 15 0 49436 7324 3116 S 1 0.7 0:00.25 /usr/local/apache/bin/httpd -DSSL

Is the time to increase RAM server or would be a hardware problem?

View 5 Replies View Related

Memory Usage

Aug 30, 2007

Those of you who work with shared hosting, how much memory per customer do you allow for PHP? What about for Ruby on Rails?

View 3 Replies View Related

Memory Usage

Jan 2, 2007

I am trying to run tomcat on my linux server and I am getting memory allocation error. When I see check memory usage it is full, but when I check the cpu usage it show as this:

load average: 0.00, 0.00, 0.00

When I run top command, I found tis.

16003 root 19 19 5492 5492 5040 D N 0.7 0.6 0:00 0 pkgacct - triwaste
1 root 8 0 476 432 412 S 0.0 0.0 0:35 0 init [3]
2 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
3 root 19 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd_CPU0
4 root 9 0 0 0 0 SW 0.0 0.0 12:09 0 kswapd
5 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
6 root 9 0 0 0 0 SW 0.0 0.0 4:16 0 kupdated
7 root 9 0 0 0 0 DW 0.0 0.0 40:29 0 kjournald
384 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
385 root 9 0 0 0 0 SW 0.0 0.0 8:05 0 kjournald
387 root 9 0 0 0 0 SW 0.0 0.0 2:45 0 loop0
642 root 8 0 800 752 692 S 0.0 0.0 0:02 0 xinetd -stayalive -pidfile /var/run/xinetd.pid
653 root 9 0 1324 1168 1128 S 0.0 0.1 0:44 0 /usr/sbin/sshd
920 named 9 0 4012 3488 2240 S 0.0 0.3 0:00 0 /usr/sbin/named -u named
921 named 9 0 4012 3488 2240 S 0.0 0.3 0:19 0 /usr/sbin/named -u named
922 named 9 0 4012 3488 2240 S 0.0 0.3 3:49 0 /usr/sbin/named -u named
923 named 9 0 4012 3488 2240 S 0.0 0.3 0:04 0 /usr/sbin/named -u named
924 named 9 0 4012 3488 2240 S 0.0 0.3 1:07 0 /usr/sbin/named -u named
1252 root 8 0 928 616 564 S 0.0 0.0 0:10 0 crond
1260 root 9 0 5172 1436 1408 S 0.0 0.1 0:59 0 /usr/local/apache/bin/httpd -DSSL
1346 xfs 9 0 2528 680 656 S 0.0 0.0 0:00 0 xfs -droppriv -daemon
1355 daemon 9 0 556 540 500 S 0.0 0.0 0:00 0 /usr/sbin/atd
1552 root 18 19 11844 8740 7968 S N 0.0 0.9 35:28 0 cpanellogd - setting up logs for detail
1599 root 9 0 1008 876 876 S 0.0 0.0 0:00 0 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pi
1630 mysql 9 0 70928 56M 53624 S 0.0 6.3 0:34 0 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql

When the memory usage 6.3 is what is it mean? Is it using 6.3% of the total memory?

View 0 Replies View Related

How To Find What Perl Script Is Causing High CPU Usage

Nov 13, 2008

How to find what Perl script is causing high CPU usage?

I logged into my CentOS box tonight and notice after viewing the output of the "top" command that there are the following lines of output that have me concerned. What command can I use to find the source of the Perl script that is causing the CPU spike?

It seems it's been running for some time too.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30120 apache 25 0 6908 4544 1216 R 99.8 0.2 13416:07 perl
30654 apache 25 0 8028 4508 1212 R 99.4 0.2 13417:22 perl
21273 apache 25 0 7584 4528 1200 R 98.1 0.2 2225:12 perl
20516 apache 25 0 6760 4540 1232 R 96.8 0.2 2221:30 perl

View 8 Replies View Related

High Memory Usage

Mar 28, 2009

Am using Hypervm,my all vms are not using more than 512 MB memory but when i click on server as localhost the there is show maximum memory usage I have total 8 GB it always show 5-6 GB usage and never drop down, How can I fix this matters?

View 7 Replies View Related

DirectAdmin Memory Usage

Dec 30, 2008

I was just wondering about DA memory load. Like CPANEL load around 300mb and LXADMIN about 20mb. I was going to get VPS with 256 only to host 40-50 church sites with just static html, not dynamic or anything. Greatly appreciated with your input. I'm still learning all of this

View 8 Replies View Related

Memory Usage After VPS Upgrade

Mar 23, 2009

I have a VPS with 384 MB RAM, with free about 100-120 MB. I've upgraded to 512 MB (to have some other features...). I notice that the memory usage is always about 250-300 MB. For example, now:

Code:
[root@host ~]# free -m
total used free shared buffers cached
Mem: 512 311 200 0 0 0
-/+ buffers/cache: 311 200
Swap: 0 0 0
But PHP tells "out of memory" in some tasks

The current PHP config is memory limit 192 MB (it was 96 MB, then I tried to increase).
[url]

Code:
<b>Fatal error</b>: Out of memory (allocated 19660800) (tried to allocate 39 bytes)
in <b>##hidden##/includes/joomla.php</b> on line <b>3041</b><br />

View 9 Replies View Related

MySQL 4.1 Vs 5.1/5.0 (memory Usage)

Nov 6, 2009

Does anyone know if MySQL 5.1 or 5.0 uses less memory than 4.1 does?

View 3 Replies View Related

CentOS And Memory Usage

Oct 20, 2009

I'm currently playing with my dedicated server, it isn't much but for learning purposes it's more than enough.

I have CentOS 5.3 installed on the server.

It's Intel Atom 330 with 2 GB RAM.

Now my question is:

When server is running nothing but basic install memory comsumption is aroun 500-600 MB.

Today I have rsynced 11 GB of data from one of my VPSs to the ded server and the memory comsumption on the server sky rocketed to 2 GB, leaving only 56 Mb free.

Strange.. (for me)

And there was almost no (110 Kb) swap usage.

Now the memory comsumption is ~ 1.2 GB.

View 6 Replies View Related

My Server Memory Usage Is 100%

Jun 10, 2009

Since a short while back my server memory usage is 100%. The amount of
visitors decreased so the memory should be lower in consumption than before.

I suspect a newly installed script could have bugs or misuse of the
server by hackers. I don't know how to see on the server what script or
what part makes the memory use so high. I see Apache is very high but
I'm on VPS.
Technical data........

View 4 Replies View Related

Does The Memory Usage Statistics Look Right

Jul 13, 2009

My managed dedicated server at 1and 1 has very low load, but quite slow, I was trying to figure out the reason. The top and free command ( I run at midnight without traffic), here is the result. Can anybody tell me if the memory usage is normal, anything suspicious. Look like the memory usage is high even with no traffic, but 1and 1 support say that's because it's reserved for cache.

top - 02:01:38 up 31 days, 14:13, 0 users, load average: 0.00, 0.03, 0.07
Tasks: 6 total, 2 running, 4 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1017068k total, 972620k used, 44448k free, 169564k buffers
Swap: 514064k total, 26076k used, 487988k free, 509580k cached


total used free shared buffers cached
Mem: 1017068 972656 44412 0 169600 509612
-/+ buffers/cache: 293444 723624
Swap: 514064 26076 487988

View 1 Replies View Related

Understanding Memory Usage

Mar 23, 2009

So I just need some clarification:

Code:

-bash-3.2$ free -m
total used free shared buffers cached
Mem: 2000 1131 869 0 219 513
-/+ buffers/cache: 398 1602
Swap: 4094 0 4094

How much memory have I used?

View 7 Replies View Related

Optimize Memory/CPU Usage

Mar 16, 2009

I have a VPS w/ KnownHost on CPanel and 256mb of RAM (I know, bad mix). It's the newer CPanel that is VPS optimized.

There are 3 websites on it and get < 500 hits/day total on average.

Right now I am at 128mb used/127mb free. It seems higher than it should/needs to be.

View 7 Replies View Related

High Memory Usage

Oct 11, 2009

I have a Drupal site with around 1000 visitors/day on a basic VPS. (HyperVM with lxadmin) Burstable RAM is 384MB and my site reachs it.

is this normal for a site like this?

anything that I can do to decrease the memory usage?

View 14 Replies View Related

How We Can Up The Apache Memory Usage

Nov 18, 2008

my grunted memory for apatchi is 51 meg
i want make him 256meg
because the vps its alwayes down
see this please

HTML Code:
29890 nobody 0

2.5

0.1 /usr/local/apache/bin/httpd -k start -DSSL
31854 nobody 0

2.3

0.1 /usr/local/apache/bin/httpd -k start -DSSL
31766 nobody 0

1.8

0.1 /usr/local/apache/bin/httpd -k start -DSSL
32043 nobody 0

1.7

0.1 /usr/local/apache/bin/httpd -k start -DSSL
25921 nobody 0

1.4

0.1 /usr/local/apache/bin/httpd -k start -DSSL
32014 nobody 0

1.3

0.1 /usr/local/apache/bin/httpd -k start -DSSL
25998 nobody 0

1.3

0.1 /usr/local/apache/bin/httpd -k start -DSSL
30388 nobody 0

1.0

0.1 /usr/local/apache/bin/httpd -k start -DSSL

View 3 Replies View Related

Memory Usage On Linux

Jul 21, 2008

I have a dedicated server with 2 GB of RAM. I am concerned with my server's memory usage when I am currently not running many applications.

[root@digm1 ~]# free -m
total used free shared buffers cached
Mem: 1947 1896 50 0 106 1579
-/+ buffers/cache: 210 1736
Swap: 2047 0 2047

It tells me that I only have 50 MB of memory left and it drops down to ~20 MB after Apache has been running for a while. Once it runs out of that 20 MB I will start swapping right? I have also run this command and do not see any process taking up anywhere close to what is being reported:

ps -eo pid,ppid,rss,vsize,pcpu,pmem,cmd -ww --sort=pid

No process is using more than 1.5% memory and only 3 use this much.

Is Linux caching memory which will be used after I run out?

View 2 Replies View Related

Memory Usage :: Running Out Of RAM

Nov 19, 2008

I have a VPS with 512 MB ram. I have 6 sites hosted on my VPS, of which 3 contains only static pages. My site is not very traffic heavy. Infact I moved to my VPS only 3 months back, until then it was running on a shared server with no problem.

But still, I am always running out of RAM. I have upgraded my account to 512 MB ram from 256MB because of this. Can anyone please tell me how I can find out what is the cause of this excessive memory usage? On rebooting my server, the RAM usage goes down to about 250MB.

View 10 Replies View Related

Memory Usage To All VPSMASTER

Jun 10, 2008

i order the latest plan of vps in some company, and got 898MB of dedicated memory, but as you can see in memory usage, how come my memory only 23mb(free usage) i just reboot and memory usage only 23mb, thats why my website taking so long to open other page.

is it my mistake?(im running forum,but only 2 users currently online, and not opening other website) or is it the company server that took somany client.

View 14 Replies View Related







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