LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-10-2010, 12:28 PM   #1
hinetvenkat
Member
 
Registered: Nov 2004
Location: Mumbai
Posts: 80

Rep: Reputation: 15
Box is hanging and overloading


Hi

I have mysql server ( OS:FreeBSD) is have 8 cores cpus and 8GB RAM.

Sometime, Box's top is not showing the cpu utilization. Output looks as follows


last pid: 44258; load averages: 0.38, 0.42, 0.23 up 0+16:31:11 07:15:14
169 processes: 14 running, 136 sleeping, 19 waiting
CPU: % user, % nice, % system, % interrupt, % idle
Mem: 840M Active, 1664M Inact, 296M Wired, 14M Cache, 214M Buf, 5111M Free
Swap: 8192M Total, 8192M Free

PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
16 root 1 171 52 0K 16K RUN 1 963:19 99.02% idle: cpu1
11 root 1 171 52 0K 16K RUN 6 953:50 98.83% idle: cpu6
10 root 1 171 52 0K 16K RUN 7 959:30 98.68% idle: cpu7
12 root 1 171 52 0K 16K CPU5 5 958:12 98.68% idle: cpu5
13 root 1 171 52 0K 16K RUN 4 949:45 98.39% idle: cpu4
15 root 1 171 52 0K 16K RUN 2 948:04 98.24% idle: cpu2
17 root 1 171 52 0K 16K CPU0 0 950:13 98.05% idle: cpu0
14 root 1 171 52 0K 16K RUN 3 871:57 98.00% idle: cpu3
1312 mysql 29 96 0 3391M 793M ucond 7 120:13 0.00% mysqld
19 root 1 -32 -151 0K 16K WAIT 0 12:08 0.00% swi4: clock sio

Moreover, WCPU is >98%. But not much processes are running on that server.

Need suggestion to get the info about cpu or box ?

1. How to proove that box is having CPU issue
2. Is it related to memory ?

Thanks
 
Old 04-10-2010, 12:33 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
This is a forum for linux servers, not BSD.

Your cpus are not >98% that is 98% idle

put your output into code tags next time so it lines up

Last edited by smoker; 04-10-2010 at 12:35 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
My linux box is hanging often after upgrading from fc6 to fc10 manoj.maniraj Fedora 2 03-31-2009 03:45 PM
Need C++ help with overloading definition of a value dwhitney67 Programming 2 02-27-2009 09:40 AM
overloading vs polymorphism lbdgwgt Programming 1 03-06-2007 02:30 PM
overloading a template allomeen Programming 1 01-26-2006 06:59 PM
<< overloading lazyboy0001 Programming 2 04-10-2004 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration