[Linux VPS] Process running 201% CPU Usage.?
-
I run an Ubuntu 64Bit VPS. I was running a Minecraft (Bukkit) server. Somebody attacked my server and I didn't notice. I went to use a command and it said 'Fork: Not enough allocated memory". My first thought: "Lolwut". Anyways, I typed 'top' in to SSH and it said Java was using 201% CPU usage! Is there any way to fix this issue? Some things that I thought of (if possible): Maybe run some kind of script that can read the CPU usages and if it begins to run over a certain limit it'll use a command(as if killall java & killall screen). Or just kill the process without using a command line. I'm not sure if this is possible, I'm just throwing out random ideas that come to mind. Please help? I'd like to run a server, but I'm afraid to leave it going while I'm gone in case if this happens again.
-
Answer:
That could well be correct for a multi-threaded application, and Java makes threads programming relatively easy. If you have e.g. a quad core processor each core is considered separately and you actually have 400% CPU to go at.
Saviour at Yahoo! Answers Visit the source
Related Q & A:
- Is my usage of the colon in this sentence accurate?Best solution by English Language and Usage
- What are the common usage of python programming language?Best solution by quora.com
- How to reduce memory usage per virtual server?Best solution by Server Fault
- How to create new process as its own parent process?Best solution by Stack Overflow
- Why is my PC's CPU always running at 100?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.