Load Is Low CPU Usage Is High

Jul 26, 2007

I was wondering is someone can shed some light on a curious situation for me. I am running a linux server (Gentoo) and the CPU usage spikes to 90-100% but the load of the server when viewed by top is only 0.4 - 1.5 (max). The memory is OK with .5 gig free and there is no paging going on. So my question is: Is this server over used or not?

Below is the output of top 3 times over aprox 2 min... please enlighten me... :-)

top - 17:39:57 up 3 days, 10 min, 1 user, load average: 0.55, 0.66, 0.66
Tasks: 66 total, 2 running, 64 sleeping, 0 stopped, 0 zombie
Cpu(s): 27.3% us, 0.0% sy, 0.0% ni, 72.0% id, 0.7% wa, 0.0% hi, 0.0% si
Mem: 2058848k total, 2037140k used, 21708k free, 176904k buffers
Swap: 2008116k total, 168k used, 2007948k free, 618380k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5501 sdb 25 0 570m 202m 18m S 26.3 10.1 1076:22 kernel
5579 root 19 0 2107m 729m 33m S 1.0 36.3 188:28.30 java
4814 root 16 0 30336 2360 1832 R 0.3 0.1 0:00.04 sshd
1 root 16 0 2560 556 472 S 0.0 0.0 0:00.20 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
3 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
4 root 19 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
7 root 10 -5 0 0 0 S 0.0 0.0 0:01.20 kblockd/0
10 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd
75 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
74 root 15 0 0 0 0 S 0.0 0.0 0:17.43 kswapd0
660 root 15 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
716 root 16 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
720 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
737 root 15 0 0 0 0 S 0.0 0.0 0:12.73 kjournald
788 root 21 -4 2560 512 420 S 0.0 0.0 0:00.01 udevd
4944 root 15 0 5024 824 596 S 0.0 0.0 0:00.01 syslog-ng
5357 root 16 0 17124 1772 1396 S 0.0 0.1 0:00.00 sshd
5370 root 16 0 56260 3704 2420 S 0.0 0.2 0:03.88 apache2
5437 ntp 16 0 15848 4656 3548 S 0.0 0.2 0:00.10 ntpd
5473 root 16 0 8956 788 644 S 0.0 0.0 0:00.04 cron
5483 apache 15 0 56120 3512 2236 S 0.0 0.2 0:00.00 apache2
5490 sdb 15 0 16992 1772 1476 S 0.0 0.1 0:00.27 vserver
5491 sdb 20 0 16992 1708 1416 S 0.0 0.1 0:00.00 vserver
5496 sdb 16 0 49444 7232 5928 S 0.0 0.4 0:00.74 kernel
5566 root 18 0 8736 1300 1076 S 0.0 0.1 0:00.00 run.sh

top - 17:40:39 up 3 days, 10 min, 1 user, load average: 0.55, 0.65, 0.65
Tasks: 66 total, 2 running, 64 sleeping, 0 stopped, 0 zombie
Cpu(s): 95.0% us, 0.3% sy, 0.0% ni, 4.7% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2058848k total, 2037264k used, 21584k free, 176908k buffers
Swap: 2008116k total, 168k used, 2007948k free, 618448k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5501 sdb 25 0 570m 202m 18m S 83.6 10.1 1076:44 kernel
5579 root 19 0 2107m 729m 33m S 10.7 36.3 188:29.79 java
3738 sdb 15 0 23660 2056 1628 S 0.3 0.1 0:00.15 vserver
1 root 16 0 2560 556 472 S 0.0 0.0 0:00.20 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
3 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
4 root 19 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
7 root 10 -5 0 0 0 S 0.0 0.0 0:01.20

View 6 Replies


ADVERTISEMENT

Server High Load/high Mysql Usage

Jul 2, 2009

I have a site that is eating up my server resources and need to know what the best solution for this is. I'm thinking of getting another server just for mysql but do not know what specs the server should be to handle the current traffic/database load and have the site run smoothly without slowing down to a snail's pace.

An alternative is to get another server just for the videos being served and leave the database and html on the current server. This is where I'm stuck and don't know what route to take with this.

My current server stats:

