Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT : kernel using 75% of CPU - Summary and last post
Hi all,
Think we've figured this out, with much
help from you guys.
I believe the high percentage of kernel CPU
was due to the system swapping. I believe the root cause of the swapping was a
combination of:
a) an SGA that was too large
b) a sort_area_size that was set too
large (30Mb.)
c) an app that does a *lot* of
sorting
I believe each connection from the app
server (there were about 50-55 connections) would eventually grab 30Mb. of sort
space in it's PGA. According to Oracle, this memory never gets released to the
OS. So, that's 1.5-1.6Gb. of memory that apparently send us over the edge. Since
these are persistent connections from an app server, they never disconnect.
We greatly reduced the size of the java pool and brought sort_area_size down,
which - I think - fixed the problem.
Better to have a few disk sorts than have
your box start swapping!
Thanks again!
- Jerry
----- Original Message -----
From: "Connor McDonald" <<A
href="mailto:hamcdc_at_yahoo.co.uk"><FONT face="Courier New" size=2>hamcdc_at_yahoo.co.uk<FONT face="Courier New" size=2>>
> > 73 Princeton Street > > North, Chelmsford 01863 > > > > > > -----Original Message-----> > Sent: Tuesday, August 28, 2001 11:20 AM> > To: Multiplerecipients of list ORACLE-L> > > > > > Hi there,> > > > I have a Sun e4500, running Solaris 2.7 and Oracle> > 8.1.7.1.0. Everything> > looks normal from a database perspective, but when I> > run "top" it show the> > kernel being very hog-like:> > > > load averages: 14.38, 15.18, 15.18> > 07:16:21> > 126 processes: 118 sleeping, 4 running, 4 on cpu> > CPU states: 0.6% idle, 26.6% user, 72.8% kernel, > > 0.0% iowait, 0.0% swap> > Memory: 4096M real, 63M free, 216M swap in use,> > 5310M swap free> > > > PID USERNAME THR PRI
oracle 1 0 0 1844M 1814M run 9:44> > 13.90% oracle> > 11068 oracle 1 0 0 2056K 1536K cpu0 0:02> > 1.53% top> > 11333 oracle 1 0 0 1150M 1124M cpu1 0:01> > 1.39% oracle> >
root 1 50 0 2112K 1248K sleep 6:01> > 1.36% top> > 11346 oracle 1 0 0
0 0 1009M 984M cpu1 0:00> > 0.66% oracle> > 11157 oracle 1 0 0 1009M 984M run
oracle 1 33 0 1794M 1765M sleep 0:00> > 0.29% oracle> > 19558 oracle 1 60 0 1797M 1751M
oracle 1 55 0 1793M 1763M sleep 0:00> > 0.19% oracle> > 11292 oracle 1 26 2 2008K 1424K run 0:00> > 0.19% dsql>
stumped...> > > > > > Thanks!> > > > Jerry> > > > > > > > > > =====> Connor McDonald> <A
face="Courier New" size=2>http://www.oradba.freeserve.co.uk<FONT face="Courier New" size=2>)> > "Some days you're the pigeon, some days you're the statue"> > ____________________________________________________________> Do YouYahoo!?> Get your free @yahoo.co.uk address at <A
href="http://mail.yahoo.co.uk"><FONT face="Courier New" size=2>http://mail.yahoo.co.uk<FONT face="Courier New" size=2>> or your free @yahoo.ie address at <A href="http://mail.yahoo.ie"><FONT face="Courier New" size=2>http://mail.yahoo.ie>
--------------------------------------------------------------------> ToREMOVE yourself from this mailing list, send an E-Mail message> to: <FONT face="Courier New"
![]() |
![]() |