Server Resources Usage
Oct 31, 2008I run a server and some game server using cPanel game plugin and found that they are using cpu and RAM usage in high percentage.
What is the good cpu usage for a normal server load?
I run a server and some game server using cPanel game plugin and found that they are using cpu and RAM usage in high percentage.
What is the good cpu usage for a normal server load?
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!
Resource: Virtual Memory Size
Exceeded: 149 > 100 (MB)
Executable: /usr/bin/php
I've been receiving e-mails about this. May I know how to fix this?
How do i get logs file for cpu and /memory resources usage on perticuler domain.
View 3 Replies View RelatedHow can I limit my dedicated server's resources ? For example, one of reseller provider's limits :
Quote:
Resellers may not use more than 2% CPU daily, 3% memory daily, run more than 10 simultaneous processes per user, allow any process to run for longer than 30 seconds CPU time, run any process that consumes more than 20% of available CPU at any time, or run any process that consumes more than 16 MB of memory. Databases are limited to 16 max user connections with a max query time of 8 seconds. Cron jobs must not execute more than once every 15 minutes and will be niced to 15 or greater.
From where or how can I configure these limits?
I am running CPanel/WHM as well as the WHMSonic plugin for a Shoutcast service. Now the thing is that my RAM limit is 4GB, but my RAM usage is always at around 3.5GB and above.
I guess it's mainly due to WHMSonic, so is there any way i could lower this RAM as on multiple occasions the server has locked up and shutdown,rebooted or had to be rebooted.
On top of that, the server load is around 10.00 or above.
Is there a resource controlling script which i could install?
I have more than 200 users in my server but thier is 2 user take the server resources
how can I limit that users to not take the server resources?
if there were any free resources out there that anyone know's of that could teach someone how to manage an unmanaged dedicated server? General guides will do but the more specific the better although I really cannot imagine a guide specific to my requirements but anyway
Quote:
Fedora core 6 with WHM and Cpanel
Where do people learn this stuff without having to take a course in it?
My VPS keeps crashing and my host has emailed me saying that
/usr/bin/php index.php
Is causing the problem. Could anyone talk me through were I go from here to lower the resources. I have no idea what could be casing the problem.
I may be given the task of being administrator of a website. I have never done this before.
Can anyone recommend any resources for web server management which covers things like security, efficiency, backups etc?
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........
I have never rented a dedi before but have used and continue to use VPS for my websites. With a hostinabox VPS with lxadmin control panel and apache for web serving I have seen idle ram usage at around 100MB. My question is am I going to see a similar amount if I move to a dedicated server ? I ask this because I remember reading somewhere that dedis have a higher RAM usage by the OS compared to VPS. So does a dedi at idle use more RAM than a VPS at idle?
View 3 Replies View RelatedI have a dual quad xenon server running Linux that will be used for a video sharing site. Currently it's set up for testing.
I have the impression that although the encoding software is able to use all 8 cores simutaneously I'm not convinced that is what's happening. Can someone suggest software that would show all 8 cores displayed individually in a graph. Something like the way task master on a windows machine does with the performanc tab showing cpu usage. And the second part of the equation is can I delegate for example 6 cores for encoding and 2 cores for streaming the videos?
Currently i have a small server with 512 Mb of ram i doing some minor hosting..
sometimes..my free memory is only left with 15 mb..is there a concern down here?
is there anyway i can find out what are using up my memory..? And should i just upgrade to 1Gb instead?
Somtimes my mail queue ..will also take up like 20 to 30 mb of memory as they keep on trying to resend themself
I have a low traffic VPS, with fairly limited resources (most notably only 256mb RAM).
This runs fine for what's currently being hosted - one low traffic site (with 1-10 users on at any time, usually 2 or 3), and several other essentially dead sites. Everything runs smoothly, and generally RAM usage remains below the 200mb mark.
However, I've been contempating setting up a Subversion server on the same VPS, and I'm unsure if this will top it over the limit. Does anyone here have any experience running a SVN server? How memory hungry is it? If I do set this up, it won't be very active, with a couple of checkouts a day, and a max of 2 or 3 users connecting at any one point, more often than not no one will be connected. Can I do this with the resource limitations listed above, or should I start looking at alternatives?
For research can someone tell me what is the average transfer ratio for a game server (ie Inbound vs Outbound)
So if a game server used 200GB outbound. How much Inbound would this equate to?
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+
I am running a cPanel/WHM VPS and would like to know what sort of resources CSF takes?
View 1 Replies View RelatedI 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?
My VPS host is (for now) still using LxAdmin, but is no longer allowing login to HyperVM for reboots and access to system info. Please, tell me exactly how to use SSH to check the current memory usage on my VPS.
Quote:
Viewing your current resource usage
Log in via SSH, I normally use the Putty client for this.
Commands:
top: your current server load & resource usage.
ps aux: all your processes & which ones are using the most memory/cpu
free -m: allocated memory, usage & free memory
Is the command line really *easy* once you get used to it?
how to monitor the traffic usage of the VPS's on a dedicated server? We have OpenVZ & XEN VPS's
View 5 Replies View Relatedfor 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.
After speaking to a colleague about some major benefits of EC2 for on-demand hosting I've been very interested in learning more.
I've spent the past 2 evenings trolling through Amazon Doc's and blog posts and have a fair assessment about how things work but I'm at a stopping point.
There doesn't seem to be a dedicated EC2 area here on Sitepoint and the Amazon EC2 forums seem geared more towards 'advanced' users.
Are there any reliable communities that are more for the beginner?
I've got a LAMP webserver Instance running on EC2 but I'm very unclear about how to login and begin adding files and managing the data. I'm sure it's pretty simple but the documentation pretty much loses me when they start discussing Security Groups and public/private keys.
I'm not much of a server admin but have grown pretty comfortable on our FC4 dedicated boxes that we currently host on.
I don't mind have nfs running, but how do I keep it running at the lowest as possible... seems like it's hogging up all my usage/cpu's...
View 2 Replies View RelatedI am sending out an email blast to about 30000 addresses when I leave. Because this is the down-time for our site, is it possible to temporarily give Exim more resources to help process? Or would this even be beneficial?
If both questions answer yes, please let me know where I should look for instructions on doing this.
I would like to configure my delicated server to have following restriction on cpu...
system resources: 10% @ 30 sec per cPanel Account
One of my servers keep overloading due to a SQL process.
The process is:
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/zeus1.forcium.net.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock
It takes up pretty much 90-95% of the cpu and memory at times if I do not kill the process. But even after I kill the process it comes back and immediately hogs up cpu load again causing it to go into loads of 8.00 or higher ( I have 8cpus ).
I'm guessing it's a no but if I start a VPS and it starts to eat ram or I think it needs more CPU can I just increase it? I'm talking about using OpenVZ.
View 4 Replies View RelatedWe've just started to use a VPS, and so far no problems I've been looking at the resources and they seem a little high considering it's pretty much out of the box, and I've only setup 4 sites which aren't even public yet. The only thing I've changed is the php.ini to increase the memory limit to 32mb. My main concern is that these sites don't suffer when they go live.
In the Plesk control panel the memory says:
3.8 GB of 3.8 GB used; 47.1 MB available
The 47.1mb is pretty much average, although I've seen it go as low as 115mb.
In Virtuozzo the system usage (resource: capacity) is usually around 60-75%
Both of these seem a little high, but I'm not sure if these readings are for the whole physical server, or just my portion of it.
Also in the (Virtuozzo) QoS alerts I've had quite a few Yellow zone, black zone and one red zone reports, at around 5am - quite possibly the quietest time on a server which isn't hosting any live sites yet. These have both been on the numproc and the privvmpages services (the red zone was one the privvmpages). Is there anything I should be looking at or is this fairly normal operation for a VPS? I have nightly backups scheduled for around 1am. These were originally set for 4am, but reports were showing that they were running out of memory, so I’ve now staggered the times of these to see if that helps. I've haven't changed anything resource-wise other than the php, so I thought it would be good to go from the start, but maybe it needs some fine tuning.
For the past few days, one of the server is causing a bandwidth utilization surge for the entire rack on almost daily basis. It happen for a few minutes and it went off then it will be the same thing again the next day. When the surge is happening, most of the servers on the same segment will be inaccessible for the few minutes.
The bandwidth utilization graph for my rack is recording an abnormal surge from (6mbps --> 90mbps) for the few minutes. My MRTG is showing 2 of the Plesk servers giving the problem but the NOC guys said it the Cpanel that causing the problem.
I tried logging in to both servers but could not find what's the cause for this.