Dual Xeon 5130
4GB RAM
250GB
50 Mbit/sec
CentOS 3.9

Website traffic stats:

15,000 visitors/day
150,000 pageviews/day
Serving videos

I've attached screenshots of top and bandwidth usage per day. Hopefully with this information you could tell me if I need another server or if there are any things I can do to the current server to help things move faster.

View 13 Replies View Related

May Server Crash Due To High Load With Low CPU And RAM Usage

Oct 29, 2009

I have server load like 40.

Nothing lags.

Server has RAM usage 20% and CPU usage goes up to 25%

Swap isnt used at all.

Should I be afraid of server crash incase server load goes up to 60 or 80 without ram and cpu usage rising that much?

View 9 Replies View Related

High Server Load! Swap And Memory Usage

Nov 19, 2007

I have a linux server that is only hosting one site , and although the httpd and mysql are working well , then the server load is high and when I restart the server the server load is high till the swap accelerates to 100% and then it uses the memory alot.

View 5 Replies View Related

Plesk 12.x / Linux :: High Memory Usage - Swap So High

Nov 14, 2014

This is my free -m

total used free shared buffers cached
Mem: 1998 1903 95 0 45 542
-/+ buffers/cache: 1315 683
Swap: 2662 36 2625

Not good ....

I got 5 wordpress and 5 statics website on this server and 100 visitors by 24H00 each day.

Question 1 : Why the memory is so low and the swap so high ?
Question 2 : Why i don't find high usage process in top command ?
Question 3 How can i resolve this problem ?

View 2 Replies View Related

High Server Load / High Swap / Lots Of Httpd

Feb 20, 2008

I have a cPanel server with 4GB RAM

My server hangs time to time, once or twice a day. This is the last status when it happens.

Server Load 75.90 (2 cpus)
Memory Used 92 %
Swap Used 65.78 %

When I was still inside SSH when it happens, the processes I can see inside "top" are a lot of httpd processes.

So I "killall -9 httpd", I had to do it 30~40 times

#killall -9 httpd
#killall -9 httpd
#killall -9 httpd
x 30~40 times until no pid process found & the server load is back to normal.

Before that, I check httpd fullstatus, they look very normal, same goes to what I see inside WHM Apache status & cpu usage status.

At first I thought it was a memory problem after consulting with a server admin, so I replaced all 4GB new ram stick (such a waste)

View 12 Replies View Related

My Server Is Very Slow, High CPU, High Apache Load

Oct 31, 2009

My server is very slow, High CPU, High Apache load....

I got a new server and i had setup a script on it.

No server tweaks has been done.

I run a filehosting site so it gets very slow when traffic is high.

Here is some info:

Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4135 filedip 19 0 12812 8892 2212 R 18.9 0.4 0:00.74 index.cgi
3140 apache 15 0 22624 9604 2768 S 17.3 0.5 1:54.45 httpd
3556 apache 15 0 22792 9592 2768 S 17.3 0.5 0:43.53 httpd
3739 apache 15 0 22672 9556 2744 S 17.3 0.5 1:09.67 httpd
3884 apache 15 0 22664 9560 2744 S 17.3 0.5 0:23.98 httpd
3474 apache 15 0 22672 9572 2756 R 16.1 0.5 1:34.09 httpd
3548 apache 15 0 22792 9560 2740 S 16.1 0.5 1:33.67 httpd
3991 apache 15 0 22640 9588 2756 S 15.1 0.5 0:22.44 httpd
3475 apache 15 0 22672 9580 2756 S 13.2 0.5 1:31.42 httpd
3493 apache 15 0 22664 9592 2768 S 12.9 0.5 1:15.52 httpd
3769 apache 15 0 22664 9580 2756 S 12.9 0.5 0:45.19 httpd
3638 apache 15 0 22664 9576 2756 S 12.3 0.5 0:32.82 httpd
3724 apache 16 0 22664 9580 2756 R 12.3 0.5 0:34.25 httpd
3626 apache 15 0 22672 9580 2756 S 11.7 0.5 0:52.54 httpd
4023 apache 16 0 22792 9560 2740 R 11.3 0.5 0:13.16 httpd
3882 apache 15 0 22664 9576 2756 S 10.1 0.5 0:38.56 httpd
3005 apache 15 0 22672 9588 2768 R 9.1 0.5 2:06.61 httpd

