I have VPS with 1GB ram and run same proxy sites in VPS,but sometime usage Ram is high almost 80%, but if I see in histat I see user online is same with usually..
and when I use command netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n I see 1 or 2 IP is 200connection , what is mean?
is Ddos attack or what? and I try to ban this IP using command iptables -A INPUT -s [this IP adress]
but I see this IP still connect? so what must I do?
I have been using Blue Host for years, but recently they kept suspending my account due to performance problem.
I was only running a php forum (phpBB3) and a Wordpress blog. They kept mentioning it is not problem with space/bandwidth, but issues with "Running application causing high load", and the mysql queries from phpBB3 are taking too long.
Now I am planning to add a Ruby on Rails application. I am sure it will cost more CPU usage. What should I do? Will a move to VPS hosting solve my problem?
We are currently looking to move to a new dedicated server provider located in the United Kingdom. The server is solely used to provide an IRC daemon to a large IRC network that receives multiple gigabits of DDoS and PPS. We are currently with another hosting provider who can no longer support us.
Our current specification is DualCore Xeon 2.67Ghz/4MB Cache with 500GB SATA HDD. A good connection and available bandwidth (preferably 3-5,000 GB bandwidth /month) included in the price. We are seeking to move to a new dedicated server host, if you know a company that can accommodate our needs,
How do you prevent people from using different IPs on a machine that has a couple VPS clients on it.
If client A has xxx.xxx.xxx.100-xxx.xxx.xxx.103 and client B has xxx.xxx.xxx.104-xxx.xxx.xxx.105. How do you prevent client B from using client A's IPs? Can't he easily modify the config file for his ethernet device to use an IP that hasn't been assigned to him but is assiged to someone else on the same machine?
i checked the CPU usage on my vpc tru Plesk and Remote control, bouth stating i got high CPU usage around 89% 90% TO 96% up and down, no program is using the resources they are all in 0% in the process tab, but when you check the Performance it stats 95%, i dont understand what is going on,
When I remote into my Windows VPS, Task Manager shows 80% CPU usage on the Performance tab, however, if I look at the running tasks, there's hardly any CPU usage. Is Task Manager including CPU usage from all other VPS's on the box?
For about a couple of days (no configs were changed) I am experiencing high cpu usage from time to time.
At this moment and what I can see is this:
Sites are using low cpu resources, top process is mysql + 1-2 php defuncts replacing each other, after that - httpd requests Something happens and php are starting to use more cpu thant it should. Cpu top usage shows all php files in all accounts replacing each other (index files, scripts there are like wordpress, forums, etc).
Server crashes... Or I kill all php processes, restart apache and it goes back to normal mode again.
I had the same issue months ago, just cpu usage was even more agressive and much often. After days of checking, I've found that it was Curl and/or Curlwrappers which were cauisng that. After recompiled apache without them (left curlssl only), cpu load was always stable.
I m currently hosted on a shared host and this is the stat for on eof my site:
Hours CPU Time Execution time CPU Usage Average Memory Processes 0-6 20.46 s 98.86 s 0.24% 2.52 MB 105 6-12 246.99 s 1927.26 s 2.86% 2.46 MB 1328 12-18 373.3 s 3660.48 s 4.32% 2.52 MB 1867 18-24 250.57 s 2800.82 s 2.90% 2.52 MB 1259
So it shows my site uses avg 2.52 MB RAM. This is in shared hostinng plan.
Now suppose I am going for a VPS server with 256 MB RAM, does that mean I will get whole 256 MB RAM for my Site usage or the OS and other application will also consume that amount of RAM.
What I understand that when you go for VPS, the allocated processor and RAM capacity to yur plan will be used by the OS, the cpanel or any other scripts and the Database. So basically they together will consume nearly 256 MB RAM.
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
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.
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?
For some reason, one of my clients wordpress blog is using 100% cpu on a php process per page load. To clarify, the first time you load the page it is very slow, and uses 100% cpu for the PHP process and then if you reload the page (while it is going slow) it loads very fast. After that is done the normal PHP usage per page load is roughly 1-4% if that.
I'm guessing something in the coding is looping, but I am unsure. What I do know is 100% cpu usage for one page view initially is insane.
Does anyone have any ideas on how to fix/resolve this issue?
I just uploaded a wordpress site and it already used up 300mb ram. The site receives very little traffic so I doubt the traffic is the cause of the ram usage. Is this normal? my control panel is webmin
I'm just wondering what exactly "CPU Time" is, I have searched Google and checked Wikipedia but still do not really understand. The main reason this is bugging me is that MySQL on our database server seems to have a very high "CPU Time" usage.
This is the top part of the output from "top", with MySQL shown:
How many of you use RBL/CBL checks on your email servers?
I've generally stayed away from them because of the chance of them having false positives, but have been meaning to try them for a while. With spam becoming a larger and larger problem, and the lists getting more and more mature, I figure they can't do anything but help.
I'm very surprised at the difference they made, and I've attached a graph to demonstrate the difference.
I ran a TOP command on my two servers but i really dont understand the output ... could someone please explain...
i specially and really really need to under the memory and cpu usage of the servers.
please could someone explain what cpu and mem values really are ... example what is 98.0% us, 0.0% ni, 0.0% wa, 0.2% si etc... as shown besides Cpu(s) and what is 183100k buffers in the Mem
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.
I'm maxing out on memory and am having trouble figuring out why. Can someone please tell me how to figure out what's using all the memory? When I list system processes in descending order of memory usage percentage, Tomcat is at the top of the list, but only with 0.8%. (Or does that mean 80%?)
I am alloted 256MB of RAM and I'm only hosting a handful of sites, none of which are getting any notable traffic.
Some friends and I have started a Movie Site at [url].
We currently are averaging around 14,000 Unique Visitors per month.
We run wordpress with several plugins, a flash player for podcasts and an image rotator.
We have lots of bandwidth and don't have a problem there but we have a big problem with CPU usage.
If we enable the WP and Super Cache plugin then the site pretty much instantly gets the Exceeding CPU Usage.
We are considering switching hosts (we are currently with HostMonster) but I am unsure of who to switch to. With only 14,000 Unique visitors we won't make much at all in advertising and since this is a hobby most of us are unable to put large amounts of cash into hosting.
here is the error page but I'm sure you all have seen it before...
This Account Has Exceeded Its CPU Quota
Please contact this site's webmaster.
Wait a few minutes and use your browser's "Back" button or click here to try again.
If you are the webmaster, your account may have gotten this error for one or more of the following reasons:
* Your account has used more than its share of the cpu in the past 60 second sliding window. * Your account has too many concurrent processes running simultanously. * Your account has consumed too much memory. * Your site was recently very busy trying to run inefficient scripts.
The solution would be to optimize your applications to use less CPU. Adding appropriate indeces to your SQL tables can often help reduce CPU. Using static .html documents instead of painful .php scripts will practically eliminate CPU usage.
Few days ago I had a problem with my httpd. I finally nailed it down and came on a conclusion that my MaxClients were set too low so I had to set it to high number and it seems like that the proble of "Network Timeout" had been resolved but now the problem is still continued. Here is what I think is wrong
Cpu(s): 1.5%us, 0.4%sy, 0.0%ni, 96.7%id, 0.3%wa, 0.3%hi, 0.8%si, 0.0%st The 96.7%id always stays above 90% is that bad and how do i fix it?