We help IT Professionals succeed at work.

Open process

peledc
peledc asked
on
251 Views
Last Modified: 2010-03-04
Hi,

On linux 7.2 With Oracle 8.1.7

When I run the "top" command I can see that the load average is around 80 (Eighty) and the CPU is 80% idle.
While searching for the reasons for this I notice that there are around 243 idle appache process:

040 S oracle    1984  1982  0  69   0    -  3495 do_pol  2006 ?        00:00:00 /sdb1fs/app/oracle/product/8.1.7/Apache/Apache/bin/httpd -d /sdb1fs/app/oracle/p


I am a newbee on this subject. Can anyone help here?

Thanks
Alon Peled
Comment
Watch Question

Top Expert 2004
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2005
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I execute this:
 ps -efl | grep httpd|grep " D "

and got 80 process in D state.
How should I address this?
Can I kill them?
Top Expert 2005

Commented:
> Can I kill them?
No, they are immune to signals. They have to finish their current work.
> How should I address this?
Faster disks (raid arrays), better applications, smarter indexes in database, optimized queries(no temporary tables involved)

Author

Commented:
Is there a way to see what are they waiting for?
somthing like "truss" of Solaris?
Top Expert 2005

Commented:
> Is there a way to see what are they waiting for?
Rather tought. The only thing that crosses my mind in this very moment: attach with debugger or strace.
But they surely wait for disk operation.
Check Your disks utilization with
iostat -x 5 # report every 5 seconds

Author

Commented:
It seems the disks are idle:

Device:  rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda        0.00   2.00  0.00  0.60    0.00   20.80    34.67     0.00    0.00   0.00   0.00
sda1       0.00   0.00  0.00  0.00    0.00    0.00     0.00     0.00    0.00   0.00   0.00
sda2       0.00   0.00  0.00  0.00    0.00    0.00     0.00     0.00    0.00   0.00   0.00
sda3       0.00   2.00  0.00  0.60    0.00   20.80    34.67     0.00    0.00   0.00   0.00
Top Expert 2005

Commented:
Well, then maybe nfs?
And maybe it's worth to strace such processes?

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.