I dont know much about server managment...

how to fix this so server doesnt go slow?

View 6 Replies View Related

High Load From High Iowait

Jul 2, 2008

I am running in a High load problem lately. I have one of those cheap 1and1 servers which was running fine until 2 weeks ago. Once I rebooted accidentaly, it did not come back with some unrepairable kernel errors and I had to re-image it.

I chose to reimage the server with CentOS 5, for better support. The new re-image worked fine for some days, at least so I thought and now I am having high loads. The server crashes if not monitored every moment as the load is unpredictable.

Just a restart of the Apache will bring the server back to normality, but I am not sure if it is apache or some other script to be blamed.
I have beeing monitoring through apache server-status, but I cannot organize something unusual in the high load moments.

At this moment for example:

top - 09:00:36 up 15:43, 3 users, load average: 3.57, 4.60, 5.32
Tasks: 144 total, 2 running, 142 sleeping, 0 stopped, 0 zombie
Cpu(s): 10.6%us, 6.5%sy, 0.0%ni, 18.7%id, 63.5%wa, 0.2%hi, 0.5%si, 0.0%st

12:00:29 AM CPU %user %nice %system %iowait %steal %idle
12:10:01 AM all 9.14 0.00 5.52 44.66 0.00 40.68
12:20:14 AM all 6.83 0.00 3.98 27.88 0.00 61.32
12:30:10 AM all 6.44 0.00 4.20 81.25 0.00 8.11
12:40:09 AM all 5.25 0.00 4.09 81.93 0.00 8.73
12:50:15 AM all 5.11 0.00 3.79 90.74 0.00 0.36
01:00:07 AM all 7.22 0.00 4.52 57.11 0.00 31.15
01:10:13 AM all 6.89 0.00 4.01 55.38 0.00 33.71
01:20:14 AM all 4.37 0.00 3.27 41.88 0.00 50.48
01:30:25 AM all 4.26 0.00 3.29 63.42 0.00 29.03
01:40:06 AM all 27.18 0.00 4.75 58.27 0.00 9.80
01:50:03 AM all 29.64 0.00 6.61 51.50 0.00 12.25
02:00:07 AM all 27.00 0.00 8.48 55.49 0.00 9.03
02:10:10 AM all 19.29 0.00 4.97 73.80 0.00 1.94
02:20:04 AM all 37.85 0.00 6.78 40.70 0.00 14.67
02:30:05 AM all 15.65 0.00 4.80 68.47 0.00 11.08
02:40:08 AM all 9.06 0.00 5.60 37.49 0.00 47.86
02:50:07 AM all 5.36 0.00 3.62 42.29 0.00 48.73
03:00:02 AM all 6.05 0.00 4.08 47.27 0.00 42.60
03:10:02 AM all 4.22 0.00 3.68 38.17 0.00 53.93
03:20:02 AM all 4.06 0.00 3.75 41.37 0.00 50.82
03:30:22 AM all 4.42 0.00 3.93 45.25 0.00 46.41
03:40:11 AM all 4.34 0.00 3.95 39.58 0.00 52.13
03:50:02 AM all 4.67 0.00 4.01 32.53 0.00 58.80
04:00:08 AM all 3.72 0.00 3.87 28.40 0.00 64.02
04:10:02 AM all 13.49 0.00 6.58 20.82 0.00 59.10
04:20:01 AM all 6.70 0.00 4.63 6.06 0.00 82.61
04:30:02 AM all 1.44 0.00 1.21 4.75 0.00 92.59
04:40:01 AM all 12.42 0.00 8.12 7.65 0.00 71.81
04:50:02 AM all 1.43 0.00 1.07 4.02 0.00 93.47
05:00:02 AM all 1.60 0.00 1.40 8.62 0.00 88.38
05:10:10 AM all 3.80 0.00 3.02 17.86 0.00 75.32
05:20:06 AM all 5.10 0.00 4.22 23.34 0.00 67.34
05:30:02 AM all 1.54 0.00 1.40 11.22 0.00 85.85
05:40:05 AM all 1.75 0.00 1.89 13.12 0.00 83.23
05:50:12 AM all 2.15 0.00 2.22 18.92 0.00 76.72
06:00:02 AM all 1.92 0.00 2.01 12.87 0.00 83.20
06:10:02 AM all 2.27 0.00 2.16 11.53 0.00 84.04
06:20:03 AM all 3.56 0.00 3.02 25.26 0.00 68.16
06:30:10 AM all 2.66 0.00 2.05 18.13 0.00 77.16
06:40:02 AM all 2.58 0.00 2.25 22.87 0.00 72.30
06:50:02 AM all 2.68 0.00 1.92 15.77 0.00 79.63
07:00:03 AM all 3.06 0.00 2.48 26.01 0.00 68.46
07:10:03 AM all 3.65 0.00 3.20 36.54 0.00 56.61

