If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Cpu utilization 100%

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-11, 13:00
regtha regtha is offline
Registered User
 
Join Date: Jan 2010
Posts: 72
Cpu utilization 100%

From my top command output
-----------------------------------------------------------
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

19967 sybase 15 -1 123m 89m 88m R 82 1.1 171:00.33 dataserver

sometimes CPU% going upto 99 to 100% also.

Can somebody please suggest me immediately how to overcome the issue.

Thank you.
Reply With Quote
  #2 (permalink)  
Old 03-10-11, 11:55
ambrozio ambrozio is offline
Registered User
 
Join Date: May 2006
Posts: 12
Hello,

Install montables and run the query down to identify the command runing and using 100% of the cpu.

select sp.ipaddr,
s.SPID,
s.CpuTime,
s.PhysicalReads,
s.PacketsSent,
s.PacketsReceived,
t.LineNumber,
t.SQLText
from master..monProcessStatement s,
master..monProcessSQLText t,
master..sysprocesses sp
where s.SPID=t.SPID
and sp.spid=s.SPID
order by s.CpuTime desc
Reply With Quote
  #3 (permalink)  
Old 03-10-11, 12:04
ambrozio ambrozio is offline
Registered User
 
Join Date: May 2006
Posts: 12
Hello,

The file QCSYB_SQL_Tuning_270_ReadMe.pdf will help to you install montables.

.._..{@mBros!o}.._..
Attached Files
File Type: pdf QCSYB_SQL_Tuning_270_ReadMe.pdf (254.1 KB, 110 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On