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
ADVERTISEMENT
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
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
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
Jul 20, 2014
We are currently running plesk 11.5 and over the last few months, the apache memory usage has been very high. On investigation we have gone through the logs and we can't find a cause.
I can issue a service httpd restart and the memory drops for about 30 minutes and then we see the apache memory grow to almost 1.5 - 2GB. Why this keeps happening?
View 6 Replies
View Related
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
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
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
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
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
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
Oct 4, 2009
I'm currently running vBulletin & two wordpress powered blogs on my box. Number of simultaneous users is about 200~250 and about 15~20 logged in users.
The memory usage is constantly in the range of 1.8 GB - 2.00 GB. Considering that total physical RAM my box has is 2 GB, the memory usage, I believe is exceptionally high.
The same site was running very well on shared hosting environment and also on VPS [with just 512 MB RAM] very fine.
What should I do to bring the memory consumption to minimum (required to run the site well?)
View 5 Replies
View Related
Jan 6, 2007
for the last few days, i am facing high memory usage up to 90%.
Memory usage get's high, even if i don't have many visitors online. I have to restart httpd to get the memory to normal. some times, server loads, get's high aswell.
In error logs (only unusual things i see):
Code:
[Sat Jan 6 10:37:04 2007] [error] mod_gzip: TRANSMIT_ERROR:ISMEM:104
[Sat Jan 6 10:37:25 2007] [error] mod_gzip: TRANSMIT_ERROR:ISMEM:104
# top:
Code:
top - 10:42:19 up 10:35, 1 user, load average: 22.95, 10.67, 9.79
Tasks: 318 total, 1 running, 317 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7% us, 1.3% sy, 0.0% ni, 0.0% id, 61.9% wa, 36.1% hi, 0.0% si
Mem: 2009652k total, 1220736k used, 788916k free, 28756k buffers
Swap: 6224564k total, 135212k used, 6089352k free, 389768k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6365 root 0 -20 0 0 0 D 40 0.0 3:01.33 loop0
4553 root 16 0 3112 1108 760 R 1 0.1 0:00.30 top
327 root 15 0 0 0 0 S 0 0.0 6:33.15 kjournald
3743 nobody 15 0 18592 7260 2320 S 0 0.4 0:00.21 httpd
3833 nobody 15 0 21664 10m 2780 D 0 0.5 0:00.94 httpd
3838 nobody 15 0 20472 9400 2664 S 0 0.5 0:00.18 httpd
3858 nobody 15 0 18876 7616 2388 S 0 0.4 0:00.82 httpd
3919 nobody 16 0 21492 10m 2432 D 0 0.5 0:00.82 httpd
3931 nobody 15 0 18976 8016 2716 D 0 0.4 0:00.45 httpd
4439 nobody 15 0 18892 7612 2368 S 0 0.4 0:00.16 httpd
4913 root 18 0 2512 292 244 D 0 0.0 0:00.24 sync
1 root 16 0 2484 488 456 S 0 0.0 0:06.16 init
2 root RT 0 0 0 0 S 0 0.0 0:00.11 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:06.66 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.16 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:00.71 ksoftirqd/1
6 root 5 -10 0 0 0 S 0 0.0 0:14.59 events/0
7 root 5 -10 0 0 0 S 0 0.0 0:42.07 events/1
this looks suspisous to me:
6365 root 0 -20 0 0 0 D 40 0.0 3:01.33 loop0
as it's taking alot of memory. i don't see this before.
View 6 Replies
View Related
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
Mar 31, 2009
I've got a dedicated with LW.
I've had it for a while and during that time I've never seen the swap memory go over 20%.
A month or so ago, I had the server upgraded to 8GB of ram to make room for more planned sites.
Since then, the swap memory has gone rampant. It regulary goes to 93% used with less than 20% of the regular ram and really no load on the server.
I've contacted support twice about it and was told don't worry it's normal.
From what I've read in the cpanel forum, no it's not normal and may in fact be caused by bad ram chips and if it hits 100% could freeze the server.
There are no processes or users causing it, so It's something else.
Has anybody had this type of problem that they resolved and could share what they did to resolve it?
View 11 Replies
View Related
Jun 6, 2008
I was getting high load on one of our test machines -- it was high enough to where I couldn't ssh in. However, I happened to have a shell open at the time with top running. Load was very high and swap was full. -- afterwards, when I check /var/log/messages it looks as if the load affected the time (see below).
1) At first I was guessing that the load somehow affected the clock, but you'd think it would slow it down -- but apparently the pace of time was quicker?
2) perhaps the time was wrong in the first place - then upon reboot, ntp sync'd up properly.
3) time was originally correct but after the high load, it somehow erroneously sped up the ticks
Then again, from googling around someone on another forum was saying that the computer clock chip shouldn't ever be affected.
So my question isn't about what cause the load, but why was there a time descrepancy in /var/log/messages, and was it related to the load?
from top:
top - 17:52:32 up 246 days, 23:34, 1 user, load average: 76.52, 75.68, 68.79
Tasks: 192 total, 62 running, 129 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.0% us, 99.5% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.2% hi, 0.2% si
Mem: 3376168k total, 3281060k used, 95108k free, 256k buffers
Swap: 4192956k total, 4192956k used, 0k free, 95656k cached
from /var/log/messages:
Jun 5 17:34:44 staging kernel: Out of Memory: Killed process 26522 (oracle).
Jun 5 17:41:45 staging sshd(pam_unix)[25223]: session closed for user gin
Jun 5 17:09:50 staging syslogd 1.4.1: restart.
View 0 Replies
View Related
Jul 15, 2015
from about 3-4 days, the cpu of my server, from an average of 0-15% load, grew up to a constant 80-90-100% cpu load.
There were two processes called php-cgi.exe IWAM_PLESK(default) that, each one, constantly burned 30-40% of cpu load.
So, stopping websites one by one, I found the website that was the cause of the cpu overload.
On my "old" windows vps, there were processes called with the name of the website hosted (for example websitename_web.exe), so it was easy to immediately find exactly what website was involved in the hypotetical cpu or ram overload issue.
View 1 Replies
View Related
Nov 4, 2007
my VPS is using between 105mb of memory and it peeked at 127 mb of memory. But I'm only allowed 128mb of memory. It seems to be high and I want to know how to lower it
here's a picture of the list of processes
[url]
I have basically no sites on it just a few testing and it's only used 4.74mb of bandwith, I can't understand what is causing so much resource usage.
View 2 Replies
View Related
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
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
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
Oct 6, 2007
what 'committed memory' could mean? Every time it gets to high I experience some problems with my site. There is also a lot of memory put in cache. I saw this in a graph using the application munin. How can I prevent this? Are there some configuration options in mysql or apache such that I can control this? How can I find out which process is using all the memory? And most important what does 'committed memory' actually mean...
The graph can be found at
users.pandora.be/enyo/memory-day.png
(apache+mysql+php where the peak indicates 10 000 visitors approximately)
View 0 Replies
View Related
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
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
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
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
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