07:10:03 AM CPU %user %nice %system %iowait %steal %idle
07:20:03 AM all 4.40 0.00 3.28 43.86 0.00 48.46
07:30:02 AM all 4.10 0.00 3.17 31.30 0.00 61.43
07:40:06 AM all 7.67 0.00 3.95 50.79 0.00 37.59
07:50:02 AM all 4.72 0.00 3.11 44.30 0.00 47.86
08:00:03 AM all 5.57 0.00 3.72 47.15 0.00 43.56
08:10:07 AM all 10.66 0.00 3.59 71.62 0.00 14.13
08:20:17 AM all 5.67 0.00 3.42 58.81 0.00 32.10
08:30:10 AM all 11.12 0.00 3.49 76.71 0.00 8.67
08:40:03 AM all 7.00 0.00 3.36 47.94 0.00 41.71
Average: all 7.53 0.00 3.76 38.90 0.00 49.81
Some configurations:
The reimage partittioning looks like this:

/dev/sda1 950M 138M 765M 16% /
/dev/sda5 4.7G 1.9G 2.9G 40% /usr
/dev/sda7 63G 58G 5.0G 93% /var
/dev/sda6 4.7G 23M 4.7G 1% /home
none 1.0G 500K 1.0G 1% /tmp

KeepAlive On
MaxKeepAliveRequests 300
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers 10
MinSpareServers 20
MaxSpareServers 50
ServerLimit 256
MaxClients 180
MaxRequestsPerChild 2000
</IfModule>

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

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

skip-locking
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
max_connections=250
interactive_timeout=100
wait_timeout=20
connect_timeout=10
thread_cache_size=80
key_buffer=64M
join_buffer=1M
max_allowed_packet=16M
table_cache=512
record_buffer=1M
sort_buffer_size=1M
read_buffer_size=1M
max_connect_errors=10
thread_concurrency=2
read_rnd_buffer_size=1M
myisam_sort_buffer_size=64M
server-id=1

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 3
model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping : 4
cpu MHz : 2793.324
cache size : 1024 KB

View 10 Replies View Related

High CPU Load But No High Process

Nov 8, 2008

I have extremely high CPU load average, but when I run TOP command there are not any process with high CPU

CPU load averages:
211.65 (1 min) 227.29 (5 mins) 247.89 (15 mins)
Tasks: 364 total, 2 running, 360 sleeping, 2 stopped, 0 zombie
Cpu(s): 0.0%us, 0.3%sy, 0.0%ni, 0.0%id, 99.7%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2065460k total, 2012372k used, 53088k free, 60964k buffers
Swap: 2040212k total, 3280k used, 2036932k free, 619900k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19871 root 15 0 4944 2488 1656 R 1 0.1 0:02.73 top
1 root 15 0 4208 1320 1136 S 0 0.1 0:01.55 init
2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:01.77 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:01.16 ksoftirqd/1
6 root 10 -5 0 0 0 S 0 0.0 0:01.04 events/0
7 root 10 -5 0 0 0 S 0 0.0 0:00.65 events/1
8 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper
9 root 11 -5 0 0 0 S 0 0.0 0:00.00 kthread
35 root 10 -5 0 0 0 S 0 0.0 0:00.15 kblockd/0
36 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1
37 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid
127 root 10 -5 0 0 0 S 0 0.0 0:13.16 ata/0
128 root 16 -5 0 0 0 S 0 0.0 0:00.00 ata/1
129 root 10 -5 0 0 0 D 0 0.0 0:01.15 ata_aux
130 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod
158 root 16 0 0 0 0 S 0 0.0 0:00.00 pdflush
159 root 15 0 0 0 0 D 0 0.0 0:01.00 pdflush
160 root 10 -5 0 0 0 S 0 0.0 0:10.68 kswapd0
161 root 11 -5 0 0 0 S 0 0.0 0:00.00 aio/0

