hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : extreme CPU usage on my server
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

extreme CPU usage on my server

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-25-2012, 12:27 AM
mr-cracker mr-cracker is offline
Junior Guru Wannabe
 
Join Date: Sep 2008
Posts: 63

extreme CPU usage on my server


Hello there,
I'm getting very high cpu usage but i don't know what is causing that here is top otuput


top - 06:26:00 up 7:42, 1 user, load average: 0.00, 0.00, 0.00
Mem: 4045976k total, 2086628k used, 1959348k free, 62480k buffers
Swap: 8385920k total, 0k used, 8385920k free, 425912k cached
Cpu(s): 0.1%us, 0.2%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8756 root 15 0 13188 1600 860 R 1.0 0.0 0:19.91 top
1 root 15 0 10364 672 572 S 0.0 0.0 0:01.25 init
2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.03 migration/1
6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1

do u see CPU, that 99.7%id, which i don't know what is it

any helps please

Reply With Quote


Sponsored Links
  #2  
Old 07-25-2012, 12:45 AM
mr-cracker mr-cracker is offline
Junior Guru Wannabe
 
Join Date: Sep 2008
Posts: 63
digging more i found 97%id means 97% of CPU is idle, but yet i couldn't connect to my server. could it be related to buffers or cached mem??

Reply With Quote
  #3  
Old 07-25-2012, 12:50 AM
foobic foobic is offline
Community Liaison 2.0
 
Join Date: Feb 2005
Location: Australia
Posts: 5,111
How are you trying to connect? (web / ftp / email / something else?). Judging by the top listing it's probably nothing to do with memory - more likely a service down or firewall issue.

<<Moved to Hosting Security and Technology>>

__________________
Chris

"Learn from the mistakes of others. You can never live long enough to make them all yourself." - Groucho Marx


Last edited by foobic; 07-25-2012 at 12:54 AM.
Reply With Quote
Sponsored Links
  #4  
Old 07-25-2012, 01:15 AM
mr-cracker mr-cracker is offline
Junior Guru Wannabe
 
Join Date: Sep 2008
Posts: 63
connecting through web,
and i agree with you, i opened a ticket about that but meanwhile if there is anything i can do i want to do because my website is not functioning properly

Reply With Quote
  #5  
Old 07-25-2012, 01:46 AM
foobic foobic is offline
Community Liaison 2.0
 
Join Date: Feb 2005
Location: Australia
Posts: 5,111
Do you have root access? If so you could try:
Code:
service httpd status
or if you need to restart it:
Code:
service httpd restart

__________________
Chris

"Learn from the mistakes of others. You can never live long enough to make them all yourself." - Groucho Marx

Reply With Quote
  #6  
Old 07-25-2012, 02:20 AM
diman diman is offline
Junior Guru Wannabe
 
Join Date: Feb 2002
Posts: 49
I'd suggest to check firewall rules as well. According to top, there's no issue with CPU.

__________________
serverbeep.com: server and website monitoring service.
CPU, bandwidth, memory, load average, disk space usage monitoring. Website monitoring.

Reply With Quote
  #7  
Old 07-25-2012, 10:46 AM
znetindia znetindia is offline
Premium Member
 
Join Date: Mar 2003
Location: Jaipur, India
Posts: 617
Hi,

check constantly your top -s -c on server and find your top high usage services.
Check their concurrent connections in netstat
Check iftop with runtime connections of your ethernet.
check SYN_REC with netstat and find out how many active SYN_REC are occurring on the server. The number should be pretty low, preferably less than 5. On DoS attack incidents or mail bombs, the number can jump to pretty high.
Find out those IP's which you find making high concurrent connections, try to stop them in your /etc/hosts.deny file.

__________________
RackNAP
Billing, Inventory & Support Management
Software for Datacenters and Large Hosters

Reply With Quote
  #8  
Old 07-25-2012, 02:45 PM
gzoli gzoli is offline
WHT Addict
 
Join Date: Jun 2012
Posts: 127
99.7% idle CPU, your server not used.

Reply With Quote
  #9  
Old 07-26-2012, 01:17 AM
SiniStraL SiniStraL is offline
Newbie
 
Join Date: Jul 2012
Posts: 11
You can use server httpd fullstatus

Reply With Quote
  #10  
Old 07-26-2012, 11:08 AM
znetindia znetindia is offline
Premium Member
 
Join Date: Mar 2003
Location: Jaipur, India
Posts: 617
Hi,

Run this command :
# netstat -n -p|grep SYN_REC | wc -l
Find out how many active SYNC_REC are occurring on the server. The number should be pretty low, preferably less than 5. On DoS attack incidents or mail bombs, the number can jump to pretty high.

__________________
RackNAP
Billing, Inventory & Support Management
Software for Datacenters and Large Hosters

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Software CPU usage filmguy Hosting Security and Technology 3 02-05-2008 11:27 AM
Server Load/CPU Usage/Memory Usage -YaYa- Running a Web Hosting Business 18 02-11-2006 12:43 AM
server load, cpu usage, memory usage Nullified Programming Discussion 4 12-31-2004 08:46 PM
Server load at 61- NO cpu usage CCF Hosting Hosting Security and Technology 21 02-28-2004 03:30 AM
Server CPU usage ChrisLM2001a Hosting Security and Technology 10 04-12-2003 09:54 AM

Related posts from TheWhir.com
Title Type Date Posted
Windows Server 2012 on AWS – Amazon Adds Support for the Latest Windows Server OS Web Hosting News 2012-11-20 11:42:31
CloudPassage Launches Network Security Solution for Multi-Cloud Environments Web Hosting News 2012-02-01 11:30:30
Microsoft Launches First Beta of Microsoft WebMatrix 2.0 Web Hosting News 2011-09-26 15:43:24
Web Host CoolHandle Uses CloudLinux to Improve Server Performance Web Hosting News 2011-08-19 16:27:55
SSL Certificate Authority GlobalSign Launches CloudSSL Product Web Hosting News 2011-08-12 19:33:59


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?