So my server is "unresponsive" for abour 18 hours, burst net didnt answer my tickets and I dont know what to do. Ive been with this setup for almost 5 months with no problems, No changes have been made to hardware or software.

Im using Centos 5.0

View 10 Replies View Related

Vps High Usage

Oct 21, 2009

i have a vps and its quite a new one since i just ordered it and transfered everything from my previous..

But im getting really high cpu useage and im wanting to know whats best ways to optimize this...

View 11 Replies View Related

What Causes High CPU Usage

May 22, 2008

I know about high CPU usage and how it works against a webmaster when his host decides to suspend an account over this.

My question is what kinds of scripts usually cause CPU Usage to bulk up.

Basically what the script is doing, that just makes it happen.

I tried Google, but i guess poor choice of keywords .

View 4 Replies View Related

Ram Usage Get's High

Feb 14, 2007

I have server with P4 ( 2.4ghz) 2gb ram with cpanel and centos.

When I get more than 300 users online on my forum. Server load remains under 2 but Ram usage get's high upto 90% every 10 to 3 minutes. I have to restart apache in order to keep it down.

Currenty shows 67% ram usage in WHM and here is:

Code:
root@s1 [~]# free -m
total used free shared buffers cached
Mem: 2018 1645 372 0 15 293
-/+ buffers/cache: 1336 681
Swap: 1992 92 1899

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

High Memery Usage!

Jan 20, 2008

i have a quad core Intel XEON 5130 @ 1.60GHz . with 6giga now of memory . i have about 300 account in it . CENTOS Enterprise 4.6 installed .

the probleme is that the memory server it used in totaly . after i was just 2Gb of ram , but sometimes the server lod arrive at 50% . for that i have added more memory (4Gb) , when i added it the memroy usage is always about 4giga sometimes about 3980Mb . the load is normal , but sometimes the server loas arrive at 50% or 60% (this is just in specific times) . after i have decided to add 2 Gb more , now is 6gb in the server . but also all the 6giag of ram is used , the load is normal but memory is all used , look to the top command

top - 02:55:26 up 1 day, 4:31, 1 user, load average: 0.25, 0.30, 0.45
Tasks: 157 total, 2 running, 154 sleeping, 0 stopped, 1 zombie
Cpu(s): 6.5% us, 1.3% sy, 0.0% ni, 92.1% id, 0.1% wa, 0.0% hi, 0.0% si
Mem: 6229508k total, 5995668k used, 233840k free, 213712k buffers
Swap: 4192824k total, 224k used, 4192600k free, 4353968k cached
PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND ....

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

High CPU Usage How To Reduce It

Mar 18, 2008

My server details

Intel 2.4 Ghz P4 Celeron
os-redhat
RAM-2GB DDR
harddisk-160+50Gb
bandwith-3000Gb

now iam haveing more that 0.50-1.20 cpu useage,also cpu useage is also increased i hosted only 6 site out what only one site use MSQL all other site are plain download site,how to reduce the cpu load can u figure me out this issue also give me some tips to reduce the cpu usage

View 8 Replies View Related

High Cpu Usage (httpd)

May 31, 2008

I noticed high cpu usage on my server since a couple of days ago. I neither updated software nor changed the configurations on the server. The server load was about 0.5 ~ 1.0 but now the average CPU load does not go below 5.0

when I stop apache (1.3) the load goes down and as soon as I start it up the load start increasing.

I checked for DoS but it seems nothing exists of this type.

I tried to follow the access_log file but from the first view nothing is strange there.

I don't have any control panel on the server. just Apache, FTP and SSH installed.

View 1 Replies View Related

Named High Cpu Usage

Jun 20, 2008

Since yesterday named started to use more cpu than usual. Techs "refuse" to work with that issue and saying that its's normal. Though all the time had no problems, haven't added hundreds of domains yesterday and there were no changes from my end.

There was one change from techs side however.

"the MX record for the domain was going to localhost, rather than the domain name. I have changed the MX record to domain..."

Anything I should check? Logs doesn't provide anything valuable, just notices.

View 8 Replies View Related

Causes Of High Resource Usage

Oct 17, 2007

I am running a youtube clone on a VPS with 512mb ram at Lunarpages.

Whenever I log into Plesk, I find that my system usage is extremely high. 90%++ even up to 100%. However my CPU usage is often less than 5%.

This problem often occurs when there is slightly more visitors on my site. I am talking about only 30++ visitors and this problem will occur and my site slows to a crawl and I have to restart the VPS.

The script or the server?

View 13 Replies View Related

High Swap Usage

Feb 18, 2007

i have a problem with my server it is a Xeon with 2Gb ram, i have a igh swap usage and when it reach the size of 4gb that i have set it go in kernel panic, this is the actual value

top - 14:19:47 up 1 day, 23:07, 1 user, load average: 1.74, 1.93, 1.89
Tasks: 223 total, 5 running, 217 sleeping, 1 stopped, 0 zombie
Cpu(s): 39.8% us, 6.6% sy, 14.0% ni, 32.3% id, 7.3% wa, 0.0% hi, 0.0% si
Mem: 2074640k total, 1980804k used, 93836k free, 66200k buffers
Swap: 4192924k total, 1735588k used, 2457336k free, 365136k cached

total used free shared buffers cached
Mem: 2026 1877 148 0 61 306
-/+ buffers/cache: 1509 516
Swap: 4094 1699 2394

maybe i can work on KeepAlaive setting?

View 6 Replies View Related

High Swap Usage

Jan 20, 2007

Quote:

total used free shared buffers cached
Mem: 1034060 1004864 29196 0 50756 340272
-/+ buffers/cache: 613836 420224
Swap: 1020088 373648 646440

Is there anything I can do to reduce the swap usage?

Running cpanel, Dual Xeon 3.0ghz with 1 gb ram

Quote:

root@****** [~]# uname -a
Linux ****** 2.6.9-42.0.3.EL.cernsmp #1 SMP Fri Oct 6 12:07:54 CEST 2006 i686 i686 i386 GNU/Linux

View 1 Replies View Related

MySQL High CPU Usage Put On RAM

Jan 30, 2007

I need some help my CPU (Intel Core 2 Duo 1.7 Ghz) always gets high usage from mysql sometimes its using 95% cpu etc... How can I modify my.cnf to use less CPU and more ram since I have 3gb ram installed?

here is my.cnf

Code:
[mysqld]
back_log = 5
skip-innodb
max_connections = 400
key_buffer = 190M
myisam_sort_buffer_size = 156M
join_buffer_size = 4M
read_buffer_size = 4M
sort_buffer_size = 5M
table_cache = 1024
record_buffer = 1024
thread_concurrency = 2
long_query_time = 1
thread_cache = 1024
thread_cache_size = 992025
wait_timeout = 13
connect_timeout = 5
tmp_table_size = 64M
max_heap_table_size = 16M
max_allowed_packet = 16M
max_connect_errors = 500
read_rnd_buffer_size = 1024
bulk_insert_buffer_size = 32M
query_cache_limit = 1M
query_cache_size = 64M
query_cache_type = 1
query_prealloc_size = 163840
query_alloc_block_size = 32768
low_priority_updates=1
default-storage-engine = MyISAM

[mysqld_safe]
nice = -2
open_files_limit = 4096

[mysqldump]
quick
max_allowed_packet = 16M

[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 32M
write_buffer = 32M

View 1 Replies View Related

High Memory Usage

Aug 30, 2007

I purchased a VPS at wiredtree to upload a site that is in the works so that it would be "ready" once it was launched (had it sitting on a shared server before). So I have this domain on there, as well as a small wordpress blog. In total I'm get a very miniscule trickle of visitors to these websites (as they are not officially launched), around 100 visits per day, many of which are only 1 pageview visits.

My problem is, my server is already idling over its memory limit of 256mb. This is causing major slowdowns, and processes like cpanel are constantly be killed and I can't login.

Does anyone have any idea what is causing my high memory usage? I just can't image that the visitors I am getting are doing much, as for the majority of the day I have absolutely no one viewing my domains, yet my memory usage is still over the limit.

Wiredtree support says its up to me to optimize my msql/php scripts etc for low mem usage, but I don't see how this will help when there is no one using them in the first place.

View 5 Replies View Related

Cpanellogd High Mem Usage

Jun 22, 2007

For some reason cpanellogd always had huge memory usage in the realm of 40-90% when running logs for one particular site, which inturn sends the server load to 25-40.

What can cause this? I have delete logs after stats run enabled and all the usuall.

View 6 Replies View Related

Kloxo High Memory Usage

Oct 24, 2009

I installed kloxo on a fresh CentOS installation, not the hostinabox template

I have high memory usage though as seen here

[url]

Apache appears to be running 2 or 3 times? How do I remedy this?

[url]

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

High Dom0 Memory Usage On Xen

Nov 29, 2008

I'm running hypervm on xen a centos 5 64 bit box.

The problem I'm having is that after a couple of hours of uptime Dom0 seems to have used up all of it's available memory i.e:

[root@------ ~]# free -m
total used free shared buffers cached
Mem: 1536 1516 19 0 993 247
-/+ buffers/cache: 275 1260
Swap: 16002 0 16002

I have disabled the memory balloon driver in the xen config and set dom0_mem=1536M in grub.conf, i.e:

default=1
timeout=1
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.1.18.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-92.1.18.el5 ro root=LABEL=/
initrd /initrd-2.6.18-92.1.18.el5.img
title CentOS (2.6.18-92.1.18.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-92.1.18.el5 dom0_mem=1536M
module /vmlinuz-2.6.18-92.1.18.el5xen ro root=LABEL=/
module /initrd-2.6.18-92.1.18.el5xen.img

View 0 Replies View Related

CPanel Server, High CPU Usage From PHP

Nov 5, 2008

I just moved from a P4 Dual Core (2mb cache) to a Dual Xeon (512k cache) and everything has gone to sh*t.

I had the server optimized/security hardened (for the most part) and last night, I had a RAM upgrade to 4GB.

As soon as the server came back up after the upgrade, CPU usage was into the mid hundreds. RAM usage is fine....

Presently, I'm showing PHP using a ton of CPU. I tweaked mysql a little bit, and that helped slightly.

Also, last night, I had the DC run diagnostics on the RAM and hard drive. Both check out OK.

Here's the specs:
2x Intel Xeon 2.80GHz
4GB RAM
cPanel
CENTOS Enterprise 5.2 i686
PHP 5.x
MySQL 5.x
Exim

When viewing TOP or status in WHM, php scripts use the most CPU. With average CPU load around 60+

View 12 Replies View Related

High Usage Of Server Resources

Oct 18, 2008

a few times, my host contacted me and said that my account is suspended due to high usage of server resources.

I have 3 sites using SMF (a forum script.) I have around 8500 visitors and 3 million page views per month in total.

can this be a reason of high usage?

if it's what's the meaning of terabyte traffic limit ? which you can never use

I asked to my host if they could let me know what's causing high server resources usage. here is the answer:

We do not know which domain or script caused this high usage, it is your responsibility to investigate. I would suggest that you go through your raw access logs to see the most requested pages and then investigate those further. After you find the pages responsible, please optimize them so you are not using so many server resources.

so if a host wants simply to restrict traffic limit, they have a pre-reason under hand.high server usage! yes but how will I know that? how will I trust that it's true?

when I ask why my sites are down, they can easily tell me that it's because of high server usage!

View 14 Replies View Related

How To Resolve High MySQL Usage

Apr 20, 2008

on my server i have 104 accounts and the MySQL Usage for th cpus is 25.23
like this pic [url] is that danger? and how can i resolve it?

View 6 Replies View